2020-10-05 04:04 AM
Once it is done, the comunication over the SPI would be treated as a normal/single SPI interfaces?
Solved! Go to Solution.
2020-10-05 09:32 AM
Hi @MLosa.1 ,
Are you referring to the SDO_A/G and SDO_M pins, right?
If so, it is an OK configuration. You can communicate only with one senso (magnetometer or acc/gyro) each time, depending on which CS_A G or CS_M is driven low.
Another communication protocol compatible with your configuration could be the 3-wire SPI one, described in datasheet p. 33, which don't use the SDO_A/G and SDO_M pins, provided that you enable the SIM bit in CTRL_REG8 (22h) register.
Otherwise, you could decide to communicate via I2C, and in this case you have only to keep in mind that you have to properly set the SA0 of the slave address (datasheet p.30).
-Eleon
2020-10-05 09:32 AM
Hi @MLosa.1 ,
Are you referring to the SDO_A/G and SDO_M pins, right?
If so, it is an OK configuration. You can communicate only with one senso (magnetometer or acc/gyro) each time, depending on which CS_A G or CS_M is driven low.
Another communication protocol compatible with your configuration could be the 3-wire SPI one, described in datasheet p. 33, which don't use the SDO_A/G and SDO_M pins, provided that you enable the SIM bit in CTRL_REG8 (22h) register.
Otherwise, you could decide to communicate via I2C, and in this case you have only to keep in mind that you have to properly set the SA0 of the slave address (datasheet p.30).
-Eleon
2020-10-05 11:24 PM
Yes, you were right. I just checked it.
Thanks.