Hi all,
I am initializing the ADC for a PIC18f4550 microcontroller. I am using the ADC in 10Bit mode and an external Xtal of 20MHz. Can someone please help me select Tad?
From my calculations I concluded that it should be 16*Tosc.
When doing further research online, I found a site that states Tad should be set to 32*Tosc for a 20MHz Xtal.
On another site I found, it says that Tad must not be less than 1.2us. On the other hand, the PIC18F450 datasheet states that Tad MIN. is 0.7us.
Can someone help me select this parameter for an accurate ADC conversion?
Thanks in advance.
I am initializing the ADC for a PIC18f4550 microcontroller. I am using the ADC in 10Bit mode and an external Xtal of 20MHz. Can someone please help me select Tad?
From my calculations I concluded that it should be 16*Tosc.
When doing further research online, I found a site that states Tad should be set to 32*Tosc for a 20MHz Xtal.
On another site I found, it says that Tad must not be less than 1.2us. On the other hand, the PIC18F450 datasheet states that Tad MIN. is 0.7us.
Can someone help me select this parameter for an accurate ADC conversion?
Thanks in advance.