Thank you for the compilable project, though it doesn’t seem like a Minimal Reproducible Example. If you want to debug the ReadFile
issue, it’s not a good approach to involve components like the Watchdog, ADC, etc.
I recommend starting with a very simple project, such as:
- Loop back COM2 TX to COM1 RX
- Send 2 characters to COM2
- Read the data from COM1
- Measure the delay.
Could you also specify which BSP release you have on your Colibri VF?61?