你好,你的
你提到你能够从who_am_i reegister中读取数据但是无法在ctrl_6 reg中写入。
你的spi有问题,在你的spi中请检查数据写入功能,你必须发送第一个设备地址然后注册地址而不发送停止位发送数据背靠背。
请使用CRO进一步说明并检查波形使用数据表波形以确认。
以上来自于谷歌翻译
以下为原文
Hello, thy
you mentioned you able to read data from who_am_i reegister but not able to write in ctrl_6 reg.
there is problem in your spi, in your spi please check data write function where you have to send first device address then register address and without sending stop bit send data back to back.
please use CRO for further clarification and check waveform use datasheet waveform for referance.
你好,你的
你提到你能够从who_am_i reegister中读取数据但是无法在ctrl_6 reg中写入。
你的spi有问题,在你的spi中请检查数据写入功能,你必须发送第一个设备地址然后注册地址而不发送停止位发送数据背靠背。
请使用CRO进一步说明并检查波形使用数据表波形以确认。
以上来自于谷歌翻译
以下为原文
Hello, thy
you mentioned you able to read data from who_am_i reegister but not able to write in ctrl_6 reg.
there is problem in your spi, in your spi please check data write function where you have to send first device address then register address and without sending stop bit send data back to back.
please use CRO for further clarification and check waveform use datasheet waveform for referance.
举报