<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>S12 / MagniV MicrocontrollersのトピックPTB1 voltage measure range question</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/PTB1-voltage-measure-range-question/m-p/1687563#M19293</link>
    <description>&lt;P&gt;Hello NXP team，&lt;/P&gt;&lt;P&gt;There is a question about PTB1 to measure external voltage， this is my configuration:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TYPE_VSENSE_LIST const vList[] = {
//	ch,          avg ,      latency 
	CH_VSENSE0,   10,      12,
	CH_VSENSE1,   10,      12,  
	CH_VSENSE2,   10,      12,  
	CH_VSENSE3,   10,      12,
	CH_V_PTB1,    10,      12  
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that the max ADC value of PTB1 voltage reach the full range.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gumu_0-1689251015655.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/232219i5C9AE834A7482ED6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gumu_0-1689251015655.png" alt="gumu_0-1689251015655.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;No matter how to adjust the external voltage，The "u16VsenseValue" is aways 50100.&lt;/P&gt;&lt;P&gt;The question is the max value of 16bit ADC should be 65535,&amp;nbsp;I'd like to know &lt;SPAN&gt;&amp;nbsp;why it cannot reach the value of 65535.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks！&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2023 12:33:12 GMT</pubDate>
    <dc:creator>gumu</dc:creator>
    <dc:date>2023-07-13T12:33:12Z</dc:date>
    <item>
      <title>PTB1 voltage measure range question</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/PTB1-voltage-measure-range-question/m-p/1687563#M19293</link>
      <description>&lt;P&gt;Hello NXP team，&lt;/P&gt;&lt;P&gt;There is a question about PTB1 to measure external voltage， this is my configuration:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TYPE_VSENSE_LIST const vList[] = {
//	ch,          avg ,      latency 
	CH_VSENSE0,   10,      12,
	CH_VSENSE1,   10,      12,  
	CH_VSENSE2,   10,      12,  
	CH_VSENSE3,   10,      12,
	CH_V_PTB1,    10,      12  
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that the max ADC value of PTB1 voltage reach the full range.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gumu_0-1689251015655.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/232219i5C9AE834A7482ED6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gumu_0-1689251015655.png" alt="gumu_0-1689251015655.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;No matter how to adjust the external voltage，The "u16VsenseValue" is aways 50100.&lt;/P&gt;&lt;P&gt;The question is the max value of 16bit ADC should be 65535,&amp;nbsp;I'd like to know &lt;SPAN&gt;&amp;nbsp;why it cannot reach the value of 65535.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks！&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 12:33:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/PTB1-voltage-measure-range-question/m-p/1687563#M19293</guid>
      <dc:creator>gumu</dc:creator>
      <dc:date>2023-07-13T12:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: PTB1 voltage measure range question</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/PTB1-voltage-measure-range-question/m-p/1688026#M19295</link>
      <description>&lt;P&gt;I have enabled GAIN and the gain value is 0.7632, 50000 ≈ 65536*0.7632.&lt;/P&gt;&lt;P&gt;Fixed！&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 02:18:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/PTB1-voltage-measure-range-question/m-p/1688026#M19295</guid>
      <dc:creator>gumu</dc:creator>
      <dc:date>2023-07-14T02:18:26Z</dc:date>
    </item>
  </channel>
</rss>

