C2000 F28379d SCIB

조회 수: 15 (최근 30일)
Yusuf Selim KARATAS
Yusuf Selim KARATAS 2020년 1월 11일
편집: Yusuf Selim KARATAS 2020년 1월 16일
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일
편집: 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
Yusuf Selim KARATAS 2020년 1월 15일
Is there anyone that can help me on this issue ?

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.

Community Treasure Hunt

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

Start Hunting!

Translated by