I am trying to make 9-bit to 8-bit translator from a device using 9-bit serial protocol to PC.
I can set up the UART 0 Port as 9-bit and can send out using the method sendblock method of the UART component from PE.
But when I set up receiving part i ended up at PE_ISR debut halt.
Can anyone have very basic 9-bit data receiving example?
Yonggon
已解决! 转到解答。
Hi Yonggon
Attached you will find an example using CodeWarrior 10.6 + Processor Expert. It is configured to recieve a block of 5 9-bit transactions and store them in au8RcvData after completion. It is using UART0 on PTA1 and PTA2 with a baudrate of 115200.
Hope it helps :smileyhappy:
Saludos
Hi Yonggon
Attached you will find an example using CodeWarrior 10.6 + Processor Expert. It is configured to recieve a block of 5 9-bit transactions and store them in au8RcvData after completion. It is using UART0 on PTA1 and PTA2 with a baudrate of 115200.
Hope it helps :smileyhappy:
Saludos