Hi,
In my application I have a Cortex-M4 that sample some voltages from ADCs at about 10kHz sampling rate with an interrupt routine.
I use RTT inside the interrupt routine to send the samples to my PC, with also other informations.
I'm able to save all the data with my PC at a data rate of about 250KB/s and it works very well.
Now I would like to receive the samples one by one at 10kHz, but I can only receive block of data at a rate of about 70Hz (I don't know if this value depend on my RTT MCU configuration?).
The idea is to do this in a loop:
Thanks
In my application I have a Cortex-M4 that sample some voltages from ADCs at about 10kHz sampling rate with an interrupt routine.
I use RTT inside the interrupt routine to send the samples to my PC, with also other informations.
I'm able to save all the data with my PC at a data rate of about 250KB/s and it works very well.
Now I would like to receive the samples one by one at 10kHz, but I can only receive block of data at a rate of about 70Hz (I don't know if this value depend on my RTT MCU configuration?).
The idea is to do this in a loop:
- use RTT to receive the samples in the PC
- do some processing in the PC
- use RTT to send some processed data to the MCU
- the MCU will set some output using the processed data
Thanks