Sign in

username:

password:



Not a member?

Search m68hc11



Search tips

Subscribe to m68hc11



m68hc11 by Keywords

27c256 | 4K81H | 68HC11A1 | 68HC11P1 | 68hc24 | 68HC711E9 | 68HC811 | 8255 | A2D | ADC | ADC12138 | Am85C30 | BRCLR | Buffalo | CMOS | EEPROM | EPROM | Ethernet | EVB | EVBU | HC11E1 | HC11E9 | HC711E9 | Horray | ImageCraft | IRQ | Keypad | LCD | MC68HC11D0FN | MC68HC11E1CFU3 | MC68HC11F1 | MC68HC711E9 | MC68HC711E9CFN2 | Microcore11 | Microstamp11 | Minikit | NVRAM | PSD | PSD8xx | PSD9xx | PT1000 | RS232 | RTS | RXD | SPI | SRAM | TXD | Watchdogs | XIRQ

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | | MicroStamp11 Init Problems?!?


Advertise Here

MicroStamp11 Init Problems?!? - purplehazedjimi - Aug 23 8:30:42 2006

Hey All,

The problem I am having with my 6811 involves some form of
initialization, I think. The problem, specifically, is this: when I
remove the microcontroller from the dev board (which also removes
power) my Port A (PA4-PA6) lines stop working. When power is reapplied,
I can verify the code is still running, i.e. all other lines continue
to function properly, but the port A lines mentioned above aren't. If
anyone has any ideas on what the problem might be, I am all eyes.

Thanks,
PurpleHazedJimi

P.S. The microcontorller is from www.technologicalarts.com if that helps



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


Re: MicroStamp11 Init Problems?!? - BobG...@aol.com - Aug 23 8:43:35 2006

all other lines continue
to function properly, but the port A lines mentioned above aren't
==========================================
And of course, you ARE initializing the data direction register for port a
as part of the initialization? Which hc11? E0? E9? D0?
[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 m68hc11 -- send a blank email to m68hc11-subscribe@yahoogroups.com )

RE: MicroStamp11 Init Problems?!? - grant hornback - Aug 23 9:33:49 2006

Hey Bob,

Thanks for replying! The hc11 is a DO variety, and I do believe I am initializing the data direction register, however, I am not sure that I am initializing it properly. If you don't mind me asking, do I want to initialize them by storing a binary %00111010 into the ddrd (location $0009)? I want PA4-PA6 to be outputs. Thanks for your time!

-Grant
To: m...@yahoogroups.comFrom: B...@aol.comDate: Wed, 23 Aug 2006 08:41:00 -0400Subject: Re: [m68HC11] MicroStamp11 Init Problems?!?

all other lines continue to function properly, but the port A lines mentioned above aren't==========================================And of course, you ARE initializing the data direction register for port a as part of the initialization? Which hc11? E0? E9? D0?[Non-text portions of this message have been removed]
_________________________________________________________________
Express yourself with gadgets on Windows Live Spaces
http://discoverspaces.live.com?source=hmtag1&loc=us

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



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

Re: MicroStamp11 Init Problems?!? - BobG...@aol.com - Aug 23 13:31:12 2006

DDRD is at $0009, but we were talking about porta... is only has 2 ddra bits, and they are located in PACTL at $0026 (DDRA7 and DDRA3). I got this out of my pink D3 book... hope its right...

-----Original Message-----
From: g...@hotmail.com
To: m...@yahoogroups.com
Sent: Wed, 23 Aug 2006 9:19 AM
Subject: RE: [m68HC11] MicroStamp11 Init Problems?!?
Hey Bob,

Thanks for replying! The hc11 is a DO variety, and I do believe I am
initializing the data direction register, however, I am not sure that I am
initializing it properly. If you don't mind me asking, do I want to initialize
them by storing a binary %00111010 into the ddrd (location $0009)? I want
PA4-PA6 to be outputs. Thanks for your time!

-Grant
To: m...@yahoogroups.comFrom: B...@aol.comDate: Wed, 23 Aug 2006
08:41:00 -0400Subject: Re: [m68HC11] MicroStamp11 Init Problems?!?

all other lines continue to function properly, but the port A lines mentioned
above aren't==========================================And of course, you ARE
initializing the data direction register for port a as part of the
initialization? Which hc11? E0? E9? D0?[Non-text portions of this message have
been removed]
_________________________________________________________________
Express yourself with gadgets on Windows Live Spaces
http://discoverspaces.live.com?source=hmtag1&loc=us

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



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

