AnsweredAssumed Answered

MPC5607B UART Baudrate Issue

Question asked by Rehan Khan on Jun 17, 2016
Latest reply on Jun 20, 2016 by Rehan Khan

Hi,

 

We are using MPC5607B  for our development. We are trying to use the LINFlex in UART  mode. Following are the settings in our code.

 

void LOP_CH1_LIN3_Init(void)

{

  LINFLEX_3.LINCR1.B.INIT = 1;

  LINFLEX_3.LINCR1.B.SLEEP = 0;

 

  LINFLEX_3.LINIBRR.R = 0x00000005;       //baud rate 781250b/s (fsys 64MHz)

  LINFLEX_3.LINFBRR.R = 0x00000002;

 

  LINFLEX_3.UARTCR.B.UART = 1;

  LINFLEX_3.UARTCR.R  = 0x00002423;   

  LINFLEX_3.LINIER.B.DRIE = 1;                   //Receive interrupt enable

  LINFLEX_3.LINCR1.B.INIT = 0;                   //disable init mode

  SIU.PCR[8].R = 0x0100;

  SIU.PSMI[31].R = 0;

}

 

We are sending data at 781250 baudrate. At this baudarte UART module doesn't get interrupt. The max baudrate at which UART can enter into ISR is 115200. How can we increase the maximum UART baud rate capacity of the controller.

Is 115200 the maximum baudarte that can be handled by MPC5607B controller.

Outcomes