ADC Overrun

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

ADC Overrun

2,007 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Andrew24 on Sun May 30 07:46:58 MST 2010
Hello, i sometimes get an ADC overrun error when trying to digitise a sequence of channels. What does it mean ?
0 项奖励
回复
1 回复

1,677 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by micrio on Sun May 30 10:03:41 MST 2010
It means that the AD converter produced another reading but that the results of the previous conversion had not been read from the data register. If this does not matter, I believe that you can ignore the error.

I am getting the error myself. I am using only channel 5. I sometimes (not all the time) get a overrun error and I don't understand why. My code only triggers a new conversion after I read the data register. I am using software controlled mode, not burst mode. With this scheme I should never get a overrun error!

Also I sometimes get a done flag for channel 0 which I am not using. I don't understand this at all!

My code works properly but I must ignore these errors.
0 项奖励
回复