Amey, The ADCON0 register is for conversion time. You are asking about sampling time. At 16kHz you would need to take an A/D reading every 62.5 microseconds. This is well within the settling time of the 16c71s A/D module. Use a timer interrupt set at your sampling rate to start the A/D conversion and then use the A/D interrupt to read the answer after the conversion is complete. Once the conversion is completed the channel will begin to recharge its internal RC circuit again after 2Tad which will still give you plenty of time for the reading to settle before your next sampling point. Bob -----Original Message----- From: Amey Deosthali To: PICLIST@MITVMA.MIT.EDU Date: Monday, January 26, 1998 2:42 PM Subject: Using PIC16C71 A/D >Hi, > >I am new to PIC programming. How do you use PIC16C71 A/D for sampling an >analog signal at 8Khz or 16Khz. The ADCON0 register seems to have scaling >factors of only 2,8 and 32.. > >Thanks, > >Amey Deosthali > > >