MATLAB Answers

C2000 F28379d SCIB

5 ビュー (過去 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

  0 件のコメント

サインインしてコメントする。

その他の回答 (2 件)

Yusuf Selim KARATAS
Yusuf Selim KARATAS 2020 年 1 月 15 日
Is there anyone that can help me on this issue ?

  0 件のコメント

サインインしてコメントする。


Yusuf Selim KARATAS
Yusuf Selim KARATAS 2020 年 1 月 16 日
編集済み: 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.

  0 件のコメント

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by