TI F28379D - SERIAL COMMUNICATION WITH SIMULINK NOT WORKING

I have a LaunchpadXL F28379D board and I am trying to get the serial communication working. I started my program based on the Simulink examples: 'f28377S_DCDC_Buck.slx'and the host GUI 'c2000_host_read_12M.slx' . I did change the target board and processor to match my board, but it didn't work. I removed some of the blocks to simply the interface and now I just use the Simulink host interface to switch on/off the LEDs in my board, but it is not working. I checked the COM port configuration and it is ok, as I ran the demo example that came pre-loaded in the board. I am toggling two GPIOs (8/9) every time the SCI RX interrupt happens and checking them with an oscilloscope and they are working however it seems like the SCI RCV block is not working/ processing the data or I am missing some further configuration because the board LEDs are not changing at all. I simplify the Simulink host interface so that only one data line (active load) is sent. Any idea to solve this problem would be appreciated. I am using MATLAB2017b and CCS 8.0 I attached the Simulink files (board programming and host interface)

2 commentaires

This issue is likely explained by one or both of the two points below.
1. Pins GPIO42 and GPIO43 must support SCI_A. For this board, we expect that pins GPIO42 and GPIO43 have been configured for SCI_A communication (TX and RX, respectively). Can you please confirm that this is the case?
2. The oscillator frequency must match the LaunchPad's external oscillator frequency. While the F28379D has an internal crystal that oscillates at 20MHz, the LaunchPad also has an external oscillator that runs at 10MHz. Simulink's default value is 20MHz. This setting is appropriate when working with the F28379D alone. However, this frequency value can cause problems when using external mode on a LaunchPad. Please go to Hardware Implementation -> Device details -> Clocking and change the value of "Oscillator clock (OSCCLK) frequency in MHz" from 20 to 10.
Dear Johannes,
Thank you for your reply. I had set the GPIOs as suggested, the system was transmitting (I saw it in the oscilloscope) but I couldn't get any data properly interpretate, however I followed the second point you advised and it definitively solved the problem.

Connectez-vous pour commenter.

Réponses (1)

Mukul Choudhury
Mukul Choudhury le 8 Mai 2026 à 8:23
Hi,
Reiterating @Johannes Schnabel suggestion/answer here to mark the thread closed.
The oscillator frequency must match the LaunchPad's external oscillator frequency. While the F28379D has an internal crystal that oscillates at 20MHz, the LaunchPad also has an external oscillator that runs at 10MHz. Simulink's default value is 20MHz. This setting is appropriate when working with the F28379D alone. However, this frequency value can cause problems when using external mode on a LaunchPad. Please go to Hardware Implementation -> Device details -> Clocking and change the value of "Oscillator clock (OSCCLK) frequency in MHz" from 20 to 10.
Thanks,
Mukul

Community Treasure Hunt

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

Start Hunting!

Translated by