2005-02-24 12:40 AM
2005-02-23 08:48 PM
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 Regards2005-02-24 12:40 AM
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