??? 10/25/05 10:57 Read: times |
#102892 - See what datasheet says. Responding to: ???'s previous message |
Ray Mseie said:
When i am using the AT89s8252 in Master mode, then it will shift data out in MOSI pin and receive data in MISO pin.
if i want to use it in slave mode, is it also using the same pin to get or receive data? See what datasheet says Port Pin Alternate Functions P1.0 T2 (external count input to Timer/Counter 2), clock-out P1.1 T2EX (Timer/Counter 2 capture/reload trigger and direction control) P1.4 SS (Slave port select input) P1.5 MOSI (Master data output, slave data input pin for SPI channel) P1.6 MISO (Master data input, slave data output pin for SPI channel) P1.7 SCK (Master clock output, slave clock input pin for SPI channel) Regards Sarang |
Topic | Author | Date |
Problem about AT89s8252 SPI port | 01/01/70 00:00 | |
See what datasheet says. | 01/01/70 00:00 | |
Thx Sarang . | 01/01/70 00:00 | |
I think you misspelled you state: | 01/01/70 00:00 | |
Master slave problem. | 01/01/70 00:00 | |
You must declare it | 01/01/70 00:00 | |
I do not know your derivative, but if it | 01/01/70 00:00 | |
AT89S8252 and others | 01/01/70 00:00 | |
how about this Ray | 01/01/70 00:00 | |
Thank you very much!![]() | 01/01/70 00:00 |