Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

LPC2xxx (ARM) GPIO speed

Status
Not open for further replies.

edaudio2000

Newbie level 4
Joined
Oct 20, 2006
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,316
gpio speed

I have an LPC2138 running at 60MHz. However, when I toggle the I/O pins repeatedly (using IOxSET,IOxCLR, or even IOPIN instructions), e.g.

IO0SET = 0x01
IO0CLR = 0x01
IO0SET = 0x01
IO0CLR = 0x01
IO0SET = 0x01
IO0CLR = 0x01
IO0SET = 0x01
IO0CLR = 0x01

The port toggles only at about 160nS between instructions. The resulting assembly shows no extra instructions, and I have also set the GPIO divider VPBDIV to 1. So theoretically the port should be operating at core speed, but it is only running at about a tenth of that.

Is there an intrinsic I/O limitation in LPC parts, or is there a way to run the I/O ports at a higher rate?

Thanks
 

lpc2106 assembly fast gpio

Hi

The LPC21xx can't toggel normal I/O faster then 5 MHz.

Whether you like to toggel faster you can use the LPC21xx-001 with the FAST access register


All the Best

Bobi
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top