I got some ftu example code file,but it seems that some files are missing and cannot be compiled,such as the main.c,fray.c,led_demo.c,fray_ram.h,can you post the complete CCS project with a compressed file?Thanks.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I got some ftu example code file,but it seems that some files are missing and cannot be compiled,such as the main.c,fray.c,led_demo.c,fray_ram.h,can you post the complete CCS project with a compressed file?Thanks.
Yes, my demo project is for 4 nodes. You need to change the node number defined in fray_node_config.h, then compile the project, and program the out file to the flash of the corresponding node.
If FrayNodeNumber is 0, the node 1/2/3 configuration will be skipped.
Can I call the function transmit_check_node to check the received data in FTU_Test?And in function frayHighLevelInterrupt,why 0x8014 == (e_value & 0x8014) but not 0x8014 == (s_value & 0x8014) ?Thank you.
void frayHighLevelInterrupt(void)
{
unsigned int e_value;
unsigned int s_value;
e_value = frayREG1->EIR_UN.EIR_UL;
s_value = frayREG1->SIR_UN.SIR_UL;
frayREG1->EIR_UN.EIR_UL = e_value;
frayREG1->SIR_UN.SIR_UL = s_value;
if ( 0 != e_value )
{
frayErrorNotification(frayREG1, e_value);
}
//0x8014: SDS(15th bit), RXI (4th), CYCS (2th bit)
if ( 0x8014 == (e_value & 0x8014))
{
frayStatusChangeNotification(frayREG1, s_value);
}
}
You opened several threads for this flexray question. I will close this one.