2020-04-17 08:43 AM
This perplexes me because when I ran this yesterday It functioned fine no changes, if i comment this section out the sensortile is connectable, however obviously all ICs are non communicable, I am extremely new to ST having previously used TI (although used the LSM9DS1 for a number of years) .
I am creating a motion tracking watch that is based on the sensortile, however it will save motion data to a MX25L32 instead of the SD card example and will bulk upload this at the end of the day while charging, I work for start up researching Parkinsons disease and would appreciate some help, many thanks.
Also where do you manufacture you sensortiles, as I'm having trouble finding PCB manufacturers who will create 0.4mm pitch BGA, as well as the vias required for this to function.
Solved! Go to Solution.
2020-04-28 09:57 AM
if anyone has this problem in the future it is because the CS was high on the mag init when resetting so it wasnt being setup properly
2020-04-17 09:26 AM
/* Magneto */
// if(BSP_MOTION_SENSOR_Init(MAGNETO_INSTANCE, MOTION_MAGNETO)==BSP_ERROR_NONE){
// ALLMEMS1_PRINTF("\tOK Magneto Sensor\n\r");
// } else {
// ALLMEMS1_PRINTF("\tError Magneto Sensor\n\r");
// while(1);
// }
commenting the above mag section out and it functions fine...
2020-04-17 11:13 AM
however obviously there is no mag
2020-04-18 04:29 AM
working on it today, attempting to figure out the reason for the mag not functioning, was thinking it was hardware related, then on another debug, the code gets stuck now
2020-04-18 04:31 AM
/* Accelero & Gyro */
if (BSP_MOTION_SENSOR_Init(ACCELERO_INSTANCE, MOTION_ACCELERO | MOTION_GYRO)==BSP_ERROR_NONE){
setting up the accelerometer, having changed nothing on the codebase other than commenting out the mag, any ideas, solderconnections all in order.
2020-04-20 08:28 AM
I have bought another sensortile to put in the bm20 connector rather than solder incase this is the issue, i doubt it though as the connections look good, although any help would be appreciated at this point...
2020-04-24 08:08 AM
Hi @AMell.1 , please note that the LSM303AGR sensor is an ultra-compact high-performance eCompass module composed by an ultra-low power 3D accelerometer and 3D magnetometer, so the magnetometer is there on the SensorTile board.
You should surely check the soldering connection, but I would suggest you to start testing your firmware plugging the STLCS01V1 board on the STLCX01V1 board before soldering it on the STLCR01V1 board. Did you get any valuable results on your second Sensortile? Regards
Ps: I work for start up researching Parkinsons disease and would appreciate some help, many thanks. A very appreciable application, indeed!
2020-04-24 08:31 AM
Indeed it was my home soldering, my home soldering iron has a somewhat ancient head not suited to the task, thank you for the reply though, much appreciated!
2020-04-25 01:24 AM
so rather confusingly it was not actually my home soldering, the newly purchased senortile also not has this problem on the stlcx01v1 cradle, having changed nothing on the firmware, this is starting to worry me as ive spent alot of time creating a custom board to run this firmware on.. STM32L4xx- sensortile firmware works on the initial debug but then changing nothing after a few times the above stopping point occurs, have you seen this error before?
2020-04-28 09:57 AM
if anyone has this problem in the future it is because the CS was high on the mag init when resetting so it wasnt being setup properly