MQX Parity Problem in UART for MCF51xx

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

MQX Parity Problem in UART for MCF51xx

Jump to solution
916 Views
miltongdavid
Contributor II

I tried the follwoing code in the init

 

Original

 

 /* 8-bit mode. Normal operation */
   sci_ptr->SCIC1 = 0;

 

Changed

 /* 8-bit mode. Normal operation */
   sci_ptr->SCIC1 = 0x03;

Then i recompiled and ran the program. But iam getting error

0 Kudos
1 Solution
262 Views
miltongdavid
Contributor II

I forgot to set the data length to 9 bits. Parity bit is added as the 9th bit.

View solution in original post

0 Kudos
1 Reply
263 Views
miltongdavid
Contributor II

I forgot to set the data length to 9 bits. Parity bit is added as the 9th bit.

0 Kudos