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 & SPI not working together (STM32F303K8)

Hi, I am trying to simply output information from an I2C device (DS1307 real time clock) to an SPI screen (ST7789) I have tested the code & libraries for the separate devices and they work but as soon as I try adding any SPI commands to the main.c th...

Linkpad by Associate III
  • 1817 Views
  • 5 replies
  • 2 kudos

hello, USART read doesn't work on nucleo board.

I am using stm32u575zit6q. I set Baud Rate 2500000bit/s.(my equipment is only support 2500000bits)usart write is work successful, but read is not.usart read work only 9600bit/s.How do I use the read to work over 9600baud rate? 

스크린샷 2023-10-23 113055.png
Dinggo by Associate II
  • 1425 Views
  • 5 replies
  • 0 kudos

Resolved! When will the SPI_SR_RXNE bit be set to 0?

I'm using SPI on STM32F407VGT6 This is the code I use to check the state of the SPI_SR_RXNE bit:This is the code for the LIS3DSH accelerometer, when I send data to the accelerometer in response the accelerometer sends data to the Microcontroller.This...

tim.png
MMust.5 by Senior II
  • 2597 Views
  • 7 replies
  • 3 kudos

Read data from PC to STM32 via USB CDC

Posted on February 24, 2016 at 06:02 I am working on a project. One of the part is exchanging data between PC and MCU(STM32F4) via the USB CDC. Sending data from STM32 to PC is very easy, but there is difficulty receiving data from PC. ...

rwmao by Senior
  • 19674 Views
  • 18 replies
  • 2 kudos

Resolved! CRC_POLYLENGTH_16B undeclared in STM32F030CCTx

In `STM32F030CCTx` I need to set the CRC in 16-bit length by calling HAL_CRCEx_Polynomial_Set(MATRIX_UART_settings->crc, CRC_POLY, CRC_POLYLENGTH_16B); but the compiler shows the error : 'CRC_POLYLENGTH_16B' undeclared (first use in this function) in...

Soad by Associate II
  • 1343 Views
  • 3 replies
  • 2 kudos

Resolved! STM32L4 - internal routing of opamp output to ADC

I'm trying to use the internal op-amps of an STM32L471 to amplify a small current-sense voltage before measuring it via ADC. This figure from the relevant product training resource shows an internal arrow labelled "ADC," coming from the op-amp output...

oscarw_0-1697771613803.png
oscarw by Associate II
  • 3737 Views
  • 3 replies
  • 2 kudos

Unable to program STM32F103 through UART

I created a custom board with the STM32 (F103C8T6), and I am trying to program it using a FTDI USB to Serial module. However, nothing is happening, it doesn't seem to be sending anything and when I try using STM32CubeProgrammer it says:Timeout error ...

Nv7_2-1694149065260.png Nv7_4-1694149113730.png
Nv7 by Associate III
  • 7518 Views
  • 13 replies
  • 1 kudos

CODEC with STM32

Hello, I would like to know how to retrieve the acquisition values ​​: INPUT -> ADC -> SAI -> µP like the diagram below : I have a program that works for this : DMA -> SAI -> DAC But this is not the way I would have wanted to make my CODEC work. Do ...

DYann1_0-1692602441481.png
DYann.1 by Senior II
  • 8153 Views
  • 30 replies
  • 0 kudos