cancel
Showing results for 
Search instead for 
Did you mean: 

ADC issue : Resister value returns the address.

KenLee
Associate III

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.

 
0 REPLIES 0