<?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>topic S32k358 reading analog input from BJB in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k358-reading-analog-input-from-BJB/m-p/1878573#M9155</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am currently researching the application of the BJB. According to the datasheet, the 772C chip uses GPIO (0-3), CT1 as the measurment pin, or analog input. Meanwhile, it uses GPIO (4-6) as the "control signal".&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a bit of confused by the term "control signal". So if i am about to the read the Charger(+) and Charger(-) input, which is stated to be "controlled" by GPIO4 of AFE 2, does that mean I have to set the GPIO4 as digital out in s32config tool, and use the block "gpio_config","set_gpio_output", then use the "get_gpio_input" to read the analog input voltage?&lt;/P&gt;&lt;P&gt;For the 774a example, the analog input measurement is taken care of by the command "msr_get_data.&amp;nbsp; So i was also wondering if it is the same case for 772c.&lt;/P&gt;&lt;P&gt;Thank you for the help.&lt;/P&gt;</description>
    <pubDate>Fri, 31 May 2024 03:52:06 GMT</pubDate>
    <dc:creator>primo</dc:creator>
    <dc:date>2024-05-31T03:52:06Z</dc:date>
    <item>
      <title>S32k358 reading analog input from BJB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k358-reading-analog-input-from-BJB/m-p/1878573#M9155</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am currently researching the application of the BJB. According to the datasheet, the 772C chip uses GPIO (0-3), CT1 as the measurment pin, or analog input. Meanwhile, it uses GPIO (4-6) as the "control signal".&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a bit of confused by the term "control signal". So if i am about to the read the Charger(+) and Charger(-) input, which is stated to be "controlled" by GPIO4 of AFE 2, does that mean I have to set the GPIO4 as digital out in s32config tool, and use the block "gpio_config","set_gpio_output", then use the "get_gpio_input" to read the analog input voltage?&lt;/P&gt;&lt;P&gt;For the 774a example, the analog input measurement is taken care of by the command "msr_get_data.&amp;nbsp; So i was also wondering if it is the same case for 772c.&lt;/P&gt;&lt;P&gt;Thank you for the help.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 03:52:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k358-reading-analog-input-from-BJB/m-p/1878573#M9155</guid>
      <dc:creator>primo</dc:creator>
      <dc:date>2024-05-31T03:52:06Z</dc:date>
    </item>
  </channel>
</rss>

