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! 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
  • 2146 Views
  • 6 replies
  • 0 kudos

Resolved! SAI_AudioPlayback example with ArmClang

Hi,i tried the SAI_AudioPlayback example for the h745 discovery board. I'm using Keil and with the keil 5 armcc compiler everything works fine.Now i switched to armclang 6 and replaced the "libPDMFilter_cm7_keil_wc16.lib" with "libPDMFilter_cm7_gcc_w...

Jnevi.1 by Senior
  • 4896 Views
  • 12 replies
  • 0 kudos

ADC DMA Interrupt Not Working STM32L152

Hi, I am working on a project using STM32L152. I have ADC DMA set up as I've used in many other projects using this part. For some reason this time around ADC values are not getting ready by the micro, and when I debug I find the DMA1_Channel1_IRQHan...

EPala.2 by Associate III
  • 7485 Views
  • 10 replies
  • 1 kudos

Resolved! Jump to application code STM32F072

I have created a bootloader and application.  My bootloader appears to launch my application successfully; however, the interrupts are not functioning in the application.  I used memcpy to copy the vector table into RAM. Below shows the results of th...

memory copy.png
PBaie.1 by Associate II
  • 4176 Views
  • 8 replies
  • 0 kudos

Fx_NoR_Write_Read_File example for STM32U5x9J-DK

The example does not work. It times out:Stack:HAL_OSPI_AutoPolling() at stm32u5xx_hal_ospi.c:1,831 0x80042e8ospi_memory_reset() at lx_stm32_ospi_driver_glue.c:560 0x8001afelx_stm32_ospi_lowlevel_init() at lx_stm32_ospi_driver_glue.c:79 0x800165alx_st...

efekete by Associate
  • 1439 Views
  • 2 replies
  • 0 kudos