Tool/software:
Hello, I have the following questions when using Flexray communication on tms570:
1. How to set the appropriate value for gdStaticSlot? Is it calculated based on gPayloadLengthStatic? The unit of gdStaticSlot is mt, so what is the relationship between mt and double bytes?
2.How can a node send different data in cha and chb within a single static slot? When configuring messages, cha is bound to an input buffer, and chb is bound to another inpu buffer, fid is the same, but ch and ibrh are different, is it right?
3. When receiving data:
a, If cha and chb are configured to send different data, how can they receive data from both cha and chb simultaneously? Both cha and chb will use the same nda bit to indicate whether they have received new data, how to know the relationship between obrs or fid?
b, If cha and chb are configured to send redundant data, how can they be compared? Is it the user software that compares the data to improve integrity? Or it will be automatically compared by the chip. If the comparison is different, the data for that cycle will be discarded.
4.When configuring the message, I found that the configuration of syn and sfi only participates in the calculation of header_crc_calc . The message with ibrh=0 is, and syn=1, sfi=1, which indicates that the slot is a sync send frame?
5. Dynamic frame transmission relies on event triggering and priority is determined by fid, is it right? Just make sure that when sending in the same cycle, there are no dynamic frames sent by two or more nodes that are the same fid? When multiple nodes send multiple data in the same cycle, the smaller fid will send first, and the larger fid will send later. If the current cycle is not completely sent, will the next cycle automatically send it?
I need QJ Wang help, thank you.