IO expanders

Questions on other types of hardware and getting it talking to the ARM CPU
Post Reply
YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

IO expanders

Post by YahooArchive »

>from the help line
>1) purchasing the armite pro and looking for a chip. an 8 and or 16 bit out
latch. I want seriel in and have never use a seriel bus so I will follow your
thoughts Oh also needs to be dip pack.

What you are looking for is an IO expander. And the place to go look is Digikey
(IMO the best organized electronics part site)

I typed in IO expander, selected parts in DIP packages and there are a number,
mostly around $1

Microchip MCP23S17-E/SP

>2) how do you send a byte of data out all at once if possable?

You can write to the LPC2103 IO registers directly. Details on that in the NXP
User Manual, and the code will take the form of

FIO0DIR = 0x???? ' 1s set the pins as outputs
'you want to put the value in variable x out on the port 0 pins
FIO0SET = x
FIO0CLR = not x



YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: IO expanders

Post by YahooArchive »

Dear basicnode

thats a great idea for anyone needing more expansion.
I had a quick look around, but the ones I found appeared to be via USB, which
will probably introduce problems for real time stuff I am reliably
informed.....stuff like CNC for example....But if timing is not a problem, then
that is a really great way to go I feel....Thanks for the Heads up!
Greetings from

Andy Mathison

Post Reply