Sending an integer from one F28379D board to another F28379D board using SCI
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I'm trying to use Code Composer Studio and Control Suite's example code "sci_loopback_cpu01" to send an integer from on f28379d board's sci_A tx pin to an sci_B rx pin on another board. I'm trying to use Simulink's sci_receive block. All the code is is the spi_receive block and its output sent to a display. I tried to run this in external mode but external mode could not connect to the board. Additionally, I added code where the blue led on the board turns on/off when an integer>0 is transmitted (the CCS code repeats integers it sends in an infinite loop, so the led should blink a few times a second), but the led does not blink, indicating no data is being transferred. I set up the receive board to have GPIO 19 as rx and the transmit board to have GPIO 29 as tx.
Have I set up the hardware correctly to do this? Have I set up the software (at least on the Simulink end) to do this? I attached the simulink code and the CCS code to this post.
Thank you for any help you can provide,
Tyler
1 comentario
Respuestas (1)
Aditya Padmanabha
el 29 de Oct. de 2018
Hi Christos,
Which board are you using? ControlCard or LaunchPad?
For ControlCard External mode uses SCI_A module with GPIO29 as Tx and GPIO28 as RX.
For LaunchPad External mode uses SCI_A module with GPIO42 as Tx and GPIO43 as Rx.
Please check on this and let us know.
Thanks,
Aditya
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!