ATD conversion seq E128

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

ATD conversion seq E128

1,804 次查看
EagleBeak
Contributor I
My questions are about mixing digital inputs with analog on the E128.
 
Of the 16 possible ATD channels, I am using 9. Is it alright to have digital inputs enabled inbetween analog inputs, i.e.
 
PAD0 - PAD7 as analog
PAD8, PAD9 as digital,
PAD10 as analog and
PAD11 - PAD15 as digital?
 
This means there are 9 total analog inputs. What happens when the Conversion Sequence Length Coding in ATDCTL3 is set to 9 conversions per sequence?  Is this the right way to do it?
 
Also, do the channels with the digital input buffers enabled by ATDIEN0 still get sampled during the conversion sequence?
 
I would like to know if when the conversion sequence length is set to 9, do PAD0 - PAD9 get analog sampled in that order during a conversion sequence, even if PAD8 and PAD9 have their digital buffers enabled?
 
Thank you,
Eagle Beak
标签 (1)
0 项奖励
回复
1 回复

759 次查看
NLFSJ
Contributor III
Hi Eagle,
 
I am not sure if you are still waiting for a reply.   Please see an embedded answers below:
 

1) question:

Of the 16 possible ATD channels, I am using 9. Is it alright to have digital inputs enabled inbetween analog inputs, i.e.

PAD0 - PAD7 as analog

PAD8, PAD9 as digital,

PAD10 as analog and

PAD11 - PAD15 as digital?

This means there are 9 total analog inputs.

Answer:

it is right to have digital inputs enabled inbetween analog inputs.

2) question:

What happens when the Conversion Sequence Length Coding in ATDCTL3 is set to 9 conversions per sequence? Is this the right way to do it?

Answer:

this is the right way to do it. If you set the Conversion Sequence Length Coding in ATDCTL3 is set to 9, you can get a sequence with 9 conversions.

3)question:

do the channels with the digital input buffers enabled by ATDIEN0 still get sampled during the conversion sequence?

Answer:

Yes.

4)question:

I would like to know if when the conversion sequence length is set to 9, do PAD0 - PAD9 get analog sampled in that order during a conversion sequence, even if PAD8 and PAD9 have their digital buffers enabled?

Answer:

Yes.PAD0 - PAD9 can get analog sampled in that order during a conversion sequence.

I hope this helps,

Regards,

Nina

0 项奖励
回复