<?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>S32 Design Studio中的主题 Re: IIC read/write component ADS1015 issue</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/IIC-read-write-component-ADS1015-issue/m-p/900263#M4873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried using the lpi2c_master_s32k144 example? There you could see how the SCL and SDA pins are configured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have configured the pins as they are configured in example, and it's still not working, I recommend to use external pull-ups. For this you need two pull-ups resistors of 4.7Kohm each. Wired one between VDD and SCL pin, and the other between VDD and SDA pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use external pull-ups resistors, you should disable the internal ones (see capture attached).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61885i0F114173F0F223AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please let me know if you still have problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, &lt;BR /&gt;Alina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Apr 2019 14:50:45 GMT</pubDate>
    <dc:creator>AlinaB</dc:creator>
    <dc:date>2019-04-18T14:50:45Z</dc:date>
    <item>
      <title>IIC read/write component ADS1015 issue</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/IIC-read-write-component-ADS1015-issue/m-p/900260#M4870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At first, I should let you know chip is S32K144, and it's a master. ADS1015 is slave address.&amp;nbsp; Slave address is 0x4A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I send four bytes to the IIC bus, first byte is slave address, second is register pointer. third and fourth are the parameters about the register in ADS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I use oscilloscope to get the wave form.it only send slave addr. Please see the following picture.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/skins/images/A436FB6FF8F14A9CDB0391EE475078CF/responsive_peak/images/image_not_found.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/skins/images/A436FB6FF8F14A9CDB0391EE475078CF/responsive_peak/images/image_not_found.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find it receive the ACK signal. But In the default ISR, it shows that receive NACK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it can execute write operation. See the following picture.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/skins/images/A436FB6FF8F14A9CDB0391EE475078CF/responsive_peak/images/image_not_found.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function I use is LPI2C_DRV_MasterSendData();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give me some suggestions for this issue?&lt;/P&gt;&lt;P&gt;Thanks for your support firstly.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Xiaowei.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/skins/images/A436FB6FF8F14A9CDB0391EE475078CF/responsive_peak/images/image_not_found.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 02:21:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/IIC-read-write-component-ADS1015-issue/m-p/900260#M4870</guid>
      <dc:creator>1120905896</dc:creator>
      <dc:date>2019-04-18T02:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: IIC read/write component ADS1015 issue</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/IIC-read-write-component-ADS1015-issue/m-p/900261#M4871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the master is not able to send data, but is able to receive(from capture 2 I see that master is receiving). Did I understood correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SDA waveform don't look well. Please be sure you configured both SDA and SCL pins as open-drain.&lt;BR /&gt;Do you use the internal pull-ups resistors? I recommend to disable the internal pull-ups and use external pull-ups resistors(~4.7KOhm, one for SCL, one for SDA).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you succeeded or if you have any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, &lt;BR /&gt;Alina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 09:11:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/IIC-read-write-component-ADS1015-issue/m-p/900261#M4871</guid>
      <dc:creator>AlinaB</dc:creator>
      <dc:date>2019-04-18T09:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: IIC read/write component ADS1015 issue</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/IIC-read-write-component-ADS1015-issue/m-p/900262#M4872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know why the master can't send data and also how to config it to let the master can send data.(I use PE to config pins)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Xiaowei.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 09:32:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/IIC-read-write-component-ADS1015-issue/m-p/900262#M4872</guid>
      <dc:creator>1120905896</dc:creator>
      <dc:date>2019-04-18T09:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: IIC read/write component ADS1015 issue</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/IIC-read-write-component-ADS1015-issue/m-p/900263#M4873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried using the lpi2c_master_s32k144 example? There you could see how the SCL and SDA pins are configured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have configured the pins as they are configured in example, and it's still not working, I recommend to use external pull-ups. For this you need two pull-ups resistors of 4.7Kohm each. Wired one between VDD and SCL pin, and the other between VDD and SDA pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use external pull-ups resistors, you should disable the internal ones (see capture attached).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61885i0F114173F0F223AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please let me know if you still have problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, &lt;BR /&gt;Alina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 14:50:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/IIC-read-write-component-ADS1015-issue/m-p/900263#M4873</guid>
      <dc:creator>AlinaB</dc:creator>
      <dc:date>2019-04-18T14:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: IIC read/write component ADS1015 issue</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/IIC-read-write-component-ADS1015-issue/m-p/900264#M4874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First make sure you have wired slave GND to master GND, because it seems that the GND level is lower for slave.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 15:20:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/IIC-read-write-component-ADS1015-issue/m-p/900264#M4874</guid>
      <dc:creator>AlinaB</dc:creator>
      <dc:date>2019-04-18T15:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: IIC read/write component ADS1015 issue</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/IIC-read-write-component-ADS1015-issue/m-p/900265#M4875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just tried the example, and it seems failed. I only disable the PTA2 and PTA3 for pull.&amp;nbsp; And pull up PTE16 and PTE11.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that I can't send anything except slave addr. And please see the first capture in my first message. In the wave form,it seems that I receive ACK from slave.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2019 00:07:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/IIC-read-write-component-ADS1015-issue/m-p/900265#M4875</guid>
      <dc:creator>1120905896</dc:creator>
      <dc:date>2019-04-19T00:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: IIC read/write component ADS1015 issue</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/IIC-read-write-component-ADS1015-issue/m-p/900266#M4876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;In my first picture, it seems that the electrical level of the ninth clock pulse is low. So it is ACK. but the NACK flag in MSR is 1.&amp;nbsp; I don't know which cause it. It makes me so confused.&lt;/P&gt;&lt;P&gt;Please give me some suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Xiaowei.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2019 06:05:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/IIC-read-write-component-ADS1015-issue/m-p/900266#M4876</guid>
      <dc:creator>1120905896</dc:creator>
      <dc:date>2019-04-19T06:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: IIC read/write component ADS1015 issue</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/IIC-read-write-component-ADS1015-issue/m-p/900267#M4877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the first capture I see that indeed the slave is sending ACK on the ninth clock, but also I see that the level of 0 is below the previous zeros from the address that was sent from master. It looks like slave and master don't have common GND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried using external pull-ups? Could you please detail for what you are using PTE16 and PTE11 pins?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you provide me the project that you are using for master?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, &lt;BR /&gt;Alina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2019 07:06:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/IIC-read-write-component-ADS1015-issue/m-p/900267#M4877</guid>
      <dc:creator>AlinaB</dc:creator>
      <dc:date>2019-04-19T07:06:36Z</dc:date>
    </item>
  </channel>
</rss>

