OpenIMU330BI SPI doesn't work

Hi again,

now I tried a lot to and it still doesn't work. I'm running the preinstalled OpenIMU "IMU" application (and also tried it with installing the online available bin).

I removed the Jumpers from P1 to enable SPI mode but the IMU simply doesn't answer.
Also I tried different registers (hw version, software version, etc.) and SPI frequencies (from 100kHz to 1MHz) but there's no reply anyway.

Example Transmission

When i fit the jumpers the online-webserver connection works fine.

Do you have any idea what could be wrong here?

Best Regards
Thomas

if possible, could you share with me your SPI drive codes?
pls try the sequence in below when start SPI mode communication(confirm 1&2 pins in P1 area are not connected):

  • start the SPI read program in your Master MCU.
  • Power on 330BI

other actions:

  1. update FW to FW2.1 in https://developers.aceinna.com/code/apps
  2. try other register, such as:
    0x37
    2beed4d9-4fe3-49bc-a6dd-52d10510ad68-image.png
    or try burst read 0x3E
    4f137c87-ca1a-4cec-9573-12c75872323e-image.png

Hi, i already updated to FW2.1, changed SPI communication to 16bit and powering on the IMU after the SPI readout, but i still get no response at all. (at P1 all jumpers are disconnected)

AceinnaOpenIMU.png

confirm your pin connection of MISO, whether some connection problems it is.
such as: disconnect, or short connect to GND or other pins.
could you show some pics of your HW connections?

Thanks for your input but hardware was fine.
I now could fix the problem by rewriting the SPI+DMA framework: There was some bug where the RX handler wouldn't get called correctly.

Log in to reply