Trouble with RS-232 mc9s12dt256

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Trouble with RS-232 mc9s12dt256

1,062 次查看
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?

标签 (1)
0 项奖励
回复
1 回复

558 次查看
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 项奖励
回复