3246 views|4 replies

1372

Posts

2

Resources
The OP
 

I thought of a problem with BlueNRG-1 ADC measuring power supply voltage [Copy link]

 The power supply voltage is measured directly using ADC and calculated as follows: This is the VREF problem. The formula uses 2.4V, so I substituted it in and calculated it. The result is quite good at 3V. But when the power supply voltage drops to 2.4V or even lower, the result will be affected... VREF cannot have a voltage of 2.4V. I haven't tested how much the error is, but I just thought about this problem, and the challenge program doesn't deal with it.
This post is from ST - Low Power RF

Latest reply

It is indeed like what you said, 0.6v corresponds to Vbias. I just tried it with an adjustable power supply with 1.5V, 1.6V and 1.8V. The result calculated by ADC is consistent with the actual voltage. According to the data sheet, the VDDA of ADC should support an input range of 1.7v~3.6V. I haven't found any corresponding information on how to implement it in practice [attach]343656[/attach]   Details Published on 2018-1-30 11:04
 
 

9720

Posts

24

Resources
2
 
The reference source can be set to 0.6V xADC_InitType.ADC_ReferenceVoltage = ADC_ReferenceVoltage_0V6;
This post is from ST - Low Power RF

Comments

I originally initialized it this way. In ADC_Init(), it is handled like this /* Set the reference voltage */ ADC->CONF_b.REFSEL = ADC_InitStruct->ADC_ReferenceVoltage; This 0.6V corresponds to REFSEL, as shown above  Details Published on 2018-1-29 23:09
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

4817

Posts

4

Resources
3
 
Is this voltage within the range?
This post is from ST - Low Power RF
 
 
 

1372

Posts

2

Resources
4
 
littleshrimp posted on 2018-1-29 16:52 You can set the reference source to 0.6V xADC_InitType.ADC_ReferenceVoltage = ADC_ReferenceVoltage_0V6;
I did it this way. In ADC_Init(), it is handled like this /* Set the reference voltage */ ADC->CONF_b.REFSEL = ADC_InitStruct->ADC_ReferenceVoltage; The 0.6V corresponds to REFSEL, as shown in the manual screenshot above, Vbias is selected. Do not modify the 2.4V
This post is from ST - Low Power RF

Comments

It is indeed like what you said, 0.6V corresponds to Vbias. I just tried it with 1.5V, 1.6V and 1.8V using an adjustable power supply. The result calculated by ADC is consistent with the actual voltage. According to the data sheet, the ADC's VDDA should support an input range of 1.7V~3.6V. I haven't found any relevant information on how to implement it in practice. [attachment]  Details Published on 2018-1-30 11:04
 
 
 

9720

Posts

24

Resources
5
 
cruelfox posted on 2018-1-29 23:09 I did it this way. In ADC_Init(), it is handled like this /* Set the reference voltage */ ...
It is indeed like what you said, 0.6v corresponds to Vbias. I just tried it with an adjustable power supply with 1.5V, 1.6V and 1.8V. The result calculated by ADC is consistent with the actual voltage. According to the data sheet, the VDDA of ADC should support an input range of 1.7v~3.6V. I haven't found any corresponding information on how to implement it in practice

This post is from ST - Low Power RF
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list