cancel
Showing results for 
Search instead for 
Did you mean: 

How to modify FW to bypass USB function in AMICAM1\UltrasoundFFT based on NUCLEO-STM32L476RG ?

shenghua yang
Associate III

Dear ST experts:

I am a beginner with ST RTOS. I need your help.

We have a project using FW in AMICAM1\UltrasoundFFT based on NUCLEO-STM32L476RG .

There two threads in the FW. one is AMICAM1_Thread and another is AMICAM1_Thread.

The Ultrasound FFT FW can send the FFT data to PC when the EVB connecting USB cable to PC. 

Then the app of UltrasoundFFT.exe can show the FFT result as below.

shenghuayang_1-1689761270557.png

We would like to modify the algorithm flow to bypass usb send data function.

shenghuayang_5-1689762807814.png             shenghuayang_6-1689762859917.png

It means that FW can continue to run without USB cable connecting PC.

But we found the FW stop at osSemaphoreWait(fft_data_input_sem_id, osWaitForever) without trigger usb function. 

shenghuayang_3-1689761683556.png

The FW will skip the function until the app start to run.

shenghuayang_4-1689762094972.png

Best Regards,

ShengHua

1 REPLY 1
shenghua yang
Associate III

Dear ST experts:

Anybody can help.

Best Regards,

ShengHua