We are having some problems with getting FlexRay working on the TMS570LS20216PGE. We have built our own board using it, and the FlexRay connections, including the same transceiver chip, are derived from the MDK board (which uses the ZWT package). Both boards, ours and the MDK, use a 16MHz external oscillator. We have successfully implemented FlexRay communication between 2 MDK boards and a PC with a FlexRay PCI card; however, when using the same code to program our custom board (with appropriate target config file for the PGE package, and corrected FlexRay message config for its assigned message ID etc.) it is unable to join the FlexRay bus. We have noted the difference in maximum operating frequency and modified the pll setting registers to have 140MHz for the system and FlexRay plls, but is there any other differences between the two packages that will influence the FlexRay operation? Either in hardware set up or software configuration?
The behaviour we are seeing is the PGE package transmits wakeup symbols whether the bus is running (between the other nodes) or not, allowing it to sometimes disrupt the bus by transmitting over other messages (dependent on the timing of when we release it from reset). The network consists of 4 nodes: 2 MDK boards, the FlexCard, and the PGE board. We can start the network successfully with any 2 of the non-PGE nodes and the 3rd non-PGE node successfully joins the running bus. However, the PGE node fails to partake in startup, or in joining a running bus.
As far as we can see the FlexRay transceiver (TJA1080A from NXP) is operating correctly: relaying received messages to the RX pin on the TMS570LS20216PGE correctly, and allowing the wakeup symbols to be transmitted. However, we do notice that on the MDK board the LED on the error pin (ERRN) continuously asserts an error (i.e., is on) from power on onwards (even though the FlexRay on the MDK boards is functioning correctly), while this is not the case on our PGE board.
We also observe that other modules appear to be functioning correctly (RTI, and SPI).
Any suggestions as to what we are missing, and/or how to debug the FlexRay would be greatly appreciated.