LAUNCHXL-F28379D: Simulink CAN BUS Transmit

4 次查看(过去 30 天)
Hello,
I've recently purchased a LAUNCHXL-F28379D(VER:1.1) development Kit and tried with Simulink to transmit  CAN  messages. I am using a PCAN (CAN to USB interface), to read the CAN messages from the onboard CAN Transceiver(CANB) with the appropriate termination resistor on the side  of the PCAN. The result is that I can't read anything, and the PCAN indicates BUSHEAVY. It's important to mention that I've  already managed to send CAN messages with this configuration, by modifying the can_external_trasmit example from the ControlSUITE . The Simulink model is attached bellow(link).
NOTES: I've already managed to deploy the model on the board, and watched the LED blinking. Also, using an Arduino I've monitored the CANH-CANL voltages and watched a signal that is definitely not noise. 
Any help will be appreciated  

回答(1 个)

Venkatesh Chilapur
Venkatesh Chilapur 2017-11-9
Hi,
We have default value of external oscillator clock set to 20MHz which is true for control card. When working with launchpad, please change the value to 10MHz. Please set OSCCLK to 10 under Clocking in Hardware Implementation pane.
Regards,
Venkatesh Chilapur

类别

Help CenterFile Exchange 中查找有关 Simulink Supported Hardware 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by