<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: Hello,  i want to interface two peripheris at the microco...</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174436#M6690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;As answered &lt;A href="http://forums.freescale.com/freescale/view_profile?user.id=6034" target="top"&gt;&lt;SPAN&gt;Kremer&lt;/SPAN&gt;&lt;/A&gt; , "You can put all CS low at the same time if you want. Just set the QSPI_CS field on QDR as you wish."&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; Check the following detail. The remaining QSPI lines are shared. There is no problem, if ADC is triggered by its CS active, with its DIN ignored&amp;nbsp;and its DOUT HiZ. Else, the ADC will conflict with another simultaneously selected device.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; In the later case, it is much easier to select only one device at a time.&amp;nbsp;If you still with to overlap the two devices, you will need to learn the specific ADC protocol to understand, which exactly input bits are still ignored&amp;nbsp;and which exactly output bits are HiZ.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jul 2008 14:19:25 GMT</pubDate>
    <dc:creator>admin</dc:creator>
    <dc:date>2008-07-22T14:19:25Z</dc:date>
    <item>
      <title>Hello,  i want to interface two peripheris at the microco...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174432#M6686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i want to interface two peripheris at the microcontroller mcf52223. An ADU and a memory chip.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The QSPI generate the&amp;nbsp; chip selct signal&amp;nbsp; to start the conversion of the ADU in wrap around modus.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Data were only read from the ADU. The QSPI write only any data (no ADU data) to the memory chip.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cs0 start conversion ADU&amp;nbsp; and cs1 select memory chip to write.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to use each peripheri at the same time: write Datat to memory and read Data from ADU&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I send cs0 and cs1 signals at the SAME&amp;nbsp; time to the ADU and memory chip?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jul 2008 23:37:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174432#M6686</guid>
      <dc:creator>arneschmidt79</dc:creator>
      <dc:date>2008-07-20T23:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hello,  i want to interface two peripheris at the microco...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174433#M6687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;I doubt you can get both CS lines to go low at the same time but you can just use a GPIO line to control one of the chips.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 02:12:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174433#M6687</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-07-21T02:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hello,  i want to interface two peripheris at the microco...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174434#M6688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi&lt;BR /&gt;&lt;BR /&gt;The QSPI has a mode where the 4 outputs are used to control a 4-to-16 expander. Therefore it is possible to program it to assert 2 lines at the same time. Controlling two GPIOs is however usually easier to do in general purpose applications.&lt;BR /&gt;&lt;BR /&gt;Whether it will be possible to write to one and read from another at the same time is another question - probably both chips will drive their MISO line so some buffering (diode-OR, Open-Collector-AND) will probably be necessary. Then it depends on the protocol for each chip whether it is possible to set them up (sending commands) to get them to accept data and return data in the same frame.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Mark&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.uTasker.com" rel="nofollow" target="_blank"&gt;www.uTasker.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 05:05:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174434#M6688</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2008-07-21T05:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hello,  i want to interface two peripheris at the microco...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174435#M6689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;You can put all CS low at the same time if you want. Just set the QSPI_CS field on QDR as you wish. If you make QSPI_CS field equal to 0, all 4 chip select lines will go low at the same time, since each bit controls the state of each one of the 4 lines.&lt;BR /&gt;So, to activate low CS0 and CS1 at the same time, just make QSPI_CS filed as 0x0C and it´s done.&lt;BR /&gt;&lt;BR /&gt;Message Edited by Kremer on &lt;SPAN class="date_text"&gt;2008-07-21&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;04:34 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 22:30:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174435#M6689</guid>
      <dc:creator>Kremer</dc:creator>
      <dc:date>2008-07-21T22:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hello,  i want to interface two peripheris at the microco...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174436#M6690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;As answered &lt;A href="http://forums.freescale.com/freescale/view_profile?user.id=6034" target="top"&gt;&lt;SPAN&gt;Kremer&lt;/SPAN&gt;&lt;/A&gt; , "You can put all CS low at the same time if you want. Just set the QSPI_CS field on QDR as you wish."&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; Check the following detail. The remaining QSPI lines are shared. There is no problem, if ADC is triggered by its CS active, with its DIN ignored&amp;nbsp;and its DOUT HiZ. Else, the ADC will conflict with another simultaneously selected device.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; In the later case, it is much easier to select only one device at a time.&amp;nbsp;If you still with to overlap the two devices, you will need to learn the specific ADC protocol to understand, which exactly input bits are still ignored&amp;nbsp;and which exactly output bits are HiZ.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 14:19:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174436#M6690</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2008-07-22T14:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Hello,  i want to interface two peripheris at the microco...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174437#M6691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am also facing the same problem. I am giving 3 chip select lines to the external decoder.&amp;nbsp; The decoder will&amp;nbsp;convert the 3 chip select lines in to&amp;nbsp;7 chip select lines. Hence, I want to control the &amp;nbsp;either 1 or 2 or all 3 chip select lines simultaneously. Could you please let me know how I can do that. I am attaching the code what I am using at present. When I execute the below mentioned code then all the 3 CS lines are drawn simultaneously. This is an issue because in this case i cannot output the combination 011. Could you please let me know how can I solve the problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; param = QSPI_CS3;// QSPI_CS1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; printf ("Setting Chip select as CS3, CS2 and CS0 to %d ... ", param);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; if (result == ioctl (fd, IO_IOCTL_QSPI_CHIP_SELECT, &amp;amp;param))&lt;BR /&gt;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf ("OK\n");&lt;BR /&gt;&amp;nbsp;&amp;nbsp; } else {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf ("ERROR\n");&lt;BR /&gt;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;param = QSPI_CHIP_SELECT_SET_0;&lt;BR /&gt;&amp;nbsp;ioctl(fd, IO_IOCTL_QSPI_SET_CHIP_SELECT_STATE, &amp;amp;param);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; param = QSPI_CS2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; printf ("Setting Chip select as CS3, CS2 and CS0 to %d ... ", param);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; if (result == ioctl (fd, IO_IOCTL_QSPI_CHIP_SELECT, &amp;amp;param))&lt;BR /&gt;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf ("OK\n");&lt;BR /&gt;&amp;nbsp;&amp;nbsp; } else {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf ("ERROR\n");&lt;BR /&gt;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;param = QSPI_CHIP_SELECT_SET_0;&lt;BR /&gt;&amp;nbsp;ioctl(fd, IO_IOCTL_QSPI_SET_CHIP_SELECT_STATE, &amp;amp;param);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; param = QSPI_CS0;// QSPI_CS1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; printf ("Setting Chip select as CS3, CS2 and CS0 to %d ... ", param);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; if (result == ioctl (fd, IO_IOCTL_QSPI_CHIP_SELECT, &amp;amp;param))&lt;BR /&gt;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf ("OK\n");&lt;BR /&gt;&amp;nbsp;&amp;nbsp; } else {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf ("ERROR\n");&lt;BR /&gt;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;/* Bring CS low test*/&lt;BR /&gt;&amp;nbsp;param = QSPI_CHIP_SELECT_SET_0;&lt;BR /&gt;&amp;nbsp;ioctl(fd, IO_IOCTL_QSPI_SET_CHIP_SELECT_STATE, &amp;amp;param);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; /* Bring CS high */&lt;BR /&gt;&amp;nbsp;param = QSPI_CHIP_SELECT_SET_1;&lt;BR /&gt;&amp;nbsp;ioctl(fd, IO_IOCTL_QSPI_SET_CHIP_SELECT_STATE, &amp;amp;param);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2009 16:48:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174437#M6691</guid>
      <dc:creator>yosida</dc:creator>
      <dc:date>2009-09-07T16:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Hello,  i want to interface two peripheris at the microco...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174438#M6692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://forums.freescale.com/t5/user/viewprofilepage/user-id/15762" target="_self"&gt;&lt;SPAN&gt;yosida&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;at the register level, you need to fill bits QSPI_CS (11-8) of the related QCR entries with the desired values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example: Need to pulse low CS0 during each transfer, and to pulse low CS1 during entry 7 and entry 15.&lt;/P&gt;&lt;P&gt;Passive CS is high level. First transfer at entry[0]. Last transfer at entry[15].&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The needed values of QCR[0-15] bits:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;QAR&amp;nbsp;&amp;nbsp;&amp;nbsp; CONT&amp;nbsp;&amp;nbsp;&amp;nbsp; QSPI_CS&lt;/P&gt;&lt;P&gt;---------------------------------------------------&lt;/P&gt;&lt;P&gt;0x20&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xE&lt;/P&gt;&lt;P&gt;0x21 &amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xE&lt;/P&gt;&lt;P&gt;0x22 &amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xE&lt;/P&gt;&lt;P&gt;0x23 &amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xE&lt;/P&gt;&lt;P&gt;0x24 &amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xE&lt;/P&gt;&lt;P&gt;0x25 &amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xE&lt;/P&gt;&lt;P&gt;0x26 &amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xE&lt;/P&gt;&lt;P&gt;0x27 &amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xC&lt;/P&gt;&lt;P&gt;0x28 &amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xE&lt;/P&gt;&lt;P&gt;0x29 &amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xE&lt;/P&gt;&lt;P&gt;0x2A &amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xE&lt;/P&gt;&lt;P&gt;0x2B &amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xE&lt;/P&gt;&lt;P&gt;0x2C &amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xE&lt;/P&gt;&lt;P&gt;0x2D &amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xE&lt;/P&gt;0x2E &amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xE&lt;BR /&gt;&lt;SPAN&gt;0x2F &amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xC&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by yevgenit on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-09-08&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;04:11 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 20:10:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174438#M6692</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2009-09-08T20:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Hello,  i want to interface two peripheris at the microco...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174439#M6693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yevgenit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;am using the Freescale MQX RTOS Version 3.2. The Target processor is MCF52259 Cold fire 2 family. I want to use the external 3 to 8 decoder. The input to the external decoder will be CS0, CS2 and CS3. The output of the decoder will be the 7 chip selects based on the combination of the input chip selects For example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CS3 CS2 CS0 Device&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no Device Select&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Device 1&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Device 2&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Device 3&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Device 4&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Device 5&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Device 6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This functionality can only be achieved when&amp;nbsp;I am able to control the chip selects pins simultaneously and change the status of the pins depending on the chip select line. I want to do it using MQX RTOS IOCTL routines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 20:23:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174439#M6693</guid>
      <dc:creator>yosida</dc:creator>
      <dc:date>2009-09-08T20:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5213 QSPI chip select resetting after each byte</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174440#M6694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://forums.freescale.com/freescale/view_profile?user.id=15762" target="_blank"&gt;&lt;SPAN&gt;yosida&lt;/SPAN&gt;&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;I am not familiar with MQX RTOS IOCTL routines. But, I believe, your API permits writing into QSPI registers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Let CS outputs of QSPI controller are tied to the following address inputs of the regular 3-to-8 decoder: CS3 is tied to A2 input, CS2 is tied to A1 input,&amp;nbsp; CS0 is tied to A0 input&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The value is need to be filled into QWR[CSIV]: 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The values are need to be filled into QCR:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;QAR &amp;nbsp;&amp;nbsp; entry &amp;nbsp;&amp;nbsp; CONT&amp;nbsp;&amp;nbsp;&amp;nbsp; QSPI_CS[3]&amp;nbsp;&amp;nbsp;&amp;nbsp; QSPI_CS[2]&amp;nbsp;&amp;nbsp;&amp;nbsp; QSPI_CS[1]&amp;nbsp;&amp;nbsp;&amp;nbsp; QSPI_CS[0]&amp;nbsp;&amp;nbsp;&amp;nbsp; selected&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;0x20&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&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; 0&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&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; none&lt;/P&gt;&lt;P&gt;0x21 &amp;nbsp; 1 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&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; 0&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&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; device1&lt;/P&gt;&lt;P&gt;0x22 &amp;nbsp; 2 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&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; 1 &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&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; device2&lt;/P&gt;&lt;P&gt;0x23 &amp;nbsp; 3 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&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; 1 &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&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; device3&lt;/P&gt;&lt;P&gt;0x24 &amp;nbsp; 4 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 &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; 0&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&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; device4&lt;/P&gt;&lt;P&gt;0x25 &amp;nbsp; 5 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 &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; 0&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&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; device5&lt;/P&gt;&lt;P&gt;0x26 &amp;nbsp; 6 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 &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; 1 &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&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; device6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: above example isn't tested with actual hardware.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 20:53:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Hello-i-want-to-interface-two-peripheris-at-the-microco/m-p/174440#M6694</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2009-09-08T20:53:48Z</dc:date>
    </item>
  </channel>
</rss>

