Skip to contentSkip to conversation

regulator: Question about the buck_volt_range and MT6311_MAX_UV setting

DISCUSSION Axel Lin 2 participants 2 messages Jul 30, 2015 – Jul 31, 2015

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

Hi Henry,
Seems something wrong in either buck_volt_range or MT6311_MAX_UV setting.

.n_voltages = (MT6311_MAX_UV - MT6311_MIN_UV) / MT6311_STEP_UV + 1 (1400000 - 600000) / 6250 + 1 = 129
So .n_voltages = 129.

Quoted 1 line

From the buck_volt_range:

The linear range has min_sel: 0, max_sel: 0x7f (0 ~ 127, so 128 selector in this range) And the max voltage is
600000 + 0x7f * 6250 = 1393750

I don't have the datasheet, so can you double check this? Thank,
Axel

#1 lore raw

On Thu, 2015-07-30 at 21:10 +0800, Axel Lin wrote:

Hi Axel,

Oh..it was 1.4V on data sheet, but I think you're right, MT6311_MAX_UV should be 1393750 was more precisely, I will change that.

Thanks.

Quoted 18 lines

Hi Henry,
Seems something wrong in either buck_volt_range or MT6311_MAX_UV setting.

.n_voltages = (MT6311_MAX_UV - MT6311_MIN_UV) / MT6311_STEP_UV + 1 (1400000 - 600000) / 6250 + 1 = 129
So .n_voltages = 129.

From the buck_volt_range:
The linear range has min_sel: 0, max_sel: 0x7f (0 ~ 127, so 128 selector in this range) And the max voltage is
600000 + 0x7f * 6250 = 1393750

I don't have the datasheet, so can you double check this? Thank,
Axel