STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

[STM32F411] I want UART waiting for RXNE interrupt,but it can't stop to keep entering UART_IRQ_Handler and alway readed the last data even I'm not trans any data to MCU, Where am I doing wrong?

UART_HandleTypeDef huart2;void MX_USART2_UART_Init(void){ huart2.Instance = USART2; huart2.Init.BaudRate = 9600; huart2.Init.WordLength = UART_WORDLENGTH_8B; huart2.Init.StopBits = UART_STOPBITS_1; huart2.Init.Parity = UART_PARITY_NONE; huart2.Init.M...

WYang.5 by Associate
  • 474 Views
  • 1 replies
  • 0 kudos

Resolved! STM32F4 USB Device Custom HID example

I am using a custom board with STM32F4 micro and I want to use the Cube libraries. I need a simple example of application of a USB Device configured as Custom HID. I need to know not only how to configure the USB, but also how to transmit data to the...

VCapu by Associate III
  • 2814 Views
  • 10 replies
  • 0 kudos

Resolved! AN3154 not mentioning F3 family - why?

see https://www.st.com/resource/en/application_note/cd00264321-can-protocol-used-in-the-stm32-bootloader-stmicroelectronics.pdfI'm looking for ways to use CAN bus for firmware upgrades in F1 and F3 family and F3 seems specifically omitted in the appl...

Peta_rj by Associate II
  • 1010 Views
  • 5 replies
  • 0 kudos

ST32F446 in USB host mode. How to save power

I'm developing a portable device with STM32F446. It works as USB host. It uses bulk transfers. On the other side USB client device connected. Let's assume for understanding that the client device is something like a keyboard with LEDs, but works over...

urasinov by Associate II
  • 459 Views
  • 3 replies
  • 0 kudos

ECHO_TCP_Server (LWIP)

TCP_ECHO_ServerWhen I open TCP port and send some data on that port. It works fine.But if I open 2 tcp port at same IP and same port (Max port I can have 5) .So while receiving data on both i gets the data alternatively on each port.I want data shoul...