02-28-2024 10:47 AM
Hello,
I'm using a Shuttle board 3.0 to test a BMM350 magnetic sensor.
I have connected the following pins:
I'm trying to set the module to FM mode by writing PMU_CMD register (0x06) to 0x03. Nevertheless, after I write the register with the microcontroller I see that its value is still 0x01:
[2024-02-28_10:35:52:52.086368] BMP350_PMU_CMD: 0x00 0x00 0x01 0x01 0x00 0x00
[2024-02-28_10:35:52:52.123871] BMP350_PMU_CMD after: 0x00 0x00 0x01 0x01 0x00 0x00
Then, when I read other registers I see that all are set to default values (even the temperature measurement):
[2024-02-28_10:35:57:57.140495] PMU_CMD_AGGR_SET data: 0x00 0x00 0x14 0x07 0x01 0x1
[2024-02-28_10:35:57:57.151866] PMU_CMD_AXIS_EN data: 0x00 0x00 0x07 0x01 0x01 0x00
[2024-02-28_10:35:57:57.168187] PMU_CMD data: 0x00 0x00 0x01 0x01 0x00 0x00
[2024-02-28_10:35:57:57.185067] PMU_CMD_STATUS_0 data: 0x00 0x00 0x01 0x00 0x00 0x00
[2024-02-28_10:35:57:57.201552] PMU_CMD_STATUS_1 data: 0x00 0x00 0x00 0x00 0x00 0x00
[2024-02-28_10:35:57:57.213038] TEMP_XLSB data: 0x00 0x00 0x7F 0x7F 0x7F 0x7F
How do I have to configure the sensor in order to get the temperature and magnetic field values? As I see I'm doing the same thing showed in the Github examples.
Regards,
03-04-2024 06:13 AM
Hi msu,
1KOhm I2C(SCL, SDA) pull-up resistor have been soldered onto the BM350 shuttle board 3.0 https://www.bosch-sensortec.com/media/boschsensortec/downloads/shuttle_board_flyer/application_board...
The VDD domain does not support 3.3V power supply.