LAUNCHXL-F28379D: Simulink CAN BUS Transmit
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Kyriakos Sampatakakis
el 23 de Oct. de 2017
Respondida: Venkatesh Chilapur
el 9 de Nov. de 2017
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 comentarios
Respuestas (1)
Venkatesh Chilapur
el 9 de Nov. de 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 comentarios
Ver también
Categorías
Más información sobre Simulink Supported Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!