cancel
Showing results for 
Search instead for 
Did you mean: 

DTS STM32H5

liraz_abramovsky
Associate II

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

3 REPLIES 3

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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

In which file do you enable the peripheral clock?

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

 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..