Skip to main content
Associate III
May 17, 2024
Question

ADC issue : Resister value returns the address.

Hi. I'm using Keil5.

ADC encountered an error in my program(from function HAL_ADC_PollForConversion), so I tried debugging and found the following problems.

 

111.jpg

As shown above, the register value in CFGR1 returns the address.

In a typical program(Operating Normally), the register value should be returned properly as shown below.

222.jpg

Why is this problem occurring? I looked into the manual and found nothing about these problems.

I haven't modified the contents of the Driver, and the settings for both programs are the same.

 
This topic has been closed for replies.