Re: 請教各位前輩們有關ADC轉出來的值不正確(APP026-3)
|
||||
---|---|---|---|---|
新會員
|
謝謝版主和前輩的指導~我再試看看
發表於: 2009/5/13 17:43
|
|||
|
Re: 請教各位前輩們有關ADC轉出來的值不正確(APP026-3)
|
||||
---|---|---|---|---|
版主
|
APP026-3 有一出廠測試程式,程式使用 AN2 來讀取 VR1 or VR2 的 Analog input 然後顯示於 LCD. LCD 則是使用 PMP 的方式控制. 請下載參考一下:
http://www.microchip.com.tw/modules/w ... nglefile.php?cid=7&lid=80
發表於: 2009/5/13 9:42
|
|||
|
Re: 請教各位前輩們有關ADC轉出來的值不正確(APP026-3)
|
||||
---|---|---|---|---|
新會員
|
AD1CON3bits.ADCS = 0 會否太少了?
我不太清楚dsPIC24F的結構, 但正常Tad = Tcy*(ADCS+1) ; Tconv = 14*Tad; 你現在ADCS = 0, Tad 變成0, 我用的dsPIC33F最少Tad也要117ns, 你這個行嗎?
發表於: 2009/5/13 2:09
|
|||
|