SPI driver for general 8051

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

Reply to
Mario
Loading thread data ...

there is a new AT89S52 coming out. rw..

Reply to
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

Reply to
Tauno Voipio

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.