<?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>S12 / MagniV Microcontrollers中的主题 NE64 SERIAL COMM PORT (SCI)</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141909#M3337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hello.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My problem is with regard to the MC9S12NE64.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I need to receive/read from another device and transmit it other the ethernet to other NE64. The data has a width of 8-bits. Its PCM data from a SLIC. The SLIC pumps out this data at frequency of 256kHz.&lt;/DIV&gt;&lt;DIV&gt;I need to read this 8-bit data into the NE64. I tryed using the SCI (serial port, not spi) at the highest baud rate (1562500 baud, using PE).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I set the data width to 8bit but cant set the stop bit to 0. Is there any way i can set the stop bit to 0? Because, this stop bit messes up the data totally and i wont be able to send out 8bits back thru the ethernet to other SLIC.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Can you please show me a way to receive(or send) just 8bits (without parity or stop bits) using the SCI or even any other way?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please advise. Most appreciated.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jan 2007 17:40:12 GMT</pubDate>
    <dc:creator>Zircon</dc:creator>
    <dc:date>2007-01-04T17:40:12Z</dc:date>
    <item>
      <title>NE64 SERIAL COMM PORT (SCI)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141909#M3337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hello.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My problem is with regard to the MC9S12NE64.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I need to receive/read from another device and transmit it other the ethernet to other NE64. The data has a width of 8-bits. Its PCM data from a SLIC. The SLIC pumps out this data at frequency of 256kHz.&lt;/DIV&gt;&lt;DIV&gt;I need to read this 8-bit data into the NE64. I tryed using the SCI (serial port, not spi) at the highest baud rate (1562500 baud, using PE).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I set the data width to 8bit but cant set the stop bit to 0. Is there any way i can set the stop bit to 0? Because, this stop bit messes up the data totally and i wont be able to send out 8bits back thru the ethernet to other SLIC.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Can you please show me a way to receive(or send) just 8bits (without parity or stop bits) using the SCI or even any other way?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please advise. Most appreciated.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 17:40:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141909#M3337</guid>
      <dc:creator>Zircon</dc:creator>
      <dc:date>2007-01-04T17:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: NE64 SERIAL COMM PORT (SCI)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141910#M3338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Zircon,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The Stop and Start bits are the way that serial communication port send timing and synchronizing information.&amp;nbsp; You can't have standard serial communication without them.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;There are two problems which they solve:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;One is indicating that a character is being sent.&amp;nbsp; The channel idles at asserted.&amp;nbsp; When the channel becomes de-asserted, that indicates that a character is starting (the start bit ).&amp;nbsp; The start bit and the data bits that follow it are sent at the specified baud rate.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The other is to allow for the fact that the clock on the sending end will not be quite the same frequency as the clock on the receiving end.&amp;nbsp; Sending a stop bit that is always de-asserted allows the receiver to check that is in synch with the transmitter, and gives time for the end with the slower clock time to catch up.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;There are other ways to deal with these problems, but mechanical teleprinters started using this method in the early 1900's and in the 1960's the computer industry started using mechanical teleprinters as terminals because they were (relatively) reliable, inexpensive, and already able to work through a phone line.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Could you tell us more about this 256 KHz bit stream?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Can you get a 256 KHz clock signal from the source?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How are you supposed to synchronize your receiver with it?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 03:34:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141910#M3338</guid>
      <dc:creator>StephenRussell</dc:creator>
      <dc:date>2007-01-05T03:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: NE64 SERIAL COMM PORT (SCI)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141911#M3339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Steve Russell ,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your reply. Here is more info on my project.--&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have to design&amp;nbsp; a VoIP telephone system. I am using&amp;nbsp; the NE64 and si3210 proSLIC from Silabs (are you familiar with this?). So, this SLIC digitizes the voices and pumps it out as PCM data at a rate of 256kHz. This the lowest rate that it can operate at.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;FONT color="#6699FF"&gt;Could you tell us more about this 256 KHz bit stream?&lt;/FONT&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#663399"&gt;This is a 8-bit data stream&amp;nbsp;at a rate of 256kHz.&amp;nbsp;&amp;nbsp;I can&amp;nbsp;also set the SLIC to output the data&amp;nbsp;in a 16-bit stream. &amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#6699FF"&gt;&lt;EM&gt;Can you get a 256 KHz clock signal from the source?&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#663399"&gt;I am using a external clock circuit to provide the SLIC&amp;nbsp;with 256kHz (PCLK). There is also another 8kHz (FYNC) clock provided to the SLIC by the same ext clock. So, yes I can get the clock from the source, if this is what you meant.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#6699FF"&gt;&lt;EM&gt;How are you supposed to synchronize your receiver (mcu)&amp;nbsp;with it?&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#663399"&gt;I am not really sure on how to do this. could you please suggest something.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#663399"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#663399"&gt;If you need any more info, please mention,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#663399"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#663399"&gt;Thanks&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#663399"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 15:05:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141911#M3339</guid>
      <dc:creator>Zircon</dc:creator>
      <dc:date>2007-01-05T15:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: NE64 SERIAL COMM PORT (SCI)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141912#M3340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;You want 8 bits, no start/stop. You have a clock.&lt;BR /&gt;Why can't you use SPI then?&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 19:57:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141912#M3340</guid>
      <dc:creator>Lundin</dc:creator>
      <dc:date>2007-01-05T19:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: NE64 SERIAL COMM PORT (SCI)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141913#M3341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Lundin,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I could use SPI but the problem is that i am already using the spi to control the slic and the NE64 only has one spi port.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;any other suggestions?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2007 01:21:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141913#M3341</guid>
      <dc:creator>Zircon</dc:creator>
      <dc:date>2007-01-06T01:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: NE64 SERIAL COMM PORT (SCI)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141914#M3342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Zircon,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It sounds like you could use the SPI interface.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You could use the 256 KHz clock as the SPI clock.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;There would still be a problem in synchronizing the bit steam with the 8 bit bytes in the PCM data stream.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you just have a serial PCM bit stream with a clock, you don't have any clue as to where one sample ends and the next one begins.&amp;nbsp; This problem would be present for any user of the SLIC and is probably addressed in some detail of the SLIC part.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It sounds like the SLIC may have been designed for an SPI interface.&amp;nbsp; Look closely at the datasheet to see what clues the SLIC gives about where the byte boundaries are.&amp;nbsp; See if the SLIC manufacturer has any application notes on how to use the part.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2007 02:01:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141914#M3342</guid>
      <dc:creator>StephenRussell</dc:creator>
      <dc:date>2007-01-06T02:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: NE64 SERIAL COMM PORT (SCI)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141915#M3343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;There are two possibilities for using the SPI:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You could multiplex the two uses by using separate GPIO bits for selection.&amp;nbsp; As you probably don't need to do change anything when the SLIC part is streaming PCM data at you, this probably could be made to work.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The other possibility is to use GPIO pins and a "bit banging" program to operate the control SPI and dedicate the hardware SPI to reading the PCM stream.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2007 02:07:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141915#M3343</guid>
      <dc:creator>StephenRussell</dc:creator>
      <dc:date>2007-01-06T02:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: NE64 SERIAL COMM PORT (SCI)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141916#M3344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Steve Russell ,&lt;BR /&gt;&lt;BR /&gt;Please have look at the two images found:&lt;BR /&gt;&lt;A href="http://picasaweb.google.com/yeminah/PCM" target="test_blank"&gt;http://picasaweb.google.com/yeminah/PCM&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The PCM data starts on the rising edge of the FSYNC (8kHz) and&lt;BR /&gt;ends on the falling edge of FSYNC. I am positive (rechecked in&lt;BR /&gt;datasheet) that the SLIC doenst allow any SPI interface for&lt;BR /&gt;the PCM part.&lt;BR /&gt;&lt;BR /&gt;What do you suggest will be the best option out, considering the&lt;BR /&gt;limitations of the NE64. ?&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;Zircon&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2007 22:51:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141916#M3344</guid>
      <dc:creator>Zircon</dc:creator>
      <dc:date>2007-01-06T22:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: NE64 SERIAL COMM PORT (SCI)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141917#M3345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Zircon,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for the further info.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I read the datasheet for the SLIC part, and was impressed by how little they said about the "PCM Highway".&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I then searched the web, and found a 10 page application not from AMD:&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.nalanda.nitc.ac.in/industry/AppNotes/AMD/22034.pdf" rel="nofollow" target="_blank"&gt;http://www.nalanda.nitc.ac.in/industry/AppNotes/AMD/22034.pdf&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;titled &lt;FONT size="2"&gt;"Mysteries of the PCM Highway"&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Which tells a great deal about the "PCM Highway".&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The "PCM Highway" is certainly not standard SPI or SCI.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It is clearly designed as a way of multiplexing many SLIC parts as part of a switching system.&amp;nbsp; The AMD applications seems to make sense with the SLIC datasheet.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It might be possible to fool the SPI interface into reading and writing&amp;nbsp;one or more&amp;nbsp;SLIC parts, but it won't be simple.&amp;nbsp; Since the clock comes from the SLIC electronics, the SPI interface on the MCU would have to be configured as a slave.&amp;nbsp; (I don't remember which devices and mask sets are involved, but some HCS-12 parts have confusing errata associated with SPI slave configuration.)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It would probably be simpler if you had some external hardware to translate from the PCM clock and FSYNC signal to SPI control signals.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I don't understand how much freedom you have in configuring this system, but I'd suggest at least the extra hardware, and probably an MCU with 2 SPI interfaces, which won't cost much more.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'd also see if there are less complicated SLIC chips available with friendlyier MCU interfaces.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please tell us more about what your project requirements are.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 00:38:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141917#M3345</guid>
      <dc:creator>StephenRussell</dc:creator>
      <dc:date>2007-01-08T00:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: NE64 SERIAL COMM PORT (SCI)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141918#M3346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;It does appear that SPI could be used for the 8-bit PCM signal, with a few provisos.&amp;nbsp; I assume that the clock generator circuit also synchronously generates the the FSYNC signal, and that this is the "long" variant, as you seem to have indicated.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT size="2"&gt;Because the serial clock is generated externally, the SPI of the MCU would need to operate as a slave.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="2"&gt;The FSYNC signal would need to be inverted, to provide the active low /SS signal&amp;nbsp;required by&amp;nbsp;the SPI.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="2"&gt;With the clock rate used, each data transaction will take 25 percent of the total time - with a higher clock rate the percentage would be lower.&amp;nbsp; Prior to each FSYNC pulse, you would need to load the DRX byte to the SPI data register, and at the completion of FSYNC, you would read the DTX byte from the SLIC.&amp;nbsp; This is a case where you might consider using interrupts for the SPI.&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;The main difficulty with also sharing the SPI module for the control data, is that the SPI module would need to operate as a master in this instance.&amp;nbsp; Since this would likely involve external routing of the clock and /SS signals - an additional hardware complexity -&amp;nbsp;the simplest arrangement is probably to "bit bang" the control SPI functions, as has been previously suggested by others.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 02:03:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141918#M3346</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-01-08T02:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: NE64 SERIAL COMM PORT (SCI)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141919#M3347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Steve Russell ,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for the indepth research.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;See, I have to design a VoIP telephone system.&lt;P&gt;I have to design a VoIP telephone system. Basically interface (thru slic)&amp;nbsp;a normal telephone with an data existing network. Therefore, users should be able to make normal telephone conversations using the data network.&lt;/P&gt;&lt;P&gt;Here is more info on the project:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#6633FF"&gt;I am using a microcontroller (MCU) from Freescale, which has a built-in Ethernet port capability to do the data processing and to send data over the Ethernet. I am also using a SLIC (Si3210 ProSLIC from Silabs) to interface with the telephone, this SLIC encodes the voice to PCM samples continuously (as long the the conversation is active). This PCM data&amp;nbsp;has to be&amp;nbsp;captured into the MCU (MC9S12NE64) and stored. I need to send this PCM data via the ethernet interface of the MC9S12NE64 using UDP.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#6633FF"&gt;I need to send this pcm data (caller) and receive the other pcm data (from the called party) simultaneously via the ethernet. Hence, enabling a full duplex conversation just like on a telephone line.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#6633FF"&gt;The IP address of the destination is dependent on the phone number which was dialled,- for demo purposes, i am just going to use one phone number, i.e. 1024 =&lt;/FONT&gt; &lt;A href="http://192.168.2.1/" rel="nofollow" target="_blank"&gt;&lt;FONT color="#6633FF"&gt;192.168.2.1&lt;/FONT&gt;&lt;/A&gt; &lt;FONT color="#6633FF"&gt;- this phone number is decoded from the telephone via the SLIC.&amp;nbsp; Therefore, when the user dials 1024, the mcu tells the SLIC to start coding the PCM, this coded pcm must be captured&amp;nbsp; and must be send over the ethernet (udp protocol). The called party's mcu must receive the udp (pcm) data and send it over to the slic to be decoded and later play it over the telephone. &amp;lt;SCRIPT&amp;gt;&lt;!--  D([&amp;amp;quot;mb&amp;amp;quot;,&amp;amp;quot;&amp;amp;lt;/p&amp;amp;gt;\n&amp;amp;lt;p&amp;amp;gt;I have this final year project which is due by the like the 17th of Jan. Hopefully, with your Help and God&amp;amp;amp;#39;s grace it will be possible. ;)&amp;amp;lt;/p&amp;amp;gt;\n&amp;amp;lt;p&amp;amp;gt;=======================&amp;amp;lt;WBR&amp;amp;gt;-Progress=====================&amp;amp;lt;WBR&amp;amp;gt;===&amp;amp;lt;br&amp;amp;gt;==I can set the SLIC to do the signalling (like the ringing, dialtones, etc) of the telephone, just like a conventional phone. &amp;amp;lt;br&amp;amp;gt;==I can send and receive data using the Ethernet, implementing the UDP protocol - from an existing tcp/ip stack. tested with dummy data.\n&amp;amp;lt;/p&amp;amp;gt;\n&amp;amp;lt;div&amp;amp;gt;========================Current Problem========================&amp;amp;lt;br&amp;amp;gt;==Having trouble reading the PCM data from the SLIC to the MCU. Please see the attached files on PCM. The PCM (8-bit data width)stream is pumped out by the SLIC at a stream of 256kHz which is dependent on the FSYNC?(8kHz).?I tryed using the SCI (serial port) at the highest baud rate (1562500 baud) to read in this PCM data, but it was not successful as the SCI has a standard of ..startbit-data-stopbit. In the case of PCM on the data exists.? \n&amp;amp;lt;/div&amp;amp;gt;\n&amp;amp;lt;div&amp;amp;gt;?&amp;amp;lt;/div&amp;amp;gt;\n&amp;amp;lt;div&amp;amp;gt;The other alternative could have been to use SPI of the MCU, but i can using it to control the SLIC. I am sort of stuck here.&amp;amp;lt;/div&amp;amp;gt;\n&amp;amp;lt;p&amp;amp;gt;Could you please suggest a better way to do this? Any other ideas perhaps?&amp;amp;lt;/p&amp;amp;gt;\n&amp;amp;lt;div&amp;amp;gt;==============================&amp;amp;lt;WBR&amp;amp;gt;==============================&amp;amp;lt;WBR&amp;amp;gt;====&amp;amp;lt;/div&amp;amp;gt;\n&amp;amp;lt;div&amp;amp;gt;If you need any more info, please let me know . &amp;amp;lt;/div&amp;amp;gt;\n&amp;amp;lt;div&amp;amp;gt;?&amp;amp;lt;/div&amp;amp;gt;\n&amp;amp;lt;div&amp;amp;gt;?&amp;amp;lt;/div&amp;amp;gt;\n&amp;amp;lt;div&amp;amp;gt;Thanks&amp;amp;lt;/div&amp;amp;gt;&amp;amp;quot;,1]);//  --&gt;&amp;lt;/SCRIPT&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;It would have to nice if the mcu i am currently using (NE64) had two SPI like you suggested, but i dont know if is wise buying another mcu now as i am nearing my deadline.&lt;/P&gt;&lt;P&gt;The other thing is that i am using the spi (the only) to contro&amp;nbsp;the&amp;nbsp;slic, i use it to continously check &amp;nbsp;if the phone is offhook or onhook.&lt;/P&gt;&lt;P&gt;You referred to hardware to get the data in PCM format, do you actually get in ICs that do that ? Any other of reading pcm data in perphaps?&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Zircon&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 16:21:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141919#M3347</guid>
      <dc:creator>Zircon</dc:creator>
      <dc:date>2007-01-08T16:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: NE64 SERIAL COMM PORT (SCI)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141920#M3348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;HI :&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; i read your problem.i have same problem that i cant get proper PCM data from SI3210.can you tell how you fixed it&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 16:49:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141920#M3348</guid>
      <dc:creator>azhar_iiee</dc:creator>
      <dc:date>2008-03-17T16:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: NE64 SERIAL COMM PORT (SCI)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141921#M3349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;BR /&gt;I have a project similar&lt;BR /&gt;Im looking for a MCU/DSP have 5/6 UART, &amp;nbsp;4 PCM, 1 USB to interface with 4 GSM module and mother board&lt;BR /&gt;Can evryone suggest me a right MCU/DSP part?&lt;BR /&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 02:34:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-SERIAL-COMM-PORT-SCI/m-p/141921#M3349</guid>
      <dc:creator>nguyentien</dc:creator>
      <dc:date>2017-08-28T02:34:14Z</dc:date>
    </item>
  </channel>
</rss>

