LPC1114Xpresso board confirm adc burst mode speed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1114Xpresso board confirm adc burst mode speed

741 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by corwinb on Fri Mar 01 14:52:28 MST 2013
Anybody know how to confirm the adc speed in burst mode?
I tried polling a done bit in the control register.
If done == 1 read corresponding data register and toggle a pin.
The results are not cyclic.
Doesn't look like the done bits are used in burst mode.

Anybody know anything about this?

Thanks
Labels (1)
0 Kudos
Reply
2 Replies

704 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by corwinb on Mon Mar 04 09:22:28 MST 2013
Thanks for the reply tha.

Your suggestion worked.
For some reason I didn't think interrupts could be used with burst.




0 Kudos
Reply

704 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tha on Fri Mar 01 16:04:40 MST 2013
The simplest way would be to use the ADC sample code from the code bundle, http://www.lpcware.com/content/nxpfile/sample-code-bundle-lpc11xx-peripherals-using-keils-mdk-arm, and set the example to use burst mode with interrupt driven.  Then in the ISR handler, toggle a GPIO pin.
0 Kudos
Reply