Trouble with RS-232 mc9s12dt256

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Trouble with RS-232 mc9s12dt256

891 Views
coolcatt
Contributor I

Hey guys,  noob here.  I've been working with the mc9s12c32, and whenever i talked over RS232 i would just check the TDRE bit to indicate the transfer buffer is empty, and when it was, i would place a character in the SCIDRL register to transmit it to the screen.  Now that i have switched over to a mc9s12dt256, this code does not work (i have updated it to use sci0 registers), i set everything else the same but can't get anything to come out of hypterterminal on Windows XP

 

Any Suggestions/ideas?

Labels (1)
0 Kudos
1 Reply

387 Views
Lundin
Senior Contributor IV
Maybe you are using an old eval board for DT256? In that case there is likely an old silicon mask present. DT256 was the first S12 released, and the earlier masks have loads of silicon bugs in them. One such bug is that SCI doesn't work well with certain interrupts enabled. Check if the silicon is labelled anything like MC9S12DT256BCPV, with the B after 256. That means you have a buggy silicon mask on the board.
0 Kudos