| |||||
Technical Support Support Resources
Product Information | LogStick Project #5This project from Rod Crawford's LogStick Blog is the fifth of a series of examples that show how to get started using the RealView Microcontroller Development Kit for ARM devices. This project shows how to read an analog input in software on an NXP LPC2148 device. This project initializes channel 1 on AD Converter 0 for software-driven A/D with 10 bits of accuracy. The function ADC_Read powers on A/D Converter 0 and starts the conversion. When the conversion is "Done" A/D Converter 0 is powered down again. When run using the simulation environment in the RealView Microcontroller Development Kit, a button is added to the toolbox which can be used to trigger a changing voltage on the analog channel AD01. The corresponding 10-bit result is shown in one of the debuggers watch panes. LOGSTICK5.ZIP (37K) Tuesday, November 21, 2006 Estimated File Download Time: < 10 Seconds: 56Kb Modem < 10 Seconds: 128Kb ISDN < 10 Seconds: T1/Broadband | ||||
| |||||