Open xu-yingjing opened 3 months ago
Hello,
There seems to be some problem with the macro definitions VREFINT_CAL_ADDR, TEMPSENSOR_CAL1_ADDR and TEMPSENSOR_CAL2_ADDR in the stm32h7rsxx_ll_adc.h file
#define VREFINT_CAL_ADDR ((uint16_t*) (0x1FF1E810UL)) #define TEMPSENSOR_CAL1_ADDR ((uint16_t*) (0x1FF1E814UL)) #define TEMPSENSOR_CAL2_ADDR ((uint16_t*) (0x1FF1E818UL))
According to the description in the datasheet, it should be defined as follows
#define VREFINT_CAL_ADDR ((uint16_t*) (0x08FFF810UL)) #define TEMPSENSOR_CAL1_ADDR ((uint16_t*) (0x08FFF814UL)) #define TEMPSENSOR_CAL2_ADDR ((uint16_t*) (0x08FFF818UL))
ST Internal Reference: 182742
Hello,
There seems to be some problem with the macro definitions VREFINT_CAL_ADDR, TEMPSENSOR_CAL1_ADDR and TEMPSENSOR_CAL2_ADDR in the stm32h7rsxx_ll_adc.h file
According to the description in the datasheet, it should be defined as follows