2025-03-17 1:09 AM
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?
so, the State is stack on the HAL_DTS_STATE_BUSY
2025-03-17 1:15 AM
Check that peripheral clock for the device is enabled on the APB/AHB
2025-03-17 3:11 AM
In which file do you enable the peripheral clock?
2025-03-17 3:22 AM
Usually an RCC function called from main.c or your stm32xyz_msp.c