MQX Parity Problem in UART for MCF51xx

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MQX Parity Problem in UART for MCF51xx

ソリューションへジャンプ
1,445件の閲覧回数
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 件の賞賛
返信
1 解決策
791件の閲覧回数
miltongdavid
Contributor II

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

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
792件の閲覧回数
miltongdavid
Contributor II

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

0 件の賞賛
返信