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

Maintaining bit definition order in bitmapped structures

I am trying to use bitmapped structures to send data to an i2c DAC. I defined the fields as:typedef enum { mcp4726_command_code_write_volatile_dac_register = 0b000, mcp4726_command_code_write_volatile_memory = 0b010, mcp4726_command_code_...

RBack.1 by Senior
  • 977 Views
  • 6 replies
  • 0 kudos

Underclocking a STM32L496RGT3

Hello allI have a custom STM32L496RGT3 based board which I've configure to run at 64MHz off the HSI using CubeIDE:void SystemClock_Config(void) { RCC_OscInitTypeDef RCC_OscInitStruct = {0}; RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};   /** Conf...

DCarr.1 by Senior
  • 936 Views
  • 4 replies
  • 0 kudos

STM32H725 SRAM1 vs SRAM2 in D2 domain

Hi!I use SRAM 1 (0x30000000 - 0x30003FFF) in D2 domain for USART2, USART3 DMA buffers. All work clean. If I use SRAM2 (0x30004000 - 0x30007FFF) just after running debug it's all right. But after "Reset chip and restart debug session" the first access...

Aleks by Associate III
  • 832 Views
  • 2 replies
  • 0 kudos

Resolved! CPU hangs when calling I2C_WaitOnFlagUntilTimeout ().

CPU hangs when calling I2C_WaitOnFlagUntilTimeout because I2C DMA interrupt handler has higher priority than system handle, so that tickcount cannot hit the Timeout. How can I resolve this trouble without consuming too much CPU ? I saw some topics ab...

SPI driver for MCP410 Controllable potentiometer

Hello. I am writing an SPI driver for STM32F407 Microcontroller to control the resistance of the MCP410 chip.The datasheet for the chip can be found here:https://ww1.microchip.com/downloads/en/DeviceDoc/11195c.pdf The I use a cheap logic analyzer tog...

0693W00000LyaItQAJ.jpg 0693W00000LyaLYQAZ.png 0693W00000LyaKQQAZ.png 0693W00000LyaHIQAZ.png
LPetr.1 by Senior II
  • 1005 Views
  • 1 replies
  • 0 kudos

Strange Characters Received with UART

Hello,I use the STM32F767 microprocessor on my PCB design. After sending back the converted data to a PC with UART, I got strange characters (in Picture1). Normally, I am supposed to get the numbers like in Picture2. The characters look like Chinese ...

AE104 by Senior
  • 4480 Views
  • 8 replies
  • 0 kudos