ADC SCI f28335 problem

조회 수: 10 (최근 30일)
samuel g
samuel g 2019년 3월 1일
답변: Venkatesh Chilapur 2019년 3월 11일
I'm using f28335 and simulink for generating code for dsp, three phase grid connected inverter.I face to some problems with serial communiation through SCI port. it seems that the communication is slow. When I monitor adc signals (for tuning the adc offset) to the serial port it shows some strenge number in the host monitor(Baud rate:115200).
is there any solution to solve this problem?I also run the example of the digital buck converter but it has the same problem.
it seems the code doesnt have any multitasking system and I dont know what is problems.There is an example of sci communication in the ti control suite,but I can't implenet it in the simulink blocks.
Thank you
SAM

답변 (2개)

Venkatesh Chilapur
Venkatesh Chilapur 2019년 3월 6일
Hi Sam,
Are you running the model in external mode? Can you try increasing the baudrate of the SCI and see if it helps.
There is a 2-model approach to log data at very fast rates that you should consider.
That's what we expose in this demo:
In the above link look for section: Fast Serial Data Monitoring
It may also be a good idea to verify the consistency of ADC values from CCS.
Regards,
Venkatesh C
  댓글 수: 1
samuel g
samuel g 2019년 3월 9일
Thank you for your quick reply,
Actually I want to run the control algorithem in the normal mode However, I want to send some data like power to the GUI and checking the ADC signals, but it doesn't work properly.
Best regard sam

댓글을 달려면 로그인하십시오.


Venkatesh Chilapur
Venkatesh Chilapur 2019년 3월 11일
Hi Samuel,
It may be a good idea to contact us @ https://in.mathworks.com/support/contact_us.html.
That can help us better understand your application requirements and how can the existing options help you achieve them.
Regards,
Venkatesh C

카테고리

Help CenterFile Exchange에서 C2000 Microcontroller Blockset에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by