mode： 1 1
将stm32f429作为SPI master， 使用SPI传输数据时，只能成功1次，后面读取的MISO数据全为0
MOSI ： 56 00 00 00 56 00 00 00
MISO ：00 00 33 00 00 00 00 00
OpenIMU 330BI EVK SPI 通信异常
pls refer to SPI description, the working process of single read is:
and you also need wait more than 16us after request command, such as: 56 00 request, and 20 us later receive the feedback.
@cek I try to delay 1ms between request command and receive feedback, but has the same feedback : 0x00 0x00
You are welcome.
Reminder for IMU330/300 SPI users: from SPI part in online manual
- configurations: IMU working in SPI mode; SPI mode 3(CPOL = 1 (polarity) and CPHA = 1 (phase)); Data is transmitted 16-bits words, Most Significant Bit (MSB) first;
- read and write register sequence:
- Follow the timing applies at system startup: