Hi,
I am trying to implement spi_spy thru SDK.
My C program, based on Digital_Spi_Spy.py, decodes correctly about ~90% of the data. Sometimes it seems to loose trigger and the rest of the frame is corrupt.
The WaveForms Protocol->SPI->Spy works perfectly every time for my setup.
Included is my C code and a .jpg from my and WaveForms output log. The faulty data is marked as yellow in the left log in the picture.
I am writing in C and the spi frequency is 300kHz settings are active low, cpol 0, cpha 0.
Is there something I am missing here? How is SPI Spy implemented in WaveForms?
Best Regards,
Tood
hello.c