Cannot work out why my code will not work!!

Started by gogosgeorge in 68HC1213 years ago 13 replies

Hi guys. I had this problem last week, and cannot for the life of me figure out WHY this LCD screen of mine is not working. I...

Hi guys. I had this problem last week, and cannot for the life of me figure out WHY this LCD screen of mine is not working. I have tried all week, and cannot get anything to display. I have gone through and through my code, and cant find any problems whatsoever. I have a 9


needed programmer for (HCS12X) MC9S12XDT512CAA

Started by mohan kumar in 68HC128 years ago 6 replies

hello,=A0=A0 =A0 =A0 =A0 so far, i was using PBMCUSLK Project board and SLK= S12XDT512. for learning purposes, now i am developing a...

hello,=A0=A0 =A0 =A0 =A0 so far, i was using PBMCUSLK Project board and SLK= S12XDT512. for learning purposes, now i am developing a accelerometer using= mc9s12xdt512caa microcontroller along with lcd display.=A0=A0=A0 =A0 =A0 = =A0for the above i need seperate programmer for loading my codes into the c= ontroller. can you suggest me a low cost programmer available for the same = controller....


Single Board Computer with HCS12

Started by Stanley Kim in 68HC1214 years ago 1 reply

I am looking for a SBC with HCS12 that can drive a LCD with CFL back light. Does any one who manufacture SBC with HCS12? ...

I am looking for a SBC with HCS12 that can drive a LCD with CFL back light. Does any one who manufacture SBC with HCS12? Thanks, Stanley


Emac iPAC

Started by Stanley Kim in 68HC1214 years ago 1 reply

We need to develop a new product that has two line LCD and a few keys with a RS-232 serial port. Like always, we have to develop...

We need to develop a new product that has two line LCD and a few keys with a RS-232 serial port. Like always, we have to develop the product in a very short time. Since I already have the develpment tools and experience with HCS12, I am looking for a SBC(single board computer) wit


OT: graphic displays

Started by Gary Olmstead in 68HC1214 years ago 2 replies

I have an LCD graphic display that I want to use for a project. I know how to move the bits from the processor to the display, but...

I have an LCD graphic display that I want to use for a project. I know how to move the bits from the processor to the display, but I am completely lost about the best way to generate the bits to begin with. For a simple example, let's say that I wanted to display numbers as tall a


Potentiometer dragon12

Started by mkarthik_reddy in 68HC1211 years ago

Hi all, I have a problem when trying to read the analog value from the onboard potentiometer on Dragon 12(mc9s12dp256).I came to know...

Hi all, I have a problem when trying to read the analog value from the onboard potentiometer on Dragon 12(mc9s12dp256).I came to know that the potentiometer is internally connected to pad07 and the result is stored in the adr00h register.I tried to display it on the LCD.It gives a blank space.These are my ATDCTL config words _io_reg[atd0ctl2]=0x80; _io_reg[atd0ctl3]=0x08; _io_reg...


Need to generate s2 file simply!!! NEED HELP QUICK!!

Started by gogosgeorge in 68HC1213 years ago 4 replies

Hi guys, Im doing my engineering project now, and purchased 2 9S12E128 Evaluation boards to use, as well as 2 LCD 16char/2...

Hi guys, Im doing my engineering project now, and purchased 2 9S12E128 Evaluation boards to use, as well as 2 LCD 16char/2 line displays. I used to use a hc11 which was soooo easy to create a s19 file using as11, now its not that easy for me with the hcs12! I got cod


Sending Mem contents to LCD display dramas

Started by gogosgeorge in 68HC1213 years ago 8 replies

Hi Guys, Believe me when I say, I have been at this all night, and im completely stupmed. I can send a character string no...

Hi Guys, Believe me when I say, I have been at this all night, and im completely stupmed. I can send a character string no problems to my LC, but how on earth do you send memory contents? What ive done is created 3 registers, called Hundreds, Tens, Units.


OT: Version Control

Started by Graham Tricker in 68HC1214 years ago 4 replies

Hi I have an off topic question regarding version control with a 68HCS12 project I have been working on. I have a...

Hi I have an off topic question regarding version control with a 68HCS12 project I have been working on. I have a generic HCS12 motherboard which acts as a user interface keypad, LCD display and lots of other generic bits. This interfaces via SPI to one of two H


Absolute assembly

Started by Dave Sivertsen in 68HC1212 years ago 1 reply

I am porting a B32 product to an E128, and migrating to CodeWarrior. The new product has a nice text/graphics display that is a big ...

I am porting a B32 product to an E128, and migrating to CodeWarrior. The new product has a nice text/graphics display that is a big improvement over the cryptic abbreviations I had to cram into a 4x20 LCD. My plan was to use several pages for constant data -strings and graphics. and let my display routines set the appropriate PPAGE value. Most of the cod


spi oddities

Started by Ed Taylor in 68HC1214 years ago 2 replies

hi: i'm converting some tried and true hc11 code on a b32. already been through d7 issue as discussed earlier. i have a slow LCD...

