Skip to main content
MDeva.1
Associate III
Dec 13, 2021 3:46 PM UTC
Solved

Azure RTOS USBx working issue

Hello,

I am working on NUCLEO-H745ZIQ board. In stm32CUBEMX they provide example code for USBX Azure RTOS. In that examples, I am working on UX_Device_CDC_ACM. According to that I configure the all the parameter in cubemx. But I am facing the problems in that, like when I try to configure Timebase source as TIMER instead of systick it doesn't allow it, all the option are not available, only systick is available. When the USB Port is get detect I have to go in Device manager option then update driver and then it get detected in Tera terminal. After the port is get connected, when I try to change its baudrate 9600 to 115200 the terminal goes in not responding mode. When I send the data on ports is not get receive.

The function CDC_FS in not get called. The UART _Init function is not get called,I am facing this issue.

This topic has been closed for replies.
Haithem Rahmani
Haithem RahmaniBest answer
ST Employee
Dec 14, 2021 9:06 PM UTC

Hi @MDeva.1​ 

you'll need to assign the TIMER to the respective Core first.

0693W00000HocHXQAZ.pngthen the TIMER will be available for selection.

0693W00000HocIBQAZ.pngPS: the screen shot are from STM32CubeMX 6.4.0

regards

Haithem.

6 replies

Haithem Rahmani
Haithem RahmaniBest answer
ST Employee
Dec 14, 2021 9:06 PM UTC

Hi @MDeva.1​ 

you'll need to assign the TIMER to the respective Core first.

0693W00000HocHXQAZ.pngthen the TIMER will be available for selection.

0693W00000HocIBQAZ.pngPS: the screen shot are from STM32CubeMX 6.4.0

regards

Haithem.

MDeva.1
MDeva.1Author
Associate III
Dec 15, 2021 3:08 PM UTC

I am working on NUCLEO-H745ZIQ board. I am using the STM32CUBE IDE 1.7.0. According to you first I setup the TIMER to particular core ,after I tried to set to Timebase source but it doesnot allow me.I am sharing the snap shot.0693W00000Hoj3nQAB.png0693W00000Hoj4uQAB.png

Haithem Rahmani
ST Employee
Dec 15, 2021 3:57 PM UTC

0693W00000HojenQAB.png 

this screenshot was taken from STM32CubeIDE 1.8.0, the TIMER 6 is correctly selected as time source for CM7

MDeva.1
MDeva.1Author
Associate III
Dec 16, 2021 10:11 AM UTC

0693W00000HookCQAR.pngHello ,

I install the latest version 1.8.0.I am sharing the snap shot 0693W00000HoogyQAB.png0693W00000HoogoQAB.png,it doesn't give me the selection for TIM6.

Haithem Rahmani
ST Employee
Dec 16, 2021 10:14 AM UTC

Hi,

it is because you checked the "Activated" Checkbox, that option means that you want to use the TIM6 at your application, unselect that option and this will be fine.

regards

haithem.