<?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 Re: Getting the pin status using PINS_DRV_ReadPins in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/Getting-the-pin-status-using-PINS-DRV-ReadPins/m-p/1459714#M2534</link>
    <description>&lt;P&gt;Hi Abhinandan,&lt;/P&gt;
&lt;P&gt;for reference, you can take a look at this SW example:&lt;/P&gt;
&lt;P&gt;c:\NXP\S32DS.3.4\S32DS\software\S32SDK_S32K1XX_RTM_4.0.2\examples\S32K118\driver_examples\system\crc_checksum\&lt;/P&gt;
&lt;P&gt;Did you configure that pin as input? For example from the project mentioned above:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1652852019177.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180081i0105A68D65799463/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1652852019177.png" alt="lukaszadrapa_0-1652852019177.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Did you call init function like this?&lt;/P&gt;
&lt;P&gt;/* Initialize pins */&lt;BR /&gt;PINS_DRV_Init(NUM_OF_CONFIGURED_PINS0, g_pin_mux_InitConfigArr0);&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
    <pubDate>Wed, 18 May 2022 05:34:47 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2022-05-18T05:34:47Z</dc:date>
    <item>
      <title>Getting the pin status using PINS_DRV_ReadPins</title>
      <link>https://community.nxp.com/t5/S32-SDK/Getting-the-pin-status-using-PINS-DRV-ReadPins/m-p/1459103#M2533</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I am working on S32K118, I want to read the status of each pins of every port ('1' or '0'), I used PINS_DRV_READPINS function, but I am not getting the required result, can you please help me with this. I am attaching the part of the code as reference, kindly let me know where I am getting it wrong. I want to print the value returned by this function on the console.&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 07:14:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Getting-the-pin-status-using-PINS-DRV-ReadPins/m-p/1459103#M2533</guid>
      <dc:creator>abhinandan</dc:creator>
      <dc:date>2022-05-17T07:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the pin status using PINS_DRV_ReadPins</title>
      <link>https://community.nxp.com/t5/S32-SDK/Getting-the-pin-status-using-PINS-DRV-ReadPins/m-p/1459714#M2534</link>
      <description>&lt;P&gt;Hi Abhinandan,&lt;/P&gt;
&lt;P&gt;for reference, you can take a look at this SW example:&lt;/P&gt;
&lt;P&gt;c:\NXP\S32DS.3.4\S32DS\software\S32SDK_S32K1XX_RTM_4.0.2\examples\S32K118\driver_examples\system\crc_checksum\&lt;/P&gt;
&lt;P&gt;Did you configure that pin as input? For example from the project mentioned above:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1652852019177.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180081i0105A68D65799463/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1652852019177.png" alt="lukaszadrapa_0-1652852019177.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Did you call init function like this?&lt;/P&gt;
&lt;P&gt;/* Initialize pins */&lt;BR /&gt;PINS_DRV_Init(NUM_OF_CONFIGURED_PINS0, g_pin_mux_InitConfigArr0);&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 05:34:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Getting-the-pin-status-using-PINS-DRV-ReadPins/m-p/1459714#M2534</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2022-05-18T05:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the pin status using PINS_DRV_ReadPins</title>
      <link>https://community.nxp.com/t5/S32-SDK/Getting-the-pin-status-using-PINS-DRV-ReadPins/m-p/1462376#M2541</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Thank You for your time in replying to my query, I am unable to access the link which you mentioned, can please resend me the link.&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 10:32:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Getting-the-pin-status-using-PINS-DRV-ReadPins/m-p/1462376#M2541</guid>
      <dc:creator>abhinandan</dc:creator>
      <dc:date>2022-05-23T10:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the pin status using PINS_DRV_ReadPins</title>
      <link>https://community.nxp.com/t5/S32-SDK/Getting-the-pin-status-using-PINS-DRV-ReadPins/m-p/1462881#M2542</link>
      <description>&lt;P&gt;You need to have S32 Design Studio 3.4 installed:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=S32DS-3-4" target="_blank"&gt;https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=S32DS-3-4&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Then select:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1653368314679.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180777i29FB085AC03AA5F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1653368314679.png" alt="lukaszadrapa_0-1653368314679.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Update the SDK package to version RTM 4.0.2:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_1-1653368337154.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180778iFE1A0353AC130366/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_1-1653368337154.png" alt="lukaszadrapa_1-1653368337154.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And then you will find the example(s) at mentioned folder on c:\ drive.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 05:00:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Getting-the-pin-status-using-PINS-DRV-ReadPins/m-p/1462881#M2542</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2022-05-24T05:00:00Z</dc:date>
    </item>
  </channel>
</rss>

