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.
Hello,
We are using the CAN bus to dataload software with a custom protocol of ours.
In our new project, we are using the two cores of the CPU.
Our idea was to first dataload the CPU1 and from a specific command sent on the CAN bus switch the CAN peripheral assignment from CPU1 to CPU2.
What I understood is we basically just need to change the CPUSEL configuration.
However, is there any risk of doing that ? In particular, I read it wasn't glitch free so it's maybe not safe to do so ?
Would we need to perform the initialization of the peripheral again ?
Best regards,
Clément
Clement,
I hope you are planning to switch CAN to CPU2 by running code from CPU1. You need to assign CAN pins, CAN module and associated memory to CPU2 and have CPU2 configure CAN module.
We don't have a specific C2000Ware for CAN. But, we can one for FSI. You can use that as reference for CAN.
<C2000Ware>\driverlib\f2838x\examples\c28x_dual\fsi
Regards,
Manoj
Clement,
On this specific query,
Would we need to perform the initialization of the peripheral again ?
Yes, your recommendation is to re-initialize the peripheral again after changing the CPUSEL.
Regards,
Vivek Singh