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

I2C sending wrong and incomplete data

Hello,I have a STM32F301K6 based board and it seems that the I2C HAL driver is not working properly. I have a little test software running which should receive one byte (0x00) and send back 5 bytes (0x01 to 0x05) periodically.Receive works fine but t...

0693W000003Oh1mQAC.jpg 0693W000003Oh3SQAS.jpg 0693W000003Oh5EQAS.jpg 0693W000003Oh6gQAC.png
fal.sch by Associate II
  • 1020 Views
  • 3 replies
  • 0 kudos

Resolved! Timeout in RTC_INIT with HSE if an unused register does not have a unspecific entry is set!?

I have an STM32F446 with a HSE attached. Everything works fine (freeRTOS, CAN, I2C, ADC).Now I want to use the RTC but I cannot initialized it if I not set PeriphClkInitStruct.PLLI2SDivQ to an unspecific value. RTC_EnterInitMode() from the HAL librar...

Resolved! Over-run error on STM32L010RB USART2 using HAL

Hi, under what circumstances does HAL_UART_ErrorCallback get called with the USART_ISR_ORE flag set in the ISR register?We have a simple FreeRTOS project that is experiencing this error. It happens randomly, possibly after running for several minutes...

DPang.1 by Associate II
  • 2456 Views
  • 7 replies
  • 0 kudos

STM32H747I-DISCO Virtual Com via USART

I may be reading the disco board manual incorrectly, but it leads me to believe that I should be able to write to USART1 and have it show up on the virtual com port in windows.I have my logic analyzer tapped into pins PB14/PB15, which are thankfully ...

Najati by Associate II
  • 1693 Views
  • 4 replies
  • 0 kudos

program sram?

i wanna to program sram the result follow:No Algorithm found for: 02000000H - 02000A37HProgramming skipped!Error: Flash Download failed - "Cortex-M0+" about sram programming algorithm? only flash

Staly.1 by Associate III
  • 1097 Views
  • 5 replies
  • 0 kudos

How to launch openocd for the nucleo stm32l152?

Hello,I'm new to embedded programming and to the stm32 platform.I'm using linux. I need to debug and inspect the memory of the device. Openocd seems to be the preferred (perhaps the only way?) to do this on linux. I installed openocd but despite long...

BCora.1 by Associate III
  • 3489 Views
  • 4 replies
  • 0 kudos

Hello, I'm using STM32L4R5ZI with embOS OS( used released version) for my application. I've implemented boot-loader now for my application. I've set VTOR(SCB->VTOR ) as per my application flash start address and i relocate interrupt table to RAM.

STM32L4R5ZI has SRAM1 (0x20000000 - 0x2002FFFF) , SRAM2 (0x20030000 - 0x2003FFFF) and SRAM 3 (0x20040000 - 0x2009FFFF).I move VTOR table as per my Application Flash starting address. In code, I relocate Interrupt table to RAM for my own ISR handlers ...

Hi all, because just I have jumped to ST32 MCU, I would like ask you for help with follow general answer if its possible to do with this MCU. I have chosen MCU STM32G031G4.

 I need to generate:7 independent PWM channels, I/O outputseach channel will have 3 dependent PWM signals with phase shift 120 degrees ( total I/O outputs is 21 PWM channels)Frequency for all channels should be 3MHzDuty cycle of all PWM should vary ...

MKova.2 by Associate
  • 679 Views
  • 2 replies
  • 0 kudos