UART of MPC5604B

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

UART of MPC5604B

Jump to solution
1,986 Views
MicroTang
Contributor III

Dear All,

 

I want to use UART on LINFlex0 of MPC5604B. Per reference manual, LINFlex needs to be configurated in Initialization mode. I set LINCR1 to 0x00000001, but LINS field in LINSR is not 0001 (Initialization mode).

 

Could you please tell me how to set LINFlex0 into Initialization mode? Thanks in advance for your kindly help!

 

Regards

Michael Tang

0 Kudos
1 Solution
611 Views
MicroTang
Contributor III

Hi, All,

 

The problem was caused by incorrect setting of peripheral set clock. The DE0 should be set because baud rate related to Fperiph_set_1_clk.

 

Best Regards

Michael

View solution in original post

0 Kudos
3 Replies
612 Views
MicroTang
Contributor III

Hi, All,

 

The problem was caused by incorrect setting of peripheral set clock. The DE0 should be set because baud rate related to Fperiph_set_1_clk.

 

Best Regards

Michael

0 Kudos
611 Views
shri
Contributor II

HI,

Could you please post the code..

It would be very helpful for me.

 

Thank you

0 Kudos
611 Views
paco_saenz
Contributor I

So glad you finally got to make the module to work. I am having a lot of problems to get this module to work, so ¿could you upload your code for the UART configuration? The problem is that I just can make it work and I had tried what you said worked on you.

 

Thanks in advance!

0 Kudos