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

SPI Rx double buffered DMA triggered from a GPIO

Using an STM32H743Zi I'm trying to receive 32bits of data from two SPI interfaces triggered at the same time from an external GPIO at a fairly high rate e.g. ~200kHz. Trying to use double buffered DMA receive.I started by trying to get an external GP...

NPato by Associate III
  • 2419 Views
  • 10 replies
  • 0 kudos

Why the current measured form the microcontroller(Stm64 Nucleo L433RC- LPSleep mode) differ from the current value written in the datasheet?

I am using STM32L433RC -p microcontroller for current measurement. The current in the microcontroller was measured using X Nucleo LPM01A module.I was doing current measurement for Low Power Mode(Low Power Sleep Mode).The current value given in the da...

jojo8276 by Associate
  • 509 Views
  • 0 replies
  • 0 kudos

How can I use i2c to communicate two STM32F103

I want to i2c to communicate two STM32F103. one of them will be a slave and other will be master. But program is stop on this : void SendI2CByteData (I2C_TypeDef* I2Cx, uint8_t SlaveAddr, uint8_t Data){ __IO uint8_t temp = 0; I2C_GenerateSTART(I2Cx, ...

STM32F412 SPI DMA data bit-shifted

Hi.First of all, the essence of my problem is already described here - https://community.st.com/s/question/0D50X00009XkiXu/spi-dma-data-corruption?t=1567119350874In my case bug happens randomly and not very often. It could be one corrupted transactio...

0690X000009akJJQAY.png 0690X000009akJTQAY.png
ohmjke by Associate II
  • 3208 Views
  • 15 replies
  • 0 kudos

Resolved! STM32G0, DAC, DMA, TIM2

Would like to generate a 100 Hz sine signal using DAC1, channel 1 (PA4, G071 NUCLEO @ CN8.3).Would like to use TIM2 to trigger the DAC and DMA to feed the DAC.But am not successful. TIM2 is running, but DAC is not fed.Please have al look at the (bare...

JuM by Senior
  • 1429 Views
  • 7 replies
  • 0 kudos

Is STM32F103C6 can bus terminated?

I have two blackpill boards with STM32F103C6 MCU's on them, I want to explore using can bus between those two units and am wondering if I need to add termination to the cables or if those pins are internally terminated when configured for CAN.All the...

DHans.2 by Associate
  • 1329 Views
  • 3 replies
  • 0 kudos

Resolved! Problems installing X-CUBE-SPN2 into ST32CubeMX

Hi,I am trying to include in my ST32CubeMX autogenerated project the 2 axis "X-CUBE-SPN2" extension to use the "X-NUCLEO-IHM02A1" board, but the package is not available in the "Additional Software Componenets".If I downloa the package from official ...

FMora by Associate II
  • 1422 Views
  • 3 replies
  • 0 kudos

STM32G0 conterpart for STM32F0's GPIO_SetBits ?

Hello there,I am porting the implementation of a specific component that's currently working together with a STM32F0 to work with a STM32G0.Most of the functions need to be changed from the old implementation to its STM32g0_ll_xyz.h counterpart, but ...