I am trying to use MMC5983MA on Arduino R4, I am aiming to get a data output rate of ~700 Hz (and this magnetometer is rated for that). I am following example 6, which is included in the library, but I can’t get it to work. Has anyone else managed to get high Data rate with this sensor? Or is example 6 working for you guys?
Specific Question:
The example file states Hardware connections. Init, I need to connect CS to pin4 on an Arduino, but this sensor doesn’t have a CS pin. Am I missing something?
Looks like SPI is only available on the sparkx version on the board.
Blockquote
This library is shared with the SparkX Breakout Board using the same MMC5983MA chip. However, due to the tiny size of this Micro Breakout Board, SPI functionality is not available for the Qwiic Micro Magnetometer. The two SPI examples included with the Arduino Library are for use with the SparkX board only.
Check if the correct I²C address is being used in your code. The MMC5983MA typically has a default I²C address of 0x30 or 0x31 (depending on the state of the AD0 pin).