SPI problem on i.MX53 with WCE 7
Using C# with VS2008.
Communicating with device at speed 100Kbaud, 8 bit, mode 0 and CS0.
When running in debug mode, it works perfectly.
When running the compiled program, it is not working.
Using a scope the difference is very clear
- In debug, the 8 clock pulses are correct compared to the dataline.
- In runtime, it seems like the mode changes to mode 1 (with the scope it then looks like there are 9 clock pulses)