就TI的SPRZ295J文档(TMS320F2803x Piccolo MCU Silicon Errata)有以下几个问题:
1、假如有SOC0~3配置成“同时采样”,即SOC0、SOC1为一对,SOC2、SOC3为一对,这两次同时采样能不能用一个触发源“同时”触发?如果可以,丢弃前两个是不是就达到SPRZ295J文档中的要求而得到正确结果吗?
2、若SOC0~1(设置为同时采样)在T1时刻采样,SOC2~3(设置为同时采样)在T2时刻采样,
t=T2-T1,时间“t”的大小对SOC2~3的正确与否有没有影响?
3、若有SOC0~9,其中有同时采样、单个采样,将丢弃哪些ADC结果?
问题出自以下这几句话:
Details
When the ADC conversions are initiated by any source of trigger in either sequential or
simultaneous sampling mode, the first sample may not be the correct conversion result.
Workaround(s)
For sequential mode, discard the first sample at the beginning of every series of
conversions. For instance, if the application calls for a given series of conversions,
SOC0→SOC1→SOC2, to initiate periodically, then set up the series instead as
SOC0→SOC1→SOC2→SOC3 and only use the last three conversions, ADCRESULT1,
ADCRESULT2, ADCRESULT3, thereby discarding ADCRESULT0.
For simultaneous sample mode, discard the first sample of both the A and B channels at
the beginning of every series of conversions.
User application should validate if this workaround is acceptable in their application.