Thanks all for the replies. I'll next try to FlexIO3 2.5mbps serial - I failed 3 years ago when I first tried, and have mostly forgotten the problems I had. There appears to be no conflict with the 33 pins I am using and FlexIO3 (see below).
On...
But then the message length would have lengthened, not shortened - the time waster seems to have slowed down. Could it be the opposite, that it used to toss the NOP whereas now it isn't?
I tested delayNanoseconds() and found it problematic. So I timed it and two of my timewasters and found the delayNanoseconds() has an overhead that is never handled and is quantized at small values - in particular the bit collection code of mine...
1) Apologies, 20 bit - TS5648 N100, 10 bit per data, below.
2) Of course UART is the proper solution but I was not able to get 2.5 M without compromising other functionality.
3) I previously had it finding the first and last bits but it's...
Yup, I was too quick then tried to edit it after posting... I removed code that wasn't enable (...).
// Mount Encoders
#define BIT_LEN 60
#define TXBITLEN 126 // was 126
#define RXBITLEN 109 // was 109
#define STRMDLY 10
#define DBG 23...
Hello,
I've had code running on qty 2 Teensy 4 and then 4.1 for quite a few years detecting the bits on a serial stream with a Tamagawa (qty 4) 23 bit absolute encoder. The PCB I am using has serial 3 and 4 and the bit stream is 2.5 mbs, and...