MATLAB Answers

C2000 F28379d SCIB

4 views (last 30 days)
Hello,
I need to use SCIB port of the F28379d on MATLAB Simulink. I assign some pins for SCIB communication and SCIC communicaiton on the configuration and I have attached related figures. I am trying to send a data over SCI. When I use SCIA, I can send all the things. When I see SCIB or SCIC I can not see any data signal on the related pins.
How can I solve that ?
What I do wrong?
Thanks.

  2 Comments

Venkatesh Chilapur
Venkatesh Chilapur on 13 Jan 2020
Hi,
Few points to verify real quick:
  1. Hope the SCI block(Simulink block) is configured for the respective module like 'B' or 'C'.
  2. Are you using a USB to serial converter to connect?
  3. Also ensure the Host and Target baudrate match.
Regards,
Venkatesh C
Yusuf Selim KARATAS
Yusuf Selim KARATAS on 13 Jan 2020
Hi Venkatesh Cilapur,
Thanks for your time.
  1. Yes SCI block is configured initally to SCIA and it is observed that it works well. Than I configured SCIB and observed with oscillopscopethat there is not any data signal on GPIO 18 and GPIO 19. Than I have used SCIC block and observed GPIO 56 and GPIO 139 and again did not get any data on these ports.
  2. I am using a USB to program evaluation board. I am checking ports with an oscilloscope. Later when I manage to get signal on SCIB or SCIC, I will have a USB serial converter.
  3. I use same baud rate with SCI A-B-C. Only A works.
Thanks. I am looking forward to get a response from you.
Have a nice day.
I have attached also related slx file.

Sign in to comment.

Accepted Answer

Venkatesh Chilapur
Venkatesh Chilapur on 16 Jan 2020
Hi,
I could view the waveform on a DSO. Make sure you hook to the correct pins on the launchpad.
The Tx pin for SCI-B module is J1-4 and I could see the serial waveform on the same.
Regards,
Venkatesh C

  0 Comments

Sign in to comment.

More Answers (2)

Yusuf Selim KARATAS
Yusuf Selim KARATAS on 15 Jan 2020
Is there anyone that can help me on this issue ?

  0 Comments

Sign in to comment.


Yusuf Selim KARATAS
Yusuf Selim KARATAS on 16 Jan 2020
Edited: Yusuf Selim KARATAS on 16 Jan 2020
Hello Venkatesh,
To be clear, you mean that you have tried and used succesfully SCI B on my model, am I right?
Thanks.

  0 Comments

Sign in to comment.


Translated by