RE: MicroStamp11 Init Problems?!? - Anders Friberg - Aug 23 16:57:35 2006

> If you don't mind me asking, do I want to initialize them by
> storing a binary %00111010 into the ddrd (location $0009)? I
> want PA4-PA6 to be outputs. Thanks for your time!
>

I don't know which pins you actually can configure in the D0 but if you want
PA4-PA6 to be outputs shouldn't you use binary %x111xxxx (not xx111xxx)?
Rightmost bit is for PA0 etc.

Regards,
Anders

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


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

RE: MicroStamp11 Init Problems?!? - grant hornback - Aug 23 21:49:47 2006

As per the HC11 reference manual there is no DDRA3 pin in the pactl register. There is only a DDRA7 field in the pactl register which, if I am not mistaken, is used for the controlling of the data direction of the PA7 line only none of the other PA pins. I am only using the PA4-PA6 lines for digital output to control a LED display. These 3 lines are output by default or used as control bus lines when in expanded mode. If I remember correctly, my problem is not isolated to the port A only. I am also using the SPI interface to control the LED display. I am using the PD5/SS pin for "chip enable" control of the display. I am pretty sure that this line stops working when power is taken away and reapplied also. The other two lines(PD3/MOSI and PD4/SCK) used for the actual SPI communication contiinue to work under all conditions. Maybe this will help understand the problem better? Any other suggestions?
To: m...@yahoogroups.comFrom: B...@aol.comDate: Wed, 23 Aug 2006 13:24:15 -0400Subject: Re: [m68HC11] MicroStamp11 Init Problems?!?

DDRD is at $0009, but we were talking about porta... is only has 2 ddra bits, and they are located in PACTL at $0026 (DDRA7 and DDRA3). I got this out of my pink D3 book... hope its right... -----Original Message-----From: g...@hotmail.comTo: m...@yahoogroups.comSent: Wed, 23 Aug 2006 9:19 AMSubject: RE: [m68HC11] MicroStamp11 Init Problems?!?Hey Bob,Thanks for replying! The hc11 is a DO variety, and I do believe I am initializing the data direction register, however, I am not sure that I am initializing it properly. If you don't mind me asking, do I want to initialize them by storing a binary %00111010 into the ddrd (location $0009)? I want PA4-PA6 to be outputs. Thanks for your time!-GrantTo: m...@yahoogroups.comFrom: B...@aol.comDate: Wed, 23 Aug 2006 08:41:00 -0400Subject: Re: [m68HC11] MicroStamp11 Init Problems?!?all other lines continue to function properly, but the port A lines mentioned above aren't==========================================And of course, you ARE initializing the data direction register for port a as part of the initialization? Which hc11? E0? E9? D0?[Non-text portions of this message have been removed] __________________________________________________________Express yourself with gadgets on Windows Live Spaceshttp://discoverspaces.live.com?source=hmtag1&loc=us[Non-text portions of this message have been removed]



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

Re: MicroStamp11 Init Problems?!? - BobG...@aol.com - Aug 23 22:30:19 2006

Are you trying to drive the tech arts dkki lcd board, which uses the spi to
send 8 bits into a serial to parallel shift register (pin saving trick)?
[Non-text portions of this message have been removed]



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

RE: MicroStamp11 Init Problems?!? - grant hornback - Aug 23 22:43:24 2006

No this is an Agilent LED matrix display purchased through digi-key.
To: m...@yahoogroups.comFrom: B...@aol.comDate: Wed, 23 Aug 2006 22:28:21 -0400Subject: Re: [m68HC11] MicroStamp11 Init Problems?!?

Are you trying to drive the tech arts dkki lcd board, which uses the spi to send 8 bits into a serial to parallel shift register (pin saving trick)?[Non-text portions of this message have been removed]
_________________________________________________________________
Check the weather nationwide with MSN Search: Try it now!
http://search.msn.com/results.aspx?q=weather&FORM=WLMTAG

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



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

Re: MicroStamp11 Init Problems?!? - BobG...@aol.com - Aug 23 23:02:32 2006

this is an Agilent LED matrix display purchased through digi-key.
===================================================
I use the turbo microstamps a lot, with the icc11 compiler. I have several
at work. Send me your program and I'll see of it looks like its outputting to
the spi, etc

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



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