This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LC4357: Unable to complete Flexray initialization

Part Number: TMS570LC4357

Hello,

I am using the 6837.TMS570LS3137_FlexRay_Example as a starting point to get a simple 2 node Flexray bus up and communicating. The hardware setup is using 2 TMS5704357 Launchpad Evaluation boards and the TJA10180ATS Flexray transceivers.

I am getting to the following function shown below. The code spins waiting for the 0x0F1FFB00  config command to be processed and the command processor

to become available.  This never happens.

Could you please share some insight as to what would be causing the command processor to not process the command.  Is it possibly waiting for some hardware interaction from the transceiver/bus logic?

Thank you,

David

int Fr_ControllerInit(FRAY_ST *Fray_PST)
{
     unsigned int error=0;
  // write SUCC1 configuration
  Fray_PST->SUCC1_UN.SUCC1_UL = 0x0F1FFB00 | CMD_CONFIG; //31 cold start ..., Ch A & B enabled,MTS Tx on both, Sync fram, startup frame
  // Check if POC has accepted last command
  if ((Fray_PST->SUCC1_UN.SUCC1_UL & 0xF) == 0x0) return 1;
  // Wait for PBSY bit to clear - POC not busy
  while ((Fray_PST->SUCC1_UN.SUCC1_UL & 0x00000080) != 0x0);     <---------- Never goes to the not busy state.

  // unlock CONFIG and enter READY state

 .

 .