I am experimenting SPI bus on linkit smart 7688 module by using mraa library with python.
I try this code but does not have any signal out from SPI bus measure by oscilloscope.spi = mraa.Spi(0)spi.mode(0)spi.frequency(20000000)spi.lsbmode(False)
Have anyone work with SPI on linkit smart 7688 successfully. Please share your example code.
Hi allNow , I manage to make it work by using command mt7688_pinmux to enable SPI module.
However, The SPI Clock always 16 bits even data sending only 8 bits.
Does the SPI on MT7688 can operate in 8 bits clock mode?
Hi! I am experimenting the same issue! Always has a leading "zero byte" transmission, even I transmit ONE byte!Tested by oscilloscope!! I can't use MRAA SPI.(I2C is OK.)Any idea?
Sadly, the SPI is bugged on the 7688 (https://en.forum.labs.mediatek.com/t/spi-access-via-linux-driver/1137/7).
I suggest you to find a software SPI library to achieve this. Here's one : https://github.com/respeaker/spi_bridge/blob/master/spi.py