2025-07-30 6:24 AM
Hi,
I am trying to read data from my ISM330DHCX using my STM32G491 Nucleo board over SPI3
However, I am having trouble understanding the operation of this device, so I would like to explore the answers to the following questions:
1) What is the most basic start-up sequence that would allow me to read data from the gyroscope?
According to page 37 of the data sheet --> this is all that is needed to operate in SPI mode:
SPI interface: I2C_disable = 1 in CTRL4_C (13h) and DEVICE_CONF = 1 in CTRL9_XL (18h).
Is there anything else that must be done?
2) Is my SPI3 configured properly for the ISM330DHCX?
CPOL = High
CPHA = 2 Edge
3) It seems like the ISM330DHCX always operates in MSB first mode --> is this correct?
4) Is the INTx pin required for operation?
Thanks!