??? 09/08/04 11:26 Read: times |
#77077 - RE: SPI (Serial Peripheral Interface) Responding to: ???'s previous message |
Hi Sachin,
But I didnt get specific answer to my question, Can I use normal port lines as MISO and MOSI? The Answer is yes, you can use any I/O pin of MCS-51 family for SPI Comunication. I have atleast 2 working products doing so. One product has MISO, MOSI on P1.6, and P1.7, and in the other I have them on P3.4, and P3.5. They work just fine. I have given them a pull up of 4.7k. Since I mentioned any pin of MCS51, remember the situation becomes tricky when you use P0 or P1. It will be highly dependant on the pullup resistors. You have to be very careful about what else you have connected on P0 and P2 port (memory, or SimpleI/O). Read the datasheets carefully. As a thumb rule, I always prefer to put I/O on P1, and P3. So maybe you can stick this rule and many of your designs will never give you sleepless nights. Bye, Mr. Kiran V. Sutar |
Topic | Author | Date |
SPI (Serial Peripheral Interface) | 01/01/70 00:00 | |
RE: SPI (Serial Peripheral Interface) | 01/01/70 00:00 | |
RE: SPI (Serial Peripheral Interface) | 01/01/70 00:00 | |
RE: SPI (Serial Peripheral Interface) | 01/01/70 00:00 | |
RE: SPI (Serial Peripheral Interface) | 01/01/70 00:00 | |
RE: SPI (Serial Peripheral Interface) | 01/01/70 00:00 | |
RE: SPI (Serial Peripheral Interface) | 01/01/70 00:00 | |
RE: SPI (Serial Peripheral Interface) | 01/01/70 00:00 | |
RE: SPI (Serial Peripheral Interface) | 01/01/70 00:00 | |
Standard UART Shift-Register Mode | 01/01/70 00:00 | |
RE: Standard UART Shift-Register Mode | 01/01/70 00:00 | |
RE: SPI (Serial Peripheral Interface)![]() | 01/01/70 00:00 |