2023-09-04 11:44 PM
Hello,
I am trying to integrate the magnetic sensor data for the sensor_fusion_9x demo. I am using the F401RE+1A3+LSM6DSO16IS and when I leave the jumpers as standard I get no mag and the demo runs. I obviously get no mag data since the sensor hub is not being jumped in. When I change jumpers the to allow the IMU to act as a sensor hub then the device can connect but there is no option to start and i get no data at all. I did make sure to add the shub.ucf data to the demo.ucf so that I was initing the sensor and hub. At this point I dont know what I am doing wrong but the only thing i can think of is that the MCU software from algo builder cant find the sensors and it is blocking. Any help would be great.
2023-09-05 12:45 AM
I did change the i2c jumpers as well with no luck
2023-09-05 02:19 AM
Unfortunately I will not work, if you connect the magnetometer to sensor hub of LSM6DSO16IS the default firmware will stuck because it will not see magnetometer on I2C bus. You would have to create your own AlgoBuilder Firmware template without magnetometer.
2023-09-05 04:14 AM
Is there an app note on that or maybe a template they used to created to use the ispu demo code?
2023-09-05 07:10 AM
I see the old way to create a firmware template using Cube Algobuilder. The issue I see is that there is no firmware template folder so i would have to assume that the software has been updated since then. I am using Version 3.2.0.4544 which would be the latest. How do I co about adding a new configuration. I tried adding an entry in target.xml and config.xml but that did not seem to help.