I'm a beginner of Model Based Design and I need of help. I realize the CAN communication with Arduino and NXP. The NXP board is the master and Arduino Uno is the slave. When a CAN msg arrives, I want to start the conversion of ADC (I use another NXP board for the conversion of ADC) in order to obtain the physical values of CAN-High and CAN-Low. I select software trigger of ADC. The ADC performs the conversion and thanks to Freemaster I'm able to see the voltage values of two cables. But I want to syncrhonize the conversion of the ADC with the Start Bit of each CAN Message in order to read the physical values of each msgID. I want to know how is possible to syncrhonize the conversion of the ADC with the Start Bit in order to store the voltage measurements of each CAN msg. Now, for my setup, the ADC performs the conversion but I don't know when the CAN frame starts and ends.
Thanks for your help.
I'm hoping for advice.