LAUNCHXL-F28379D: Simulink CAN BUS Transmit
3 ビュー (過去 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
0 件のコメント
回答 (1 件)
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
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Simulink Supported Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!