Skip to main content
Visitor II
October 12, 2021
Question

STM32F7 workshop, project STM32F746-DISCO, 06_DSPaudio assertion fails

  • October 12, 2021
  • 0 replies
  • 735 views

Assertion fails in stm32f7xx_hal_dma2d.c, function HAL_DMA2D_ConfigLayer() at line 845,

assert_param(IS_DMA2D_OFFSET(playerCfg->InputOffset));

playerCfg is a pointer to a struct with element LayerCfg[2] in which InputOffset is not initialized and therefore holds random values (0x20034004 and 0x001E0015 in my case).

Assertion checks for InputOffset < 0x00003FFF.

File stm32f7xx_hal_dma2d.c is of 25-June-2015, so may be there are correction(s)?

Rem.: Loaded this F7 MOOC workshop from ST site yesterday...

Best regards

Juergen

    This topic has been closed for replies.