This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SPI_DEFAULT_TX_BYTE should be 0xff for most of the application

In spi_master.h SPI_DEFAULT_TX_BYTE is define as 0x00. This value will be used when sending dummy clocks, or just reading from SPI slave, or writing length is less than the reading length. Because of this 0x00, MOSI line will be pulled low during these cases.

But in most of the application, MOSI (open drain) is prefered to be left high.

Not a big deal, you can just change to 0xff by yourself. But when pack installer will overwrite it when there is an update.

Please change it to 0xFF or make it part of the configuration.

Thanks

Parents Reply Children
No Data
Related