C2000 F28379d SCIB

4 次查看(过去 30 天)
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 个评论
Venkatesh Chilapur
Venkatesh Chilapur 2020-1-13
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 2020-1-13
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.

请先登录,再进行评论。

采纳的回答

Venkatesh Chilapur
Venkatesh Chilapur 2020-1-16
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

更多回答(2 个)

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

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

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by