<?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 SPI User Interface on MPC8313eRDB board in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/SPI-User-Interface-on-MPC8313eRDB-board/m-p/165474#M966</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In advanced, I appreciated you reading this message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have mpc8313 SOC custom board and I developing linux device driver for spi controller.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you know I referenced MPC8313erdb BSP Kernel 2.6.20 that dosen't support user-level&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;device driver for spi controller on mpc8313 SOCs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need some advice for developing SPI devcie driver using mpc83xx_spi&amp;nbsp; platform_driver&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;finally for use user-level driver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So. I found some patch for BSP kernel source spidev.c. And I patch that code to BSP kernel 2.6.20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kconfig file, include header directory,Makefiel, and so on...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I failed to use spid controller in user-level(open, read, write) .&amp;nbsp; I tested that device driver "spidev"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using test code that is writtened in /linux/Documents/spi/spi_dev that fiile's name is spidev_test.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please give a little advice for my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will be helps for developing user-level device driver using mpc83xx_spi platform driver that any you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;comment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards newbei&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Mar 2009 08:33:07 GMT</pubDate>
    <dc:creator>hoyoung</dc:creator>
    <dc:date>2009-03-23T08:33:07Z</dc:date>
    <item>
      <title>SPI User Interface on MPC8313eRDB board</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/SPI-User-Interface-on-MPC8313eRDB-board/m-p/165474#M966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In advanced, I appreciated you reading this message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have mpc8313 SOC custom board and I developing linux device driver for spi controller.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you know I referenced MPC8313erdb BSP Kernel 2.6.20 that dosen't support user-level&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;device driver for spi controller on mpc8313 SOCs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need some advice for developing SPI devcie driver using mpc83xx_spi&amp;nbsp; platform_driver&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;finally for use user-level driver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So. I found some patch for BSP kernel source spidev.c. And I patch that code to BSP kernel 2.6.20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kconfig file, include header directory,Makefiel, and so on...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I failed to use spid controller in user-level(open, read, write) .&amp;nbsp; I tested that device driver "spidev"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using test code that is writtened in /linux/Documents/spi/spi_dev that fiile's name is spidev_test.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please give a little advice for my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will be helps for developing user-level device driver using mpc83xx_spi platform driver that any you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;comment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards newbei&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2009 08:33:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/SPI-User-Interface-on-MPC8313eRDB-board/m-p/165474#M966</guid>
      <dc:creator>hoyoung</dc:creator>
      <dc:date>2009-03-23T08:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: SPI User Interface on MPC8313eRDB board</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/SPI-User-Interface-on-MPC8313eRDB-board/m-p/165475#M967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a similar problem, even from my side is not clear how to pass platform_data to spi controller.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to interface an ST M25p16 to a MPC8313E cpu.&lt;BR /&gt;I am working on a demoboard MPC8313E-RDB REVA2, with the ltib-mpc8313erdb-20081222&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;~ # uname -a&lt;BR /&gt;Linux mpc8313erdb 2.6.23 #12 Tue Dec 15 14:21:22 CET 2009 ppc unknown&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have activated into the kernel configuration the following items:&lt;BR /&gt;&lt;BR /&gt;----Memory Technology Device (MTD) support&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;*&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;MTD concatenating support&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;[*]&amp;nbsp;&amp;nbsp;&amp;nbsp;MTD partitioning support&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;[*]&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;Command line partition table parsing&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;*&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Direct char device access to MTD devices&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;*&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Caching block device access to MTD devices&lt;BR /&gt;&lt;BR /&gt;---- SPI support&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;[*] SPI support&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;*&amp;gt; Freescale MPC83xx SPI controller&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;*&amp;gt; SPI EEPROMs from most vendors&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- The /dev directory doesn't show any device referring to the memory.&lt;BR /&gt;- The SPI signals except of one dummy byte during the startup phase are stucked into the idle state.&lt;BR /&gt;- I am using the m25p80.c file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have some idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Regards&lt;/P&gt;&lt;P&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; big_snauzer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Dec 2009 02:43:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/SPI-User-Interface-on-MPC8313eRDB-board/m-p/165475#M967</guid>
      <dc:creator>big_snauzer</dc:creator>
      <dc:date>2009-12-19T02:43:52Z</dc:date>
    </item>
  </channel>
</rss>

