Skip to main content
Associate
February 21, 2025
Solved

STSW-IMG035_F401 gesture recognition on NUCLEO-F401RE; output via UART?

  • February 21, 2025
  • 3 replies
  • 832 views

Hi,

I have downloaded "GestureEVK_v1.5.0" and tried "gesture recognition" function.
It can be launched by GUI and worked well.
I also downloaded "STSW-IMG035_F401" and tried to run "gesture recognition".
However, it keeps printing the messages as shown below.
I have no idea how to let "STSW-IMG035_F401" start running "gesture recognition" and output results through UART after downloading to NUCLEO-F401RE?(No need to enter a start aommand.)
Could you guide me in detail about how to modify the code of "STSW-IMG035_F401" to achieve this objective?
Thank you.

 

EthanLiao_0-1740117408786.jpeg

Hardware: NUCLEO-F401RE
Software: STSW-IMG035_F401
Sensor: VL53L8
IDE: STM32CubeIDE 1.16.0

Best answer by John E KVAM

First the easy part... In your terminal program, you can set the line-feed to auto. It tells the system to accept <lf> as <cr><lf>. 

(I started using YAT -Yet Another Terminal as my terminal. It's my new favorite.)

As the STM32 is responding, you clearly have some code in there. 

But I'm going to guess that when switching to the gesture you did not go to the firmware (FW) and copy the .bin file to the STM32. Could that be it?

The GUI kind of shows you how to do the download, but the gesture is more a manual process.

 

 

3 replies

John E KVAM
John E KVAMBest answer
ST Employee
February 21, 2025

First the easy part... In your terminal program, you can set the line-feed to auto. It tells the system to accept <lf> as <cr><lf>. 

(I started using YAT -Yet Another Terminal as my terminal. It's my new favorite.)

As the STM32 is responding, you clearly have some code in there. 

But I'm going to guess that when switching to the gesture you did not go to the firmware (FW) and copy the .bin file to the STM32. Could that be it?

The GUI kind of shows you how to do the download, but the gesture is more a manual process.

 

 

Technical Moderator
March 7, 2025

@EthanLiao , have you fixed your issue?

Are you able to compile the STM32F401 project and get the same behavior as the binary file provided in the GestureEVK package?

EthanLiaoAuthor
Associate
March 10, 2025

Hi @labussiy and @John E KVAM ,

I have fixed the issue.

Thank you so much.

 

Best regards,

Ethan

 

John E KVAM
ST Employee
March 10, 2025

Ethan -

If it was a simple mistake then no problem, but if it was lack of really good documentation on ST's part then could you suggest how to make the documentation better? It might help someone else from falling into the same hole. 

But well done on getting it to run. Good luck with your project.

- john