Skip to main content
Visitor II
February 24, 2005
Question

ST7LITE SPI

  • February 24, 2005
  • 2 replies
  • 562 views
Posted on February 24, 2005 at 09:40

ST7LITE SPI

    This topic has been closed for replies.

    2 replies

    jpsAuthor
    Visitor II
    February 24, 2005
    Posted on February 24, 2005 at 05:48

    In my application I need to connect 4 ST7LITE15 with the SPI interface. In my application I also need to use the 7 analog ports of the ST7LITE15 !!

    Does anybody knows if it's possible to share the PB0, PB1, PB2, PB3 between SPI and analog input task ?

    Thank you for your help

    Regards

    Visitor II
    February 24, 2005
    Posted on February 24, 2005 at 09:40

    As far as I have understood your message, you can not share SPI pins with analog inputs.

    When the 4 ST7LITE15 talk over SPI, there is one master and 3 slaves. Page 76 of the ST7LITE1x datasheet shows the wiring: all MISO are linked together and the same happens for all MOSI.

    When the same inputs have to be used as analog ports, you can not remove the SPI nets even if you can set PBDDR and PBOR to acquire analog values from PB0, PB1, PB2 and PB3.

    Regards,

    EtaPhi