Hi Chris O
I am still getting my head around (very slowly) the nomenclature and the different labelling levels.
In the schematic you linked to, what is the 'port' AD_B1 ?
I need to map my signals in the odd way...
This is roughly the code I'll try out this evening
#define IMXRT_GPIO6_DIRECT (*(volatile uint32_t *)0x42000000)
// read in raw values from single port GPIO6
register uint32_t rawdata =...
Found this thread which looks very useful, I'll convert my code and report back on the new time consumed.
https://forum.pjrc.com/threads/61615-Teensy-4-1-Storing-the-value-of-18-pins-input-quickly
I have an application capturing both analog and digital data up to a rate of 128ksps.
At the moment the ISR is taking too much time and making the 128ksps rate unviable for streaming purposes.
I have determined...
I've determined that at the 128ksps rate, it is basically running out of time for all processes to complete adequately and all hell brakes loose.
I added the head and tail indexes to the stream and could see that...
Hi Shawn,
After further testing I believe my issues are simply running out of processing time in between my interrupts at 128kHz.
I added debugging information to my data stream (going over UDP or Serial) and...
Hi Shawn, sorry but have not checked that response specifically, however I do believe the issue was caused by the circular buffer being corrupted.
I have implemented my own very lightweight circular buffer and the...
This relates to a data capture and streaming application, where at its fastest (currently) a combination of ADC results, time stamp, encoder count and input byte are written to a buffer in the ADC data ready ISR.
...
The packet rate has been tried at various multiples of the sample rate ie 10x, 100x and 200x without any change.
I've determined the issue is with the data source getting corrupted not the packet sending....doesn't...
I have an application where I need to stream 128k packets per second of 18bytes over 100Mbit ethernet.
I am able to succeed at 64ksps using QNEthernet and the function:
...
I am using the hardware encoder library which is working well thus far.
I have an application that would benefit greatly from the measurement of the phase angle over time ie the phase shift between the A and B...