Hello,
I've been coding for the FR controller for some time now and I've hit a snag that doesn't necessarily have to have a cause in setting the controller itself. I've set up my controller and checked all the parameters multiple times and still there is absolutely no signal coming out of the physical layer (checked with FR-ready DPO).
When I issue the startup command the POC of my coldstart node gets stuck in COLDSTART_LISTEN phase, which I find odd sice this state should be left after the respective timers expire. My coldstart node isn't yet connected to a network, but that shouldn't matter since it at least ought try and transmit the CAS followed by the startup frames (resulting into activity in the physical layer).
So, the problem might be with enabling the function of the controller as a whole. I've been using HalCoGen to generate all the MCU startup code, so I don't know much about the TMS570 itself. I've connected the controller to the 80MHz and HalCoGen seems to enable and power-up all peripherals, so now I wonder are there any others steps I need to do? Pinmuxing (probably not, since FR pins aren't muxed)? Perihperal enable? Pin enable? etc...there could be something I haven't set. And since HalCoGen doesn't support FR, in which HalCoGen-generated files would I set what I need to set? Or do you think the problem is in the settings of the controller?
I'd be grateful for any advice.
Best regards,
MZ
We are reviewing this with our FlexRay expert. In the meantime, you may find an FlexRay example at this link: Media:FlexRay_Communication_CCSv4.zip
Hopefully this will help.
Regards,
Diwakar
Thank you for taking the time.
(I've studied the example already.) Just to clarify, I'm starting the node with coldstart inhibit flag reset as it should be for a coldstart node.
So it turns out that the lack of the physical layer was indeed the problem. It's working now.
Martin,
glad to hear that the problem is resolved.
Abhishek
If a post answers your question, please mark it with the "verify answer" button.