This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ADC LPC3250

Hello, I have a problem with the LPC3250. I want to use the Analog to Digital Converter, but I don't can find in the user manuel (Rev. 1 February 2009) the register description from ADSEL or ADCON. Can someone help me where I can find these? I have also surch by google but without a result.

With best regards
Jochen

Parents
  • Hello I have found it. You must show in the lpc325x.h and under the AD/Converter you find:

    /* A/D Converter */
    #define ADC_BASE_ADDR           0x40048000
    #define ADSTAT          (*(volatile unsigned long *)(ADC_BASE_ADDR + 0x00))
    #define ADSEL           (*(volatile unsigned long *)(ADC_BASE_ADDR + 0x04))
    #define ADCON           (*(volatile unsigned long *)(ADC_BASE_ADDR + 0x08))
    #define ADDAT           (*(volatile unsigned long *)(ADC_BASE_ADDR + 0x48))
    

Reply
  • Hello I have found it. You must show in the lpc325x.h and under the AD/Converter you find:

    /* A/D Converter */
    #define ADC_BASE_ADDR           0x40048000
    #define ADSTAT          (*(volatile unsigned long *)(ADC_BASE_ADDR + 0x00))
    #define ADSEL           (*(volatile unsigned long *)(ADC_BASE_ADDR + 0x04))
    #define ADCON           (*(volatile unsigned long *)(ADC_BASE_ADDR + 0x08))
    #define ADDAT           (*(volatile unsigned long *)(ADC_BASE_ADDR + 0x48))
    

Children
No data