hi: i'm converting some tried and true hc11 code on a b32. already been through d7 issue as discussed earlier. i have a slow LCD spi peripheral (64kbit speed) that can only be written every 500ms. moving the code over to the hc12b32 i am experiencing intermittent write failures. is there someth


Are any of you currently using the MC9S12H128 or MC9S12H256 micros?

Started by Bump, Jerome in 68HC1214 years ago 1 reply

Are any of you currently using the MC9S12H128 or MC9S12H256 micros? The 9S12H includes an LCD driver. This provides enough...

Are any of you currently using the MC9S12H128 or MC9S12H256 micros? The 9S12H includes an LCD driver. This provides enough advantages for me to redesign my 68HC812A4 product to reduce my overall part count & PCB size. I am interested in your personal experiences (opinions) with


Revisiting Flash Storage on C32

Started by hc08jb8 in 68HC1213 years ago

Hello All Few months back I was looking into keeping some static info like "device id" on the flash area of 9S12C32, this...

Hello All Few months back I was looking into keeping some static info like "device id" on the flash area of 9S12C32, this info could be changed during runtime by the user via a keypad/lcd. I gave up on that due to other pressing needs. I did lo


ATD Problems

Started by plazzo234 in 68HC1214 years ago 1 reply

I am having some trouble with the ATD unit on the EVB912B32 board running at 5 volts. The micro will not respond if there is a ...

I am having some trouble with the ATD unit on the EVB912B32 board running at 5 volts. The micro will not respond if there is a voltage greater than 3.4 volts connected to the ATD input. I have a simple test program that displays the A/D reading on an LCD (0- 255). When i start thi


Trouble in Programming HCs12 Flash EEPROM

Started by retsel_potsie in 68HC1214 years ago 1 reply

hello there, i am using the AxIDE software and a CML12S-DP256 board. i am trying to program my code to the internal memory so it...

hello there, i am using the AxIDE software and a CML12S-DP256 board. i am trying to program my code to the internal memory so it will execute automaically when you power up. i downloaded the auto program code at www.axman.com for using LCD and Keypad. i tried to folow the instruc


Optrex graphical displays

Started by macd...@... in 68HC1213 years ago 1 reply

I am trying to use one of the Optrex F-51852 128x64 graphical LCD's and I cannot get it to display anything. The display supports SPI and...

I am trying to use one of the Optrex F-51852 128x64 graphical LCD's and I cannot get it to display anything. The display supports SPI and this is what I am using to connect to the display. The problem with the SPI interface to this display is that it does not have an SO line. I have to send it the commands and hope they got through. Has anyone on this list


A/D and voltage

Started by hc12newbie in 68HC1212 years ago 5 replies

Hello, I have been far from HC12 programming and need to get back to it asap. Can you guys give me some ideas on how I would be able to read...

Hello, I have been far from HC12 programming and need to get back to it asap. Can you guys give me some ideas on how I would be able to read a voltage (battery) from A/D ports? What I need to do is connecting a battery which has a voltage less than 4v to a/d inputs let's say PAD01 ... PAD07 and show the voltage on LCD in digits. Can you please give me hint on this? Thanks,


Re: D64 COP: the saga continues

Started by Petrescu in 68HC1210 years ago

Hi Wade, Can you tell us how did you configured your hardware reset circuit for the microprocessor? Regards, Ioan WadeA & RebeccaM Smith...

Hi Wade, Can you tell us how did you configured your hardware reset circuit for the microprocessor? Regards, Ioan WadeA & RebeccaM Smith wrote: > > It looks like I NEED a REAL hardware reset for the COP to go to. > > I added a standard 2x16 LCD. In the init code it checks the "busy > flag" (read Status is 0x80) and waits there until it goes away. > Everything works wonderfully UNTIL y


Dragon 12 potentiometer

Started by mkarthik_reddy in 68HC1211 years ago

Hi all, I have a problem when trying to read the analog value from the onboard potentiometer on Dragon 12(mc9s12dp256).I came to know that the...

Hi all, I have a problem when trying to read the analog value from the onboard potentiometer on Dragon 12(mc9s12dp256).I came to know that the potentiometer is internally connected to pad07 and the result is stored in the adr00h register.I tried to display it on the LCD.It gives a blank space.These are my ATDCTL config words _io_reg[atd0ctl2]=0x80; _io_reg[atd0ctl3]=0x08; _io_reg[atd0ctl...


Potentiometer dragon 12?

Started by mkarthik_reddy in 68HC1211 years ago

Hi all, I have a problem when trying to read the analog value from the onboard potentiometer on Dragon 12(mc9s12dp256) .I came to know that the...

Hi all, I have a problem when trying to read the analog value from the onboard potentiometer on Dragon 12(mc9s12dp256) .I came to know that the potentiometer is internally connected to pad07 and the result is stored in the adr00h register.I tried to display it on the LCD.It gives a blank space.These are my ATDCTL config words _io_reg[atd0ctl2] =0x80; _io_reg[atd0ctl3] =0x08; _io_reg[atd0...