Alas, I spoke too soon. While the execution is considerably faster using the SPI.transfer16 command, the Pico does not receive the incoming data. I can see the data on the scope. It changes nicely. The outgoing data from the Pico works just fine as well as per the scope, but the "receive data" portion of the SPI.transfer16 command seems to be implemented incorrectly and does not work. So, data goes to the ADC and comes back, but gets lost in translation.
For now, if I want to stick with the Arduino IDE, I seem to be stuck with this slow implementation of SPI and a maximum speed of about 5µs per read.
For now, if I want to stick with the Arduino IDE, I seem to be stuck with this slow implementation of SPI and a maximum speed of about 5µs per read.
Statistics: Posted by stst — Sun Apr 07, 2024 12:25 am