STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Hi everyone I need help understanding what I am doing wrong. I would like my buffers to work properly, but when I run the program my terminal starts sending all sorts of strange characters. I use stm32f411e-Disco

#define UART_RX_BUF_SIZE 20 #define UART_TX_BUF_SIZE 20   int8_t uart_put_char(char data); int8_t uart_get_char(char *data);   volatile char uart_rxBuff[UART_RX_BUF_SIZE]; volatile char uart_txBuff[UART_TX_BUF_SIZE];   void uart_put_string(char *s...

KK.3 by Associate II
  • 1269 Views
  • 6 replies
  • 0 kudos

"-u _printf_float" break VCP

I have a project using the virtual com port driver. Everything works great unless I enable "-u _printf_float" at which point I will get an error if I try to open the COM port in putty.

Jcoll.1 by Associate III
  • 542 Views
  • 0 replies
  • 0 kudos

Resolved! stm32f1xx_ll_gpio.h, wrong LL_GPIO_PIN_x definition

Hello the pin definition> 7 in the stm32f1xx_ll_gpio.h file seems to be wrong: in fact when I use LL_GPIO_PIN_8 with the function HAL_GPIO_WritePin (GPIO_TypeDef * GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState)the ODR0 bit of the port concerned is...

0693W000008wvgvQAA.png

In 'F407, bxCAN does not go to Bus-Off

In STM32F407, I have set bxCAN with CAN_MCR.ABOM=0 and CAN_MCR.NART=0. With the bus lines after transceiver (PHY) left open, after trying to transmit, transmitter transmits continuously forever, with CAN_ESR.LEC=0b011 for Acknowledgement Error (which...