Skip to main content
Visitor II
June 17, 2003
Question

Using SPI to decode DMX-protocol

  • June 17, 2003
  • 4 replies
  • 764 views
Posted on June 17, 2003 at 11:01

Using SPI to decode DMX-protocol

    This topic has been closed for replies.

    4 replies

    Visitor II
    June 16, 2003
    Posted on June 16, 2003 at 12:27

    Hello,

    I'm trying to generate code to decode DMX, a serial protocol.

    I can find several examples for PIC's which use the on-board UART.

    ST7lite hasn't got a UART, but only an SPI-module.

    Is it possible to do Asynchronous communication with an ST7lite?

    (I need the ST7lite because of the 4 PWM-out's)

    Thanks...

    [ This message was edited by: joble on 16-06-2003 16:00 ]
    Visitor II
    June 17, 2003
    Posted on June 17, 2003 at 05:10

    Hello again,

    I found an ST6 application note about an SPI used as a UART and I'm reading it now. Would it be possible to do the same thing on the ST7lite.

    http://www.st.com/stonline/books/pdf/docs/5832.pdf

    By doing this i do not need to add an expensive MAX3100 (UART with SPI-interface)

    Greets...

    Visitor II
    June 17, 2003
    Posted on June 17, 2003 at 08:02

    An application note providing a software UART (SCI) driver for lite devices is under writing and will be soon available!

    Visitor II
    June 17, 2003
    Posted on June 17, 2003 at 11:01

    Hi,

    This is very good news!!!

    Have you got an idea of when this app note will be released?

    I hope this software UART will be able to receive DMX (250kBaud!).

    Greets...