Other Parts Discussed in Thread: CCSTUDIO, HALCOGEN, TCAN337,
I have a problem on the CAN of my TI HERCULE (RM42L432PZ).
I added a CAN Transceiver (TCAN337), I followed tuto on Halcogen and CCStudio to generate CAN's librairies and driver for my TI HERCULE.
But when I send data with the function canTransmit(), nothing happens, no signal on OUTPUT of CAN1. I don't have any errors in my programs, and my function return a succes. Moreover I have test TCAN37 with my Arduino and I don't have any problems.
I don't know where the problems come froms.
Matheo S.

void Send(uint8_t *tab_TX){
while(1){ /*Infinite loop*/
canTransmit(canREG1, canMESSAGE_BOX1, *tab_TX); /* Transfer data on CAN's port*/
sciSend(scilinREG, 15, (unsigned char *)"SEND CAN TRAM\n\r"); /*Send on Serial's console information*/
delay_second(5);
}}
void main(void)
{ _enable_IRQ();
canInit();
sciInit();
uint8_t data[8]={'D','A','T','A','S','E','N','D'};
Send(data);
}











