RPICT Minimum Output Rate: Difference between revisions

From lechacal
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:
The example below show the task scheduling where 3 channels are computed. The output rate must be larger than the time it takes to sample all channels.
The example below show the task scheduling where 3 channels are computed. The output rate must be larger than the time it takes to sample all channels.


[[File:Screenshot 2023-11-10 19-26-36.png | 450px]]
[[File:Screenshot 2023-11-10 19-26-36.png | 600px]]
 
= What happen if the output rate is too low=
 
If a low output rate is set the microcontroller will respect what is configured and output serial data at the given rate.
The output stream will show duplicate values in subsequent output.

Revision as of 19:42, 10 November 2023

Why is there a minimum output rate?

The micro-controller performs task once after the other. It must complete the sampling of all configured channels before sending another serial output out.

The example below show the task scheduling where 3 channels are computed. The output rate must be larger than the time it takes to sample all channels.

What happen if the output rate is too low

If a low output rate is set the microcontroller will respect what is configured and output serial data at the given rate. The output stream will show duplicate values in subsequent output.