<?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 Reading content of Microchip EEPROM (SSP) in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reading-content-of-Microchip-EEPROM-SSP/m-p/652441#M25919</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can use some help, guys...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am interfacing LPC1788/LPC4088 cpu to a 1kbit Microchip serial&amp;nbsp;EEPROM (&lt;SPAN style="font-size: 11pt;"&gt;93C46B).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;I see the SSP controller can be configured to work in the "microwire" mode... cool.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;How do I transmit 9 bits to the EEPROM to issue&amp;nbsp;its READ command?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;EEPROM datasheet requires me to send 1 as a start bit then the READ opcode '10' (2 bits)&amp;nbsp;and then A5..A0 bits of address (total of 9 bits) and then 16 clocks to allow the slave chip to output 16 bits of data. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Check out page 5 of &lt;A href="http://ww1.microchip.com/downloads/en/DeviceDoc/20001749K.pdf"&gt;http://ww1.microchip.com/downloads/en/DeviceDoc/20001749K.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;How do I configure the SSP in cpu for such operation?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Do I set Control Register's DSS bits to 9 bits transfer? 16 bits transfer?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Any other way to make this CPU and this EEPROM talk without bit-banging on gpios?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Anybody with a clue? :-)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2016 22:16:39 GMT</pubDate>
    <dc:creator>pszemol</dc:creator>
    <dc:date>2016-11-10T22:16:39Z</dc:date>
    <item>
      <title>Reading content of Microchip EEPROM (SSP)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reading-content-of-Microchip-EEPROM-SSP/m-p/652441#M25919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can use some help, guys...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am interfacing LPC1788/LPC4088 cpu to a 1kbit Microchip serial&amp;nbsp;EEPROM (&lt;SPAN style="font-size: 11pt;"&gt;93C46B).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;I see the SSP controller can be configured to work in the "microwire" mode... cool.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;How do I transmit 9 bits to the EEPROM to issue&amp;nbsp;its READ command?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;EEPROM datasheet requires me to send 1 as a start bit then the READ opcode '10' (2 bits)&amp;nbsp;and then A5..A0 bits of address (total of 9 bits) and then 16 clocks to allow the slave chip to output 16 bits of data. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Check out page 5 of &lt;A href="http://ww1.microchip.com/downloads/en/DeviceDoc/20001749K.pdf"&gt;http://ww1.microchip.com/downloads/en/DeviceDoc/20001749K.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;How do I configure the SSP in cpu for such operation?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Do I set Control Register's DSS bits to 9 bits transfer? 16 bits transfer?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Any other way to make this CPU and this EEPROM talk without bit-banging on gpios?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Anybody with a clue? :-)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 22:16:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reading-content-of-Microchip-EEPROM-SSP/m-p/652441#M25919</guid>
      <dc:creator>pszemol</dc:creator>
      <dc:date>2016-11-10T22:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Reading content of Microchip EEPROM (SSP)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reading-content-of-Microchip-EEPROM-SSP/m-p/652442#M25920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and the opportunity to serve you.&lt;/P&gt;&lt;P&gt;I'd highly recommend you to refer to the CMSIS-Compliant standard peripheral firmware driver library which contains the SSP_Microwrite demo, and I've also shared the link below.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.lpcware.com/content/nxpfile/lpc177x-and-lpc178x-cmsis-compliant-standard-peripheral-firmware-driver-library-keil" title="https://www.lpcware.com/content/nxpfile/lpc177x-and-lpc178x-cmsis-compliant-standard-peripheral-firmware-driver-library-keil"&gt;LPC177x and LPC178x CMSIS-Compliant Standard Peripheral Firmware Driver Library (Keil, IAR) | www.LPCware.com&lt;/A&gt; &lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 02:44:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reading-content-of-Microchip-EEPROM-SSP/m-p/652442#M25920</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-12-16T02:44:25Z</dc:date>
    </item>
  </channel>
</rss>

