Skip to main content
Associate
July 24, 2024
Question

VL53L5CX -- Does libGesturesMZ_m4.a support Cortex-M4F processors?

  • July 24, 2024
  • 2 replies
  • 1229 views

I want to operate the VL53L5CX to accomplish gesture recognition operations using an ARM Cortex-M4F microcontroller chip. So can libGesturesMZ_m4.a be used with Cortex-M4F?

I am trying to port the en.STSW-IMG035_F401 project to an ARM Cortex-M4F controller chip and the HT_set_square_resolution() function returns -5 at runtime.
Operation flow: lmz_platform_init -> vl53lmz_init -> gesture_library_init_configure(Err -5, HT_set_square_resolution() failed).

2 replies

hx_itAuthor
Associate
July 25, 2024

Can a friend help?

Technical Moderator
September 27, 2024

Hi hx,

the error code -5 means that your resolution is not a square. Are you sure to input the value 64 ?

Regarding the ARM core, the library has been compiled for Cortex-M4, I have no idea if it's compatible with your Cortex-M4F (and I didn't know it before your post).

Thanks, Yann

Technical Moderator
September 27, 2024

Hi hx,

the error code -5 means that your resolution is not a square. Are you sure to input the value 64 ?

Regarding the ARM core, the library has been compiled for Cortex-M4, I have no idea if it's compatible with your Cortex-M4F (and I didn't know it before your post).

Thanks, Yann