I'm developing ESCI serial driver for MPC5777c.
This driver is not transmitting decimal value 0 , When it is configured in 9 payload frame format ( 9 character bits and one stop bit).
always setting TN =1, before loading data into the Data register(SDR).
There is no issue if I transmit same character in 8 paylaod format (8 character bit and one stop bit)
Please help me
Hi Lukas,
Thanks for your reply.
It is working for me also. The problem is receiver. The receiver which I connected for my testing has some problem receiving this particular character at this mode.
Thanks
Dinakaran
Hi Dinakaran,
I can't see problem on my side.
I configured the eSCI in this way:
And then I simply wrote 0x0 to data register, so payload bits are written as 0 and TN (bit 8) is also 0.
I can measure pulse 0.52ms on oscilloscope. I'm configured baud rate 19200, so 1 start bit + 9 data bits gives:
10*52us = 520us.
Everything is correct from my point of view.
Regards,
Lukas