1.硬件spi的初始化需要注意的是BMI160支持2种模式,即:CPOL=0 and CPHA = 0;或者CPOL=1 and CPHA = 1。 2. 第一步读取chipid,看spi通讯是否正常。
確定! 回上一頁