Skip to main content
Explorer
March 17, 2025
Question

DTS STM32H5

  • March 17, 2025
  • 1 reply
  • 363 views

I created and installed the dts through the IDE according to st's explanation video.
I work with VISUAL STUDIO

i enabled the dts in my project.
I copied the files
stm32h5xx_hal_dts.h
and stm32h5xx_hal_dts.c
I'm running the DTS
And it falls on 
 
/* Check ramp coefficient */
if (RAMPVALR == 0UL)
{
return HAL_ERROR;
}

i see that RAMPVALR is zero. do you have an idea what i am missing?

liraz_abramovsky_0-1742198692256.png

so, the State is stack on the HAL_DTS_STATE_BUSY

    This topic has been closed for replies.

    1 reply

    Graduate II
    March 17, 2025

    Check that peripheral clock for the device is enabled on the APB/AHB

    Explorer
    March 17, 2025

    In which file do you enable the peripheral clock?

    Graduate II
    March 17, 2025

    Usually an RCC function called from main.c or your stm32xyz_msp.c