ADC c8051F320

Discussion in 'Programmer's Corner' started by muddabir, Jul 7, 2009.

  1. muddabir

    Thread Starter New Member

    Jun 24, 2009

    I've started working on c8051f320 uC from silabs. i have a signal from an LDR(light Dependant resistor), all i need to do is interface it with the in buit ADC and in turn transmit it to UART. well i've already coded the UART part. so could any one assist me with ADC interfacing code. And i would also like to know about Vref. External Vref or VDD to be configured

    10 bit ADC 200ksps.
    its a signal analog sinal so i need only single digital bit output.(1 0r 0). which i will give to SBUF0.
    i've given my LDR signal to pin P1.0 already configured as analog pin for ADC

    Thanks in Advance
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    Assuming you have the 256 page manual, start reading at page 39. The manual is easy to get online.