Vref of VSENSE block in MM9Z1_638

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Vref of VSENSE block in MM9Z1_638

Jump to solution
887 Views
shlee8467
Contributor I

Hi.

I cannot find Vref value of VSENSE block in its datasheet.

So, I tryed to calculate the Vref by comparing the analog input voltage with the ADC value.

But it changed depending on the input voltage such as 1.6321v, 1.6430v 1.649v and the value looks strange.

I have to use PTB0~PTB3 port.

Please let me know how I can calculate the correct voltage with  or without Vref.

Thanks,

Labels (1)
0 Kudos
1 Solution
753 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Seunghwan,

There is no need to know the Vref value of VSENSE.

 

The measured selected (based on VSSEL and VSEx bits of the GPIO_VSENSE register) voltage can be calculated as follows:

1. VSENSEx: V = ACQ_VOLT[15:0] x VSxRO

pastedImage_29.png

2. PTBx: V = ACQ_VOLT[15:0] x PTB0-4VRES

pastedImage_28.png

 

Best regards,

Tomas

View solution in original post

0 Kudos
2 Replies
754 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Seunghwan,

There is no need to know the Vref value of VSENSE.

 

The measured selected (based on VSSEL and VSEx bits of the GPIO_VSENSE register) voltage can be calculated as follows:

1. VSENSEx: V = ACQ_VOLT[15:0] x VSxRO

pastedImage_29.png

2. PTBx: V = ACQ_VOLT[15:0] x PTB0-4VRES

pastedImage_28.png

 

Best regards,

Tomas

0 Kudos
753 Views
shlee8467
Contributor I

I really appreciate it. Tomas.

0 Kudos