2024-05-26
10:53 AM
- last edited on
2024-06-14
02:42 AM
by
Lina_DABASINSKA
I would like to use LSM6DSOX with a linux board or potentially another micro controller. What problems would i run into that using a stm32 couldn't have. I see there's a lot of code generation for stm32 chips.
Solved! Go to Solution.
2024-06-15 06:18 AM
2024-05-26 11:46 AM
You'd need to know how to code, write libraries and integrate with the OS/PLATFORM that YOU have chosen.
If you and your staff can't code on the platform you've chosen its going to get a lot more difficult to get stuff done, or motivate others to provide you with code / solutions. Experience porting code from one MCU to another will be very helpful.
Linux is not known for dealing with real-time sensors at predictable rates, often better to partition that off to a sensor board w/MCU that can then communicate that at a more leisurely manner.
2024-05-26 12:12 PM
I'm sorry if i came off as a lay person here. But I've integrated IMU's before. I was more wondering what specific things the stm32 suite of software solves for me that i would have to migrate into my code.
Benefits of having stm32 chip
* PreBuilt Data Loggers
* NanoEdge studio "projects" are expecting you to select a specific board type for its training
* Mems Studio [firmware programming] - is expecting you use stm32cube programmer.
Expectations
What I'm expecting is something like the MPU9250 or the ICM20948, where you get a big binary blob to flash onto the device. From these 3 registers.
* PAGE_SEL(2), PAGE_ADDRESS(8),PAGE_VALUE(9)
Then I'll have to figure out what all the FSM_OUTS are and MLC0_SRC stuff. To figure out whats the IMU found
I was also curious about a legal thing. The amount of stuff i had to accept to use STM32 edge UI and the MEMS studio was semi excessive. So i would be interested if there's any limitation on using this device when not paired with a stm32 chip.
2024-06-15 06:18 AM
2024-06-15 06:37 AM
@BA_ wrote:i would be interested if there's any limitation on using this device when not paired with a stm32 chip.
No: the limitations are all about using ST's software with non-ST products - especially where ST provide the software free.
The sensors themselves neither know nor care what microcontroller (or microprocessor or whatever) you use - all they see is an SPI or I2C bus, or whatever.