Datadrops in External Mode with Ti Launchpad at sampling rate of 20kHz.

8 views (last 30 days)
Hi all,
I’m trying to read sensor data from my TI LaunchPad F28069M in External Mode to analyze the behavior of a PI controller in real time.
When I increased the sampling frequency from 10 kHz to 20 kHz, I noticed significant data drops in the logged signals. In the attached screenshot, the left side shows 10 kHz (no problem), and the right side shows 20 kHz (with data drops).
As I understand, I need External Mode to see the signals that the ADC block is reading. I set up External Mode with serial communication using the USB cable delivered with the board.
My questions:
  1. Are there any options to increase the sampling rate without data drops?
  2. Is there a limit to the sampling frequency when using External Mode with serial communication?
  3. I wonder wether the PI-Controller works right in these Phases with no new datapoints and it is simple a problem with transfering the Data from the Launchpoad to the Computer or even the Controller dosent get the live data and is also effected by the data drops.
System details:
  • MATLAB/Simulink version: 24a
  • Add-ons: latest versions
  • Baud rate: 5,625,000
  • Hardware: TI LaunchPad F28069M
  • External Mode: serial over USB
  • Model type:
I’m new to microcontrollers and have limited experience with baud rates, serial communication, and related settings, so any guidance would be very helpful.
Thank you in advance!

Answers (0)

Community Treasure Hunt

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

Start Hunting!