Hello... I'm using SPI with the PC2106, but in Master Mode. I beleive that for the Slave mode, you should check the "Chip Select" Pin, and when the master selects you, then be prepared to receive and send bytes. Hope helps a bit Ezequiel sunixs@... --- In lpc2000@yahoogroups.com, "Aalt Lokhorst" <lokhorst@s...> wrote: > Hello All, > > I want to use the SPI bus for communication between a LPC2129 and a > FPGA. I think that I will decide to make the processor the 'Master'. > > But I was wondering, suppose that I would use the LPC2129 as a Slave > instead of a Master, how can I guarantee that the write buffer gets > filled at the right moment. There is no buffer between the write buffer > and the actual shift register, so the register needs to be written in > the short interval between the transmission of the bytes (assuming a > message with several bytes). > > The problem is, if the LPC2129 is used as the Slave then the timing is > determined by the Master at the other end. Isn't this getting tricky? > > Regards, > > -- > ============================== > Aalt Lokhorst > Schut Geometrische Meettechniek bv > Duinkerkenstraat 21 > 9723 BN Groningen > P.O. Box 5225 > 9700 GE Groningen > The Netherlands > Tel: +31-50-5877877 > Fax: +31-50-5877899 > E-mail: Lokhorst@S... > ==============================
Message
Re: SPI usage
2005-01-13 by acetoel
Attachments
- No local attachments were found for this message.