Hai,
I am very happy you replied me it is great of you.Thanks for your reply here I have a doubt I am sending the file attached to the mail.In this Fr_UNIFIED_cfg.c file what is creating problem is I understood all the parameters every thing but what my doubt is i want to send data from node 1 in slot 1 and in slot 2 so i kept transmit id as 1 for slot 1 and transmit id as 2 for slot 2 but at the same time in slot 1 i am receiveing data from node 2 so how should i configure my recieve frame id should i keep it also as recieev id 1 for slot 1 and so on how this is made sure in this configuration file i am not understanding .can you please explain in detail.I am not getting how the recive frame ID are handled for respective slots hope u got my question,because for same slot we have transmission and reception and how its made sure that transmission and reception are handled for same slot between two nodes through this configuration files.please explain the following i am not understanding what the following is doing in the file
/ Following array is used to determine which message buffers defined in Fr_buffer_cfg_xx structure
// will be used for the FlexRay CC configuration
const Fr_index_selector_type Fr_buffer_cfg_set_00[] =
{
0, 2, 4, 6,FR_LAST_MB
};
// Array of structures with message buffer configuration information
// The MBs 2, 4, 5, 6 and 7 will not be configured
const Fr_buffer_info_type Fr_buffer_cfg_00[] =
{ /* Buffer type Configuration structure ptr MB index xx = configuration index used by Fr_buffer_cfg_set_xx */
{FR_TRANSMIT_BUFFER, &Fr_tx_buffer_slot_01_cfg, 0}, // 00
{FR_RECEIVE_BUFFER, &Fr_rx_buffer_slot_03_cfg, 2}, // 01
{FR_RECEIVE_BUFFER, &Fr_rx_buffer_slot_04_cfg, 3}, // 02
{FR_TRANSMIT_BUFFER, &Fr_tx_buffer_slot_02_cfg, 0}, // 03
{FR_RECEIVE_FIFO, &Fr_FIFOA_cfg, 19}, // 04
{FR_RECEIVE_SHADOW, &Fr_rx_shadow_cfg, 0}, // 05
{FR_RECEIVE_BUFFER, &Fr_rx_buffer_slot_02_cfg, 2}, // 06
{FR_TRANSMIT_BUFFER, &Fr_tx_buffer_slot_08_cfg, 5}, // 07
{FR_TRANSMIT_BUFFER, &Fr_tx_buffer_slot_09_cfg, 6}, // 08
{FR_TRANSMIT_BUFFER, &Fr_tx_buffer_slot_10_cfg, 7}, // 09
}
can you also please explain how this message buffer index and this &Fr_tx_buffer_slot_01_cfg are matched can you please explain my doubts i am awfully struck here and unable to go forward and neeed your help to go forward can you please elaborate on this.or can you please suggest any way so that i can get help on this or please suggest me solution so that my doubts get clarified on this file.waiting for your help.and aslo are the moemory adressses mentioned in this are correctly followed so we should start seeing memory from the mentioned base adress in flexray memory ie at 140800 is this correct and from there we shoudl start calculating message buffers address evry thing right.
please suggest me this is realted to flexray unified driver from freescale .
waiting for your help.
Thanks in advance for your help.
Thanking you,
Bye,
sunil.