STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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...

MMust.5 by Senior II
  • 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
  • 18 replies
  • 1 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
  • 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 by Associate II
  • 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 II
  • 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 ...

DYann.1 by Senior
  • 30 replies
  • 0 kudos

Migrating from Nucleo-144 board to real IC

HI i m currently working on a H723 nucleo144 EVK, and have completed the coding and is contemplating to flash the code onto STM32H750IBK6. Question is whats the best way to port over the code (with .ioc) without recreate a new project,  new IC select...

Resolved! Blocking vs non-blocking UART using an RTOS

Hello there!I've been setting up the UART peripheral on my STM32H5 and everything works great! However, there is one thing I can't completely understand:Using an RTOS to call HAL_UART_Transmit or HAL_UART_Transmit_IT, what's the advantage of one over...

nunokisi by Associate
  • 4 replies
  • 1 kudos