This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Serial Communication (I²S)

Hello Forum,

is there anybody who has implemented the Inter-IC-Sound protocol with a 80C167? It's a simple synchronous serial protocol, the C167's SSC seems to be o. k. for that, but with the exception of the word strobe signal: The Clock is continously running. To recognize the first bit of a word (and synchronize the SSC) it must be synchronized with the word strobe signal.

My first (only mental) approach is to clear SSCBC on a transition of word strobe signal. This could be done via Pec, but eventually this isn't fast enough. In addition, the manual claims: "Do not write to SSCBC!!!"

Any ideas are welcome!

Thanks - Peter

Parents
  • You can use the transmitter of the SSC to continuously transmit some synchronization word (say, 0x8000 or something like that) which can be used by external logic to derive "loss of synchronization" signal. I'm pretty sure that you can transmit and recieve simultaniously with the SSC because I used this feature to send ACKNOWLEDGE bit when simulating I2C with the SSC.
    - Mike

Reply
  • You can use the transmitter of the SSC to continuously transmit some synchronization word (say, 0x8000 or something like that) which can be used by external logic to derive "loss of synchronization" signal. I'm pretty sure that you can transmit and recieve simultaniously with the SSC because I used this feature to send ACKNOWLEDGE bit when simulating I2C with the SSC.
    - Mike

Children
  • Hello,

    that sounds just fine. I'll do some thoughts about that. THANKS.
    Maybe sending $FF00 and do an exor externally, which output will be synchronized.
    BTW: Did you implement an I²C master or slave?
    Did you implement I²C with SSC including Clock Longing?
    With "clock longing" I mean the possibility for slaves (and masters) to delay transfers by pulling clock low?

    Greeting - Peter