SPI driver for general 8051

Jul 19, 2003 2 Replies

i used to use the at89s8252's SPI driver to develop some uC application. for lowing the production cost and the availiability. i want to use the at89c51 instead of AT89s8252. however, there are any C code SPI driver for AT89c51/52? pls help and thx in advance.



Regards,



Raymond


there is a new AT89S52 coming out. rw..

Master or slave?

The differenve is in the timing. A master can control the timing itself, so a simple software bit-banger will do. A slave has to accept the timing the master chooses, which pretty often forces to hardware shift register solutions.

Tauno Voipio tauno voipio @ iki fi

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required