Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | 68HC12 | can't find port A/B info

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

can't find port A/B info - ctrobot28 - Sep 27 13:57:00 2003


I've got an LCD hooked to a 9S12DP256, via port A for data and the
top 3 bits of port B for control (it's in normal single chip mode).
Naturally, it's not working. I've set the DDR bits for the ports, but
I don't know if there's anything else I should set for port control,
and I can't find any documentation for these ports. In the 9S12DP256
User Guide it just says to refer to the "core" user guide; what does
that mean? (I've got the zip file with the whole set, + HCS12 core
guide, it's not there.) In the PIM guide it says to refer to MEBI in,
again, the core user guide for those ports, again I can't find
anything on MEBI anywhere. Can someone point me to this core guide
with port A/B and MEBI info?





(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )


Re: can't find port A/B info - Peter Lissenburg - Sep 27 20:20:00 2003

Yes the manuals are a mess.
I usually use the last "whole book" .pdf file unless things go strange.
As for the A and B ports there is only a DDR to worry about.
If you have these right then I'd be looking elsewhere for the problem.
PL
At 06:57 PM 27/09/2003 +0000, you wrote:

>I've got an LCD hooked to a 9S12DP256, via port A for data and the
>top 3 bits of port B for control (it's in normal single chip mode).
>Naturally, it's not working. I've set the DDR bits for the ports, but
>I don't know if there's anything else I should set for port control,
>and I can't find any documentation for these ports. In the 9S12DP256
>User Guide it just says to refer to the "core" user guide; what does
>that mean? (I've got the zip file with the whole set, + HCS12 core
>guide, it's not there.) In the PIM guide it says to refer to MEBI in,
>again, the core user guide for those ports, again I can't find
>anything on MEBI anywhere. Can someone point me to this core guide
>with port A/B and MEBI info? >
>
>--------------------------------------------------------
>To unsubscribe from this group, send an email to: >To learn more about Motorola Microcontrollers, please visit
>http://www.motorola.com/mcu




(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: can't find port A/B info - Oliver Thamm - Sep 28 7:41:00 2003

Hi ctrobot28,

you are right - the main document for the DP256B is the "MC9S12DP256B
Device User Guide" which contains a table with "Document References".
There one can find a reference to "HCS12 V1.5 Core User Guide" with a
document name "HCS12COREUG".

I have recently spent an hour or so to find and download this document
from the Motorola Web server - w/o success. Wasting time is the main
issue with the new "modular" document approach, anyway. Is it that much
work to compile a one-file data book for each HCS12 derivative? ...

Anyway, meanwhile I have found a copy if this file somewhere on a
harddisk backup, so if this is what you are looking for as well, I can
send it over off-list.

Happy HCS12ing!
Oliver
On Sat, 27 Sep 2003 18:57:32 -0000
"ctrobot28" <> wrote: > I've got an LCD hooked to a 9S12DP256, via port A for data and the
> top 3 bits of port B for control (it's in normal single chip mode).
> Naturally, it's not working. I've set the DDR bits for the ports, but
> I don't know if there's anything else I should set for port control,
> and I can't find any documentation for these ports. In the 9S12DP256
> User Guide it just says to refer to the "core" user guide; what does
> that mean? (I've got the zip file with the whole set, + HCS12 core
> guide, it's not there.) In the PIM guide it says to refer to MEBI in,
> again, the core user guide for those ports, again I can't find
> anything on MEBI anywhere. Can someone point me to this core guide
> with port A/B and MEBI info? >
>
> --------------------------------------------------------
> To unsubscribe from this group, send an email to: > To learn more about Motorola Microcontrollers, please visit
> http://www.motorola.com/mcu >





(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: can't find port A/B info - Johnny Flores - Sep 28 12:03:00 2003

Is this file too large to post in the "Files" area for this group? I'm using the 'S12 on a Dragon12 board and would like to see it, too.

Thanks!

J
----- Original Message -----
From: Oliver Thamm
To:
Sent: Sunday, September 28, 2003 7:41 AM
Subject: Re: [68HC12] can't find port A/B info Hi ctrobot28,

you are right - the main document for the DP256B is the "MC9S12DP256B
Device User Guide" which contains a table with "Document References".
There one can find a reference to "HCS12 V1.5 Core User Guide" with a
document name "HCS12COREUG".

I have recently spent an hour or so to find and download this document
from the Motorola Web server - w/o success. Wasting time is the main
issue with the new "modular" document approach, anyway. Is it that much
work to compile a one-file data book for each HCS12 derivative? ...

Anyway, meanwhile I have found a copy if this file somewhere on a
harddisk backup, so if this is what you are looking for as well, I can
send it over off-list.

Happy HCS12ing!
Oliver
On Sat, 27 Sep 2003 18:57:32 -0000
"ctrobot28" <> wrote: > I've got an LCD hooked to a 9S12DP256, via port A for data and the
> top 3 bits of port B for control (it's in normal single chip mode).
> Naturally, it's not working. I've set the DDR bits for the ports, but
> I don't know if there's anything else I should set for port control,
> and I can't find any documentation for these ports. In the 9S12DP256
> User Guide it just says to refer to the "core" user guide; what does
> that mean? (I've got the zip file with the whole set, + HCS12 core
> guide, it's not there.) In the PIM guide it says to refer to MEBI in,
> again, the core user guide for those ports, again I can't find
> anything on MEBI anywhere. Can someone point me to this core guide
> with port A/B and MEBI info? >
>
> --------------------------------------------------------
> To unsubscribe from this group, send an email to: > To learn more about Motorola Microcontrollers, please visit
> http://www.motorola.com/mcu >

Yahoo! Groups Sponsor
ADVERTISEMENT

--------------------------------------------------------
To unsubscribe from this group, send an email to: To learn more about Motorola Microcontrollers, please visit
http://www.motorola.com/mcu Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed]


______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: can't find port A/B info - Joel Waika - Sep 29 1:12:00 2003

Hello, ctrobot28

Yes, it's very difficult to find informations about all devices in the 9s12CPU?
I'm learning tha CPu...
So. Informations about port A & B are in the HCS12 V1.5 "Core User Guide", page 207 and following.
Also in MC9s12DP256 Device USer guide, page 25 (Detailed register map).

That means :
PORTA address 0x0000
PORTB address 0x0001
DDRA address 0x0002
DDRB address 0x0003

Be careful : I tried that ports for the same application, but in my evauation board (Axiom CML12SDP256), port A, B, E, K are used for the extended RAM.
For that reason, I put my Lcd on port H, 4 bits interface.
If you need it, I can give you all the routines in C about a LCD Display (2 lines, 40 characters).

Joel

----- Original Message -----
From: ctrobot28
To:
Sent: Saturday, September 27, 2003 8:57 PM
Subject: [68HC12] can't find port A/B info
I've got an LCD hooked to a 9S12DP256, via port A for data and the
top 3 bits of port B for control (it's in normal single chip mode).
Naturally, it's not working. I've set the DDR bits for the ports, but
I don't know if there's anything else I should set for port control,
and I can't find any documentation for these ports. In the 9S12DP256
User Guide it just says to refer to the "core" user guide; what does
that mean? (I've got the zip file with the whole set, + HCS12 core
guide, it's not there.) In the PIM guide it says to refer to MEBI in,
again, the core user guide for those ports, again I can't find
anything on MEBI anywhere. Can someone point me to this core guide
with port A/B and MEBI info?

[Non-text portions of this message have been removed]




(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )