cancel
Showing results for 
Search instead for 
Did you mean: 

mems studio interupt

ephraim-s
Associate II

ephraims_0-1770724416061.png

Hi,

I'm trying to set an interupt in case of a spike, or in case of magnitue of my ISM330IS>some const - but cannot find anywhere the interupt configuration.

I'm trying to get ISPU code.

thanks!

 

3 REPLIES 3
Miroslav BATEK
ST Employee

Hello @ephraim-s,

I'm not sure exactly what you are trying to achieve because your diagram in the screenshot and the description are not very clear. Are you trying to create a peak detector running on the ISPU or on the STM32 MCU?

ephraim-s
Associate II

I'm trying to detect using ISPU.

 

Miroslav BATEK
ST Employee

AlgoBuilder is intended for firmware development for STM32.
If you want to implement your peak detector in ISPU, you need to program it in C and generate the sensor configuration with the ISPU toolchain. You can check this GitHub repository for all details and examples.
Then, you can include the ISPU configuration in the AlgoBuilder flow. You can check the AlgoBuilder example project Example07_ISPU_ISM330IS.json, which is part of the MEMS Studio installation.