HI:
I would like to ask some questions about the Flexray.
I was just beginning to learn to use TMS570 students who have not previously had contact with TI chips,and now
I download on the official community on FlexRay routines, it is that there are five nodes ABCDE routine chip I use is just TMS570LS3137 this film.
I used two nodes, nodeA andnode B , but found two nodes in transmit_check_node_x (FRAY1) inside
Fray_PST-> SIR_UN.SIR_UL = 0xFFFFFFFF; // clear all status int flags.
while ((Fray_PST-> SIR_UN.SIR_UL & 0x4) == 0x0); // wait for CYCS interrupt flag
Fray_PST-> SIR_UN.SIR_UL = 0xFFFFFFFF; // clear all status int flags.
Stuck in while ((Fray_PST-> SIR_UN.SIR_UL & 0x4) == 0x0); here. I look at the discovery SIR ,SIR register val is 0;
I do not know how this is going. I read the information on the FlexRay period of time, but it`s hard to understand, and i dont know
the five node which as a slave and which as the host.
I have some specific questions :
1. Function transmit_check_node_x (FRAY1) is used to do for what .
2. how can I receive and transmit data, such as the host to send information to the slave ,and recive the data from other node . how to set the ID?
3. I find wake-up function does not seem to directly start, so it is ok?
Maybe my problem looks too simple, but I really do not know how to use FlexRay, I hope some one can give me some help in this regard, thanks very much!