I am not sure as I'll die, but something strange is happening on my Netduino Plus 2 (firmware v4.2.1.2).
The demo program I'm using worked fine for several days, along many many IDE sessions. In particular I am talking about the bit order used out of the MOSI pin of the SPI. All the time it was (correctly) LSB-first, that is bit #0 first.
Today morning I started the same app, but unexpectedly the SPI outputs the MSB first. Any retry will lead the same result. Also checked with the scope, of course.
First question: anyone experienced anything similar?
Second question: is there anywhere the ability to configure this parameter and I missed it? Although the "original SPI" should always use LSB-first.
Third question: I will try to upgrade the firmware to the latest release, but...is that involved or, Chris, could you check whether this issue is still present in the 4.2.2?
NOTE: I could reflash my board, but I'd keep the issue for a while, just for inspecting where the problem is.
Any suggestion/comment is welcome.
Cheers