6 years, 8 months ago.

SPI stopped working in Mbed-os 5.5.5

Hi,

SPI stopped working in Mbed-os 5.5.5 but the same LPC1768 project work with Mbed library.

With a scope i see different SPI clock signal beetwen Mbed-os and Mbed-Lib.

SPI CLK Mbed-Lib

____    __    __    __    _______
    |__|  |__|  |__|  |__|

SPI CLK Mbed-os

        __    __    __    __
_______|  |__|  |__|  |__|  |____

Can you help me?

Thank you, YSI

1 Answer

6 years, 7 months ago.

That looks like a different spi.mode setting: clock idle high or idle low. Try explicitly setting it in your code if you dont do that at the moment

Accepted Answer

Thank you, i try explicitly setting format and it work.

posted by Y SI 23 Aug 2017