PICO high speed serial problem


Author Message
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8963
Posted: 07:20am 20 Jun 2024      

I think that's an excellent idea.

Firing a continuous string of data that you *do* want isn't going to work in the long term over any non-clocked serial interface, particularly if the distance involved is non-trivial. You have to allow for cable capacitance and random glitches introduced by the environment so a proper, frame and checksum system is very important if you want reliability - even if it has more overhead.

The MATH CRC function can be used to get a CRC checksum of a set of data.

If the distance is short then it's better to stick with I2C or SPI really, even though they are unbuffered. They are both clocked and are designed specifically for this purpose.

.
Edited 2024-06-20 17:25 by Mixtel90