AnsweredAssumed Answered

FlexRay WakeUp status : COLLISION_UNKNOWN

Question asked by Deepak Omanna on Jul 29, 2020
Latest reply on Aug 1, 2020 by Deepak Omanna

Hi,

I am using DEVKIT MPC5748G Board for FlexRay driver development.

When Communication controller (CC) is in READY state then I am sending Wakeup command but wakeup status is always is COLLISION_UNKNOWN. Also I have not seen output signals on the BP and BM pins of Transceiver (TJA1081B). I am using only one development board and checking wakeup patterns on the oscilloscope. So there is no reception of wake up from other node.

 

I referred Table 9 in the data sheet of TJA1081B (Table 9 refer IMAGE 3 in attachment) and there it is mentioned TXEN will be enabled when signal on the BGE = HIGH, TXEN = LOW, TXD = HIGH. But here signal on the TXEN always remains high.

 

I observed HIGH signal across registers R61, R62, R63 mounted on the development board. These are ports pins used for FR_A_TX, FR_A_TX_EN, FR_A_RX (Refer attached IMAGE 1)

 

Need your inputs to come out from this COLLISION_UNKNOWN state. 

 

Below is the port pin configuration.

 

Wake Up channel : Channel is A

 

Below is the port configuration for FlexRay Tx and Rx,

 

/* PC[5]: Pin functionality as FR_A_TX */
SIUL2.MSCR[37].B.SSS = 4; 
/* Output Buffer Enable on */
SIUL2.MSCR[37].B.OBE = 1;
/* Maximum slew rate */
SIUL2.MSCR[37].B.SRC = 3;
/* Input Buffer Enable off */
SIUL2.MSCR[37].B.IBE = 0;
/* Initialize low */
SIUL2.GPDO[37].B.PDO_4n = 0;
SIUL2.GPDO[37].R = 0; 

/* PE[2]: Pin functionality as FR_A_TX_EN */
SIUL2.MSCR[66].B.SSS = 2; 
/* Output Buffer Enable on */
SIUL2.MSCR[66].B.OBE = 1; 
/* Maximum slew rate */
SIUL2.MSCR[66].B.SRC = 3;
/* Input Buffer Enable off */
SIUL2.MSCR[66].B.IBE = 0;
/* Initialize low */
SIUL2.GPDO[66].B.PDO_4n = 0;
SIUL2.GPDO[66].R = 0;

/* PE[3]: Pin functionality as FR_A_RX */
SIUL2.MSCR[224].B.SSS = 1; 
/* Output Buffer Enable on */
SIUL2.MSCR[224].B.OBE = 0; 
/* Input Buffer Enable off */
SIUL2.MSCR[224].B.IBE = 1;
/* Maximum slew rate */
SIUL2.MSCR[224].B.SRC = 3;
/* Initialize low */
SIUL2.GPDO[224].B.PDO_4n = 0;
SIUL2.GPDO[224].R = 0;

Attachments

Outcomes