Combining Simple Applications (MEMS, TOF)
- December 18, 2021
- 3 replies
- 2250 views
Hello, Im not a good English speaker so please understand my English grammer.
Im here to ask about combining X-CUBE TOF and MEMS simple application.
I will be so happy if you help me :)
What enviroment Im working
STM32CubeIDE(1.7.0) didnt upgrade because 1.8.0 have issue on my mac.(when I generate code more than one time in ioc file, code conflict on build)
macOS Monterey(12.0.1)
X-CUBE-MEMS1(9.1.0)
X-CUBE-TOF1(2.0.0)
Nucleo WB55RG (ST-LINK FW : V2J39M27, BL Version : 0xd5, is this right?)
VL53L3CX breakout boards (Quantity : 8, Bus : I2C1)
Adafruit LSM6DSO32 (Bus : I2C3)
Adafruit LIS3MDL (Bus : I2C3)
What I did (All worked good)
1.communicated with single range sensor, used VL53L3CX_SimpleRanging in X-CUBE Software Packs (used user manual)
2.communicated with 8 range sensors, modified single range sensor application
3.communicated with Adafruit LSM6DSO32, LIS3MDL, used CUSTOM_DataLogFusion in X-CUBE Software Packs (used user manual)
BUT when I merge 2 and 3 to single project, TOF and MEMS sensors cant function.
I splitted I2C bus, one is for TOF, and other is for MEMS. I know all can be in a single bus. but when I tested sensors in a single bus, It didnt work. so I tested splitting I2C bus and V3.3.
Should I have to know about CRC or RTC functions? is this functions are conflicting with TOF sensors?
or
Should I have to know about TIM2 global Interrupt?
What should I have to know?
