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

Resolved! Unable to read NAND flash ID

Hello,We have been using NAND Flash (MT29F8G08ADAFAH4-AAT) interfaced with STM32L562 microcontroller using FMC interface. We are first trying to read the ID of the Flash using the below HAL API. if(HAL_NAND_Read_ID(&hnand1, &NAND_ID) != HAL_OK){retur...

Resolved! Problem calculating CRC32 with DMA (STM32U585)

Hello,perhaps someone here has an idea what's going wrong:I wrote a small program with cube ide to calculate a crc32 (standard polynom 0x4c11db7). It took me some time, but now I get the same result when using HAL_CRC_generate and 'manually' feeding ...

GunterH by Associate II
  • 1452 Views
  • 6 replies
  • 3 kudos

SoftwareSerial doesn't work on Nucleo-32L031K6

I use Arduino IDE and "STM32 MCU based boards" library to program Nucleo32. Here are the settings:I connect it directly using USB to computer.Here is my code: #include <SoftwareSerial.h> SoftwareSerial mySerial(PB6, PB1); // RX, TX void setup() { ...

Screenshot 2024-09-26 213842.png
mhd75 by Associate
  • 395 Views
  • 2 replies
  • 1 kudos

I2S-DAC - STM32NUCLEO - F410RB

Is there any example code for I2S to DAC using DMA for generating audios. Will it suitable to generate using wav data or pcm samples to generate audio using this method in this specific controller.

AMS12345 by Associate III
  • 516 Views
  • 2 replies
  • 0 kudos

GPIO pin transient load current capacity

Master:Platform: stm32G070cbQuesion:The MCU pin is driven through a 100R resistor to drive an N-channel MOS transistor (2N7002, Ciss < 50pF).When the pin is given a high output, the starting transient current peak approximates I = 3.3V / 100R = 33mA,...

q.png
Lyu.1 by Associate III
  • 693 Views
  • 4 replies
  • 0 kudos

STGAP1BS SPI communication

I'm having difficulty writing to STGAP1BS configuration registers. I'm using a Nucleo -G474RE to communicate with STGAP1BS chip on a custom board through SPI bus. Below I'm trying to configure CFG2 with the value 0xA0 but when I read back the registe...

RigolDS22.png
a24 by Associate
  • 323 Views
  • 0 replies
  • 0 kudos

Choosing MCU for motor driving

I should choose a microprocessorcontroller (to be implemented on a pcb in the future) to control a 3-phase brushless motor using field oriented control.There are really a lot of MCU models, so I would like a guide/advice that shows how to choose it a...

luke514 by Senior
  • 970 Views
  • 5 replies
  • 2 kudos

VDDA reading

I have a problem regarding VDDA on my hardware piece, that has an STM32U535RET6 chipset. According to the documentation, this exact chipset, does not have an internal reference buffer, so I'm stuck to using the VDDA/VREFINT as they are for my ADC1-IN...

Zer0_0-1727336937664.png
Zer0 by Associate II
  • 563 Views
  • 2 replies
  • 2 kudos