Enabling GPIO pin after a certain delay

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Enabling GPIO pin after a certain delay

708件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by muppiri on Tue Jan 04 21:40:34 MST 2011
I need to enable/disable certain GPIO ports after certain delay intervals. In my application I cannot use any of the timer counters as I'm using all of the 48 PIO ports(42 pins for LQFP48- LPC1114) for GPIO.
Is there a way to solve it. If so,can someone please show me a example code or link to example code.

thanks!!

Original Attachment has been moved to: 1100946_AsmBug2.zip

0 件の賞賛
返信
2 返答(返信)

670件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Europe on Wed Jan 05 03:30:05 MST 2011
Hello Muppiri,

Can you be more specific?

What do you mean by enabling of disabling GPIO? Making them high or low?
Cann't you give a specific timer a double function? In the interrupt routine a counter vaiabel is incremented and this variabel is used in other routines to e.g. stop processes.
System tick timer also used?
Any possibilities in using the watchdog?
0 件の賞賛
返信

670件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gbm on Wed Jan 05 03:17:59 MST 2011
You can use any of 6 timers available in LPC11xx. The timers do not require external pin connection for operation. Look at LED blinkers examples provided by CodeRed - they use different timers without pin connections.
0 件の賞賛
返信