I have some problems with my freescale controller.
When I debug the SCI program, the value of the SCI1DRL register is always 0；for example，after runing "SCI1DRL = 0x55;" the value of SCI1DRL is 0x00,and the value of SCI1SR1_TDRE is always 1，using the serial port debugging assistant, the value of I get is 0x85.
When I run "SCI1DRL = 0xaa;/*SCI1DRL = other data;*/" ,the value of I get is wrong.
I want to know how to solve the problem.
Original Attachment has been moved to: main.c.zip