STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

IIS3DWB - FIFO timestamp decimation issue

Hi,    I am using the IIS3DWB sensors' FIFO with the following setup:/* Set Output Data Rate */err = iis3dwb_xl_data_rate_set(&dev_ctx, IIS3DWB_XL_ODR_26k7Hz);/* Set full scale */err = iis3dwb_xl_full_scale_set(&dev_ctx, IIS3DWB_16g);iis3dwb_fifo_wat...

DSaci2_0-1727435915154.png
DSaci.2 by Associate II
  • 318 Views
  • 1 replies
  • 0 kudos

Resolved! My STM32 device is overheating and has malfunctioned

Hello,We’ve designed a device that uses an STM32 microcontroller to manage various features such as I2C, UART, ADC, IWDG, DMA, Flash memory handling etc. After running smoothly for a month, the device began malfunctioning, drawing 220 mA of current a...

Wadeva by Associate III
  • 3043 Views
  • 20 replies
  • 14 kudos

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
  • 1241 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
  • 351 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
  • 436 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
  • 598 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
  • 274 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
  • 730 Views
  • 5 replies
  • 2 kudos