I want to make a device that can send data on one pin that I previously have captured with a Logic analyzer (PulseView). One pin is enough, more is a bonus.
Wanted speed is 250 kilosamples per second.
Wanted length to be able to send is at least 1Mbit (4 seconds), but longer makes it more useful.
Wifi is not needed.
What have I done so far?
Using esp8266/Arduino I successfully did this by having the data to send in a 40 kB variable. That is close to what can be achieved with the RAM we have. 320 kbit is just over a second @250kHz.
Reading the data from FFS was way too slow,
Using SD was much faster, but every ~540 bit it has to read from the card, which freezes the loop for 1.5ms.
I am already running the chip at 160MHz.
What I need help with
I want to know if it can be possible to use the UART to send any data, or is it locked to use start/stop-bits? Or are there any other MCU-features that can clock out the data I want to send without having to loop every bit in the code?
Thanks in advance!