Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

8 bits interface

8 bits interface

2005-10-25 by gfaurie1

Hi,

I'd like to interface a LPC2294 with a 8 bits peripheral.

If i want to read or write a register of 16 bits in this 8 bits 
peripheral how can i manage chip select :

Can chip select stay active low during two bytes reading or must i 
active low Cs for the first byte and inactive cs after first byte, 
active low cs for second byte and inactive CS ?

Thanks for your answers !

Re: [lpc2000] 8 bits interface

2005-10-25 by Richard Duits

It looks like you are planning to use bit-banging to access this chip??? 
Why not use the External Memory Controller (EMC) and let the LPC2294 do 
the rest?

If you must do bit-banging: You may leave the CS active and use two read 
or write pulses. If its the only external chip on the bus,  you can 
usually leave CS active all the time

The datasheet of the chip you are using should contain all the info you 
need.



gfaurie1 wrote:
Show quoted textHide quoted text
> Hi,
>
> I'd like to interface a LPC2294 with a 8 bits peripheral.
>
> If i want to read or write a register of 16 bits in this 8 bits
> peripheral how can i manage chip select :
>
> Can chip select stay active low during two bytes reading or must i
> active low Cs for the first byte and inactive cs after first byte,
> active low cs for second byte and inactive CS ?
>
> Thanks for your answers !
>

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.