<?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: SGPIO camera interface in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-camera-interface/m-p/659262#M26178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also in M0 example code of AN11343 there are two sgpio interrupt handlers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void ATR_RAMCODE SGPIO_IRQHandler(void)&lt;/P&gt;&lt;P&gt;void SGPIO_IRQHandlerB (void)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is that for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Feb 2017 11:11:59 GMT</pubDate>
    <dc:creator>dimitrissideris</dc:creator>
    <dc:date>2017-02-06T11:11:59Z</dc:date>
    <item>
      <title>SGPIO camera interface</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-camera-interface/m-p/659258#M26174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any LPCOpen SGPIO camera example except from AN11343?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 15:52:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-camera-interface/m-p/659258#M26174</guid>
      <dc:creator>dimitrissideris</dc:creator>
      <dc:date>2017-01-31T15:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: SGPIO camera interface</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-camera-interface/m-p/659259#M26175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dimitris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have no other LPCOpen example but here is another application note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://cache.nxp.com/documents/application_note/AN11196.zip?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1" title="http://cache.nxp.com/documents/application_note/AN11196.zip?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;http://cache.nxp.com/documents/application_note/AN11196.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or this one that uses the SCT to interface with the camera:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://cache.nxp.com/assets/documents/data/en/application-notes/AN11365.pdf" title="http://cache.nxp.com/assets/documents/data/en/application-notes/AN11365.pdf"&gt;http://cache.nxp.com/assets/documents/data/en/application-notes/AN11365.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 18:41:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-camera-interface/m-p/659259#M26175</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2017-02-03T18:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: SGPIO camera interface</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-camera-interface/m-p/659260#M26176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Carlos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes i have checked the application notes you mentioned above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although they are useful, they all are for Keil boards.&lt;/P&gt;&lt;P&gt;I though maybe there is some lpcxrpresso lpcopen sgpio examples so that i can use them as base for my implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder why lpcopen examples don't have at all any spgio periph example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 08:54:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-camera-interface/m-p/659260#M26176</guid>
      <dc:creator>dimitrissideris</dc:creator>
      <dc:date>2017-02-06T08:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: SGPIO camera interface</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-camera-interface/m-p/659261#M26177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like some help for the an11343 example code implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example is a dual core M0-M4 implementation.&lt;/P&gt;&lt;P&gt;The SGPIO interrupt handler lies inside M0 example code and it handles the sgpio interrupts. The slice and pin configuration of sgpio lie in M4 example code. Ok straight forward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that in M4 example code there is a Gpio interrupt handler which is actually the VSYNC interrupt hanlder. (Vsync is connected to gpio pin not sgpio).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// GPIO IRQ slot 6 is used by VSync IRQ, common to all cameras&lt;BR /&gt;void ATR_RAMCODE GPIO6_IRQHandler(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;LPC_GPIO_PIN_INT_Type *pPinInt = LPC_GPIO_PIN_INT;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// leave M0 to process GPIO6 int&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (pPinInt-&amp;gt;RISE &amp;amp; BVON(PIQ_VSYNC))&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;// rising edge&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;// previous frame is completed&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pPinInt-&amp;gt;RISE = BVON(PIQ_VSYNC);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;NVIC_DisableIRQ(SGPIO_IINT_IRQn);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;SGPStop();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;s_ccb.vsyncCnt++;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;// judge whether is the previous frame is received&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (s_ccb.sgpIntPerFra != 0)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;__set_PRIMASK(1);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;s_ccb.rdyRxBufCnt++;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;#if 0 == IS_TWIN_RXBUF&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;#else&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;s_ccb.rcvTglBit ^= 1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;#endif&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;__set_PRIMASK(0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;s_ccb.vsyncEffCnt++;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;s_ccb.sgpIrqCntInPrevFra = s_ccb.sgpIntPerFra;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;s_ccb.sgpIntPerFra = 0;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (s_ccb.freeRxBufCnt)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;s_ccb.freeRxBufCnt--;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;#if 0 == IS_TWIN_RXBUF&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;s_ccb.pBuf = s_ccb.pRcvDbBuf-&amp;gt;aa32[0];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;#else&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;s_ccb.pBuf = s_ccb.pRcvDbBuf-&amp;gt;aa32[s_ccb.rcvTglBit];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;#endif&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;s_ccb.pBufEnd = s_ccb.pBuf + (CAP_BUF_SIZE / 4);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;SGPGetRdyToGo();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;__sev();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is some comment "&amp;nbsp;// leave M0 to process GPIO6 int".&lt;/P&gt;&lt;P&gt;Is this true;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not and comments are wrong,&lt;/P&gt;&lt;P&gt;sgpio interrupt hander is in M0 code and gpio handler for vsync is in M0?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 09:55:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-camera-interface/m-p/659261#M26177</guid>
      <dc:creator>dimitrissideris</dc:creator>
      <dc:date>2017-02-06T09:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: SGPIO camera interface</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-camera-interface/m-p/659262#M26178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also in M0 example code of AN11343 there are two sgpio interrupt handlers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void ATR_RAMCODE SGPIO_IRQHandler(void)&lt;/P&gt;&lt;P&gt;void SGPIO_IRQHandlerB (void)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is that for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 11:11:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-camera-interface/m-p/659262#M26178</guid>
      <dc:creator>dimitrissideris</dc:creator>
      <dc:date>2017-02-06T11:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: SGPIO camera interface</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-camera-interface/m-p/659263#M26179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am unable to locate the project files and code used in the Application Note&amp;nbsp;&lt;A class="" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.nxp.com%2Fassets%2Fdocuments%2Fdata%2Fen%2Fapplication-notes%2FAN11365.pdf" rel="nofollow" style="color: #3d9ce7; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;http://cache.nxp.com/assets/documents/data/en/application-notes/AN11365.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;Can you please share it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Aug 2020 10:01:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-camera-interface/m-p/659263#M26179</guid>
      <dc:creator>maneesh_pawar</dc:creator>
      <dc:date>2020-08-22T10:01:20Z</dc:date>
    </item>
  </channel>
</rss>

