Part Number: TCAN4550
Hello all,
I am trying to configure the interrupts for my TCAN device. Currently, my program only performs the configuration for the TCAN (the Init_TCAN function provided in the demo code). I am realizing that after running the code, after some time, the CANTO interrupt is set and the blue LED on the TCAN BOOST module is lit. I want to try and configure it so that the CANTO interrupt is ignored. I am using the following code to accomplish this.
TCAN4x5x_Device_Interrupt_Enable dev_ie = {0}; // Initialize to 0 to all bits are set to 0.
dev_ie.CANTOEN = 1;
CHECK_AND_HANDLE_ERROR(TCAN4x5x_Device_ConfigureInterruptEnable(&hspi2, &dev_ie)); // Disable all non-MCAN related interrupts for simplicity
Is this the correct way to configure the interrupt register? Even though its simple, I want to make sure I am understanding correctly so that we don't run into issues later in development.
Thank you