STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Bare Metal STM32L496

void SystemClock_Config(void) { // Step 1: Enable HSI RCC->CR |= RCC_CR_HSION; // Enable HSI while (!(RCC->CR & RCC_CR_HSIRDY)); // Wait until HSI is ready // Step 2: Configure the voltage scaling PWR->CR1 |= PWR_CR1_VOS_0; // Set voltage scale to 1...

STM32L0 with HSI for UART

I have built a board that is powered using a LiC and to conserve some power i run it under 1MHz (524KHz).I need 2 UARTs and one ADC for my application. However, since there's only 1 LPUART i use second UART to connect a cheap BLE module that i can se...

MKanc.1 by Associate III
  • 272 Views
  • 3 replies
  • 1 kudos

Resolved! I2C Slave clock stretching not working using HAL

Hello, I am using an STM32F103CBT as an I2C slave. A memory buffer is to be transferred via the interface. Although hi2c1.Init.NoStretchMode = I2C_NOSTRETCH_DISABLE; is set, I cannot measure clock stretching and the first byte transferred is always 0...

i2c_debug.png
JoBil by Associate II
  • 716 Views
  • 7 replies
  • 5 kudos

STM32H5 EDATA read err

I refer to than Example  en.stm32cubeh5-v1-3-0\STM32Cube_FW_H5_V1.3.0\Projects\NUCLEO-H563ZI\Examples\FLASH\FLASH_EDATA_EraseProgram   Init and Write data in 0x0900C000 is ok.But when I restart the device and read data from 0x0900C000,the program ent...

Shiro by Associate II
  • 566 Views
  • 6 replies
  • 0 kudos

Resolved! USB DFU Mode in STM32G0

Hi all, per AN3156 it states G0 series have USB DFU mode built-in the factory bootloader, so does it mean I won't have to configure the USB Device DFU Class in the CubeMX in order to make it work? Could I configure it into other classes (like CDC Vir...

TSu.1 by Associate II
  • 305 Views
  • 1 replies
  • 1 kudos

Rewrite consecutive FLASH pages

Hello.I am creating a program to write data to multiple FLASH memories using the STM32C031.I have set FLASH page13,14,15 as new pages to be written, but only page13, which is the first page to be rewritten with FLASH, is rewritten, while page14 and 1...

shank by Associate III
  • 341 Views
  • 3 replies
  • 1 kudos