你是怎么连接设备的?
我从未使用STPM10,但似乎SPI接口非常奇怪。因为MISO和MOSI只有一条线,SDA引脚; SYN引脚将SDA配置为读或写模式。
当时钟在SCL上时,数据在SDA上同步。
我在我的应用程序中使用SPI,但更为标准,因为总线的工作方式类似于链接移位寄存器,推送MOSI并且寄存器在MISO上移位。
以上来自于谷歌翻译
以下为原文
How did you have connected the device?
I never used the STPM10, but it seems that the SPI interface is quite weird. As there is only one line for MISO and MOSI, the SDA pin; the SYN pin configure the SDA in read or write mode.
When the clock is on SCL the data are synched on SDA.
I use SPI in my application, but is more standard as the bus works like a linked shift register, push on MOSI and the register is shifted on MISO.
你是怎么连接设备的?
我从未使用STPM10,但似乎SPI接口非常奇怪。因为MISO和MOSI只有一条线,SDA引脚; SYN引脚将SDA配置为读或写模式。
当时钟在SCL上时,数据在SDA上同步。
我在我的应用程序中使用SPI,但更为标准,因为总线的工作方式类似于链接移位寄存器,推送MOSI并且寄存器在MISO上移位。
以上来自于谷歌翻译
以下为原文
How did you have connected the device?
I never used the STPM10, but it seems that the SPI interface is quite weird. As there is only one line for MISO and MOSI, the SDA pin; the SYN pin configure the SDA in read or write mode.
When the clock is on SCL the data are synched on SDA.
I use SPI in my application, but is more standard as the bus works like a linked shift register, push on MOSI and the register is shifted on MISO.
举报