LAUNCHXL-F28379D: Simulink CAN BUS Transmit

3 ビュー (過去 30 日間)
Kyriakos Sampatakakis
Kyriakos Sampatakakis 2017 年 10 月 23 日
回答済み: Venkatesh Chilapur 2017 年 11 月 9 日
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 Center および File ExchangeSimulink Supported Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by