| ??? 07/19/07 11:26 Read: times |
#142026 - what kind of schematic Responding to: ???'s previous message |
are you searching for. The ENC Datasheet will give you a complete overview about the Hardware. Also a datasheet for the AT89S52 is available as a pdf document on Atmels Website.
I guess your problem is "how can I connect the I/O's" ? See the following example:
void spiOut (unsigned char spioutdat) {
unsigned char bitcnt;
for (bitcnt = 0; bitcnt < 8; ++bitcnt) {
ENC_Dout = spioutdat & 128;
ENC_CLK = 1;
ENC_CLK = 0;
spioutdat <<= 1;
}
}
So its up to you, you can use any I/O. So there is no need to use the SPI interface. |
| Topic | Author | Date |
| AT89S52 and ENC28J60 | 01/01/70 00:00 | |
| Principles - again | 01/01/70 00:00 | |
| Yes, I'm using the ENC28J60 | 01/01/70 00:00 | |
| AT89S52 and ENC28J60 schematic first | 01/01/70 00:00 | |
| what kind of schematic | 01/01/70 00:00 | |
| So there is no need to drive a car | 01/01/70 00:00 | |
| you should do what you want to do | 01/01/70 00:00 | |
| echoes of Mr. Ludd | 01/01/70 00:00 | |
| who is Mr. Ludd ? | 01/01/70 00:00 | |
| your ancestor | 01/01/70 00:00 | |
| yes, thats why Ben is still using an AT89S52 | 01/01/70 00:00 | |
| HUH | 01/01/70 00:00 | |
| Is that true?? | 01/01/70 00:00 | |
| Speed? | 01/01/70 00:00 | |
| for a while | 01/01/70 00:00 | |
| Why would you not use it?? | 01/01/70 00:00 | |
| This shows you how to use the HW SPI | 01/01/70 00:00 | |
| have a look here | 01/01/70 00:00 | |
| Both of which do use the HW SPI! | 01/01/70 00:00 | |
| get it | 01/01/70 00:00 | |
| SPI port at AT89S52 with ENC28J60 | 01/01/70 00:00 | |
| HW SPI in AT89Sxxx? | 01/01/70 00:00 | |
| HW SPI in AT89SXX | 01/01/70 00:00 | |
| Ethernet connector with filters | 01/01/70 00:00 | |
The answer is in the link | 01/01/70 00:00 |



