STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

LEDs blink when I write to the stm32103c8 flash

Hello, good afternoon.I'm using a stm32103c8, and I'm having a serious error when writing to the flash. I'm working on a project where I use timer4 and I'm doing a multiplexing between 8 pins where I control the LED and button, but when I write the L...

Resolved! HAL_UART_RxCpltCallback not called in DMA

Hi Everybody, USART interrupt enabledDMA interrupt enabledUSART2_RX circular USART2_TX normalSimplifying code to the essential part here, code is receiving the bytes in the circular buffer but it does not jump to HAL_UART_RxCpltCallback. Could someon...

Resolved! STM32F446RE: CAN hcan->State is always at listening state

Hello all,   I am working on a ECU system and using CAN protocol to communicate with peripheral. The MCU i am using is a STM32F446re. I have a problem when trying to execute "HAL_CAN_Init(&hcan1)" function. Indeed, the line "hcan->State = HAL_CAN_STA...

Erwan03 by Associate III
  • 1001 Views
  • 7 replies
  • 0 kudos

Support for STM32U073 in Arduino

When will support for the STM32U073 be added to the Arduino package? I just updated to 2.8.1, but still no support for the STM32U073. Just a Generic STM32U073KB is all I need. Of course, this means that appropriate code libraries for the U0 need to b...

doctek by Associate II
  • 945 Views
  • 6 replies
  • 6 kudos

ST Tof VL53L8CX and Arduino Portenta H7 Lite

I have a Arduino Portenta H7 lite and I am using Arduino IDE to program it to read data from VL53L8CX.I am able to read data over I2C. But for SPI, I am getting the following errorerror: no matching function for call to 'arduino::HardwareSPI::Hardwar...

2hg by Associate
  • 475 Views
  • 1 replies
  • 0 kudos

F411: how to handle I2C Errors

I am using the I2C code in STM32Cube_FW_F4_V1.26.0\Projects\STM32F411E-Discovery\Examples\I2C\I2C_TwoBoards_ComPolling as base to write my own I2C firmware.I would say the HAL library in stm32f4xx_hal_i2c.c is quite useful and covers all I2C communic...

HDaji.1 by Senior
  • 11196 Views
  • 12 replies
  • 1 kudos

Resolved! STM32F103C8T6 UART 8-bits and Even parity

Hii I am using STM32F103C8T6 controller. In this controller I am using the UART1 and UART2 transmitting and receiving data. In UART1 I adjust 9600 Baud rate, 8-data bits, None parity and 1 stop in these configuration I am transmitting and receiving d...

Yeswanth by Associate II
  • 780 Views
  • 4 replies
  • 2 kudos

ADC channel numbers incorrect on datasheet STM32U031R8T6

Hi, I am just trying to run adc in discontonous mode to measure some voltate from two resistor divider connected on channel 6 (PA1) and channel 7 (PA2) and also Vref from internal channel 12 as per datasheet. see below screenshot from DS14581- Rev2 ...

KSB_0-1721264870489.png KSB_2-1721265399785.png
KSB by Associate II
  • 525 Views
  • 2 replies
  • 0 kudos

Resolved! STM32G030K6 usart bootloader

 Hi, I have a custom board with STM32G030K6 and I wish to use the buildin usart bootlaoder. I have checked the AN3155 and AN2606, but I still cant figure out how to enter into the bootloader. I found that for my MCU, I need Pattern 11 to activate boo...

KlemenDS_0-1724915993477.png
KlemenDS by Associate II
  • 709 Views
  • 4 replies
  • 1 kudos