LAUNCHXL-F28379D: Simulink CAN BUS Transmit
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Venkatesh Chilapur
le 9 Nov 2017
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 commentaires
Voir également
Catégories
En savoir plus sur Simulink Supported Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!