STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! I2C master and slave same time

Can I use STM32F401RCT6 to be I2C master and slave at the same time?1: For the Master, I use I2C1 -> pin PB6 and PB7, I will read data from the current sensor ICs.2: For Slave, I use I2C3 -> pin PA8 and PC9, I will send and receive data from another ...

Hoi_0-1694422529454.png
Hoi by Associate II
  • 1208 Views
  • 2 replies
  • 0 kudos

Resolved! STM32F429ZI FATFS issue

Hello,I'm trying to use FatFS with both USB HOST MSC class and SDIO.FatFS always tries to access the SD card whatever the drive number used in f_mount.May be I'm wrong with the path I use to access the devices : "0" for SD card, "1" for USB.Any help ...

zeboss49 by Associate III
  • 1040 Views
  • 2 replies
  • 0 kudos

Resolved! Clocksource for USB-Host (STM32H7)

Hello,I'm developing a USB-Host application (MSC / Fullspeed) with the STM32H743 µC (using STM32H743I-EVAL2 Board)The application works fine when using PLL3Q as clocksource.But when I use PLL1Q or RC48 as clocksource the USB "Core soft reset" timed o...

PBull by Associate III
  • 3445 Views
  • 6 replies
  • 1 kudos

Resolved! DMA on SPI

I've been trying for a while to get DMA working on SPI, it returns an error when i poll the DMA so it stays in the while loop but I can't seem to figure it out and there is not much Info that helps me. Maybe someone can help me to get it working, my ...

Hesseltjuuh_0-1694180912112.png Hesseltjuuh_2-1694180931426.png

STM32fxx I2C mem read issue

I am trying to use the HAL driver - HAL_I2C_MEM_READ(....)The stm32 is the master and there is a slave i2c device that I want to read from.  The I2C transaction goes like this: <start> <dev address> <register that I want to read address> <start> <dev...

MBish1_0-1693003461005.png MBish1_1-1693003626403.png MBish1_2-1693003982048.png MBish1_3-1693004047187.png
MBish.1 by Associate II
  • 2320 Views
  • 6 replies
  • 0 kudos