ADC SCI f28335 problem

6 views (last 30 days)
samuel g
samuel g on 1 Mar 2019
Answered: Venkatesh Chilapur on 11 Mar 2019
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

Answers (2)

Venkatesh Chilapur
Venkatesh Chilapur on 6 Mar 2019
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 Comment
samuel g
samuel g on 9 Mar 2019
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

Sign in to comment.


Venkatesh Chilapur
Venkatesh Chilapur on 11 Mar 2019
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

Community Treasure Hunt

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

Start Hunting!