Forum Posts
FreeRTOS stops running after starting timer with DMA to GPIO
I'm working on a project where I need to control two WS2812B serial RGB LED strips. These strips are connected to 2 GPIOs which are configured to output modulated PWM to generatate zeros and ones, by letting TIM2 run with DMA configured on CC1 and CC...
usb host fat32 does not work with freeRTOS
I have stm32f429discovery and i used stm32cubeMx to set up usb host with fast32. when I connect flash it works OK. but when I configure freeRTOS it didn't work. when i debug it, I found that the "id" in "USBH_UserProcess" function is "HOST_USER_CONNE...
Resolved! Anybody to have simple USB to at least be enumerated on STM32L462?
Hi.I am currently trying to have USB virtual com port to work on STM32L462CEU6. I made simplest project using IDE, just enabling usb then setting the usb class to be CDC. Nothing fancy, no more things than setting the 48mhz clock and flashing cpu. No...
STM32 USB CDC receiving more than 64 bytes
Hello,I am using the USB CDC of NUCLEO-F767ZI board. MY firmware can transmit and receive OK through the USB CDC. However, I cannot receive more than 64 bytes, only the first 64 bytes are received. The transmission is OK, it can send more than 64 byt...
Resolved! USB CDC USBD_CDC_SetTXBuffer and USBD_CDC_Transmit_Packet
Hi all,I am trying the example of USB CDC in:https://www.youtube.com/watch?v=rLnQ3W8gmjY&list=PLnMKNibPkDnEEvQWrDqVuu1w_iQ214GXi&index=35It uses the above functions.But when I compile, I get :undefined reference to `USBD_CDC_SetTXBuffer' and to USBD...
How to pass UART_HandleTypeDef *huart trough the funciont?
I want pass UART_HandleTypeDef *my_huart at function HAL_UART_Transmit and and mange the response with interrupt. The code is show below but doesn't work. Can you help me?//This is myfile.cvoid myfunc(UART_HandleTypeDef *my_huart){ char command[] ...
How to see debug output from USB Host?
I generated a USB Host for HID Class with CubeMX, but when I connect a mouse, its LED at the bottom doesn't light up.Debugging through USBH_Process(), phost showed the status as HOST_IDLE and CMD_SEND.To further debug this, I've set the debug level o...
STM32L4 won't stop running bootloader
Hi,I've used products in the STM32F4 family, but I have two new projects using the STM32L433 and STM32L432. For both of these projects, I am able to write and verify the flash, however I cannot seem to get the chips to boot from it. They always seem ...
HAL_GPIO_TogglePin() bugs!
Hi All,I notice a bug in the HAL_GPIO_TogglePin() when there are two pins with different voltage level. E.g. GPIOF, Pin9 = 1 and Pin 10 = 0. It turns out Pin9 was 1 and Pin10 =0, then Pin9 and 10 = 0 then 1 and so on. Support it should be Pin9 != Pin...