??? 07/19/07 16:50 Read: times |
#142041 - Why would you not use it?? Responding to: ???'s previous message |
Bernd Nollmeyer said:
I never used the HW SPI and I really see no reason why I should use it. Of course, you don't have to use it - but, if it's there, why would you not use it?! In England we say, "Why have a dog and bark yourself?" Why would you buy a car with automatic transmission, and then change the gears manually?! In most cases ... like an ADC, ENC, I2C etc. it is nonsens to use the SPI interface. Of course it's nonsense to use SPI if you have an I2C peripheral - but that's not the case here! Again, if you have an SPI peripheral (ADC, ENC, whatever), and your processor has hardware SPI, why would you choose not to use it?! What is nonsensical about using SPI when the peripheral requires it and the processor provides it?! Show me how to use the HW SPI in case of the ENC The examples you posted both use the processor's hardware SPI: http://www.8052.com/forumchat/read.phtml?id=142034 is there any way to have 3 PINs at the SPI interface? SPI is called a 3-wire interface because it requires three wires (ie, three pins) |
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 |