A question about the restart mode of ADC12B_LBA

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

A question about the restart mode of ADC12B_LBA

1,413 Views
CKing
Contributor I

I am working on MC9S12ZVL and have a question about the restart mode of ADC12B_LBA.

It is said that after the execution of EOL command a restart event is required to start the conversion from top of CSL. However, I find that the CMD_SEL can be 0b10 which means a EOL command to automatically wrap to top of CSL and continue conversion. The two statements seems to be in conflict. Can someone help me to figure out which one is right?

Tags (1)
0 Kudos
Reply
3 Replies

1,387 Views
lama
NXP TechSupport
NXP TechSupport

Hi,

The restart event start a conversion sequence from the top of the CSL, however, there are two types of possible conversions. The first one is a single CSL processing, where new restart event must be initiated to start a new sequence. The other one is restart event which starts continuous mode of conversions from the top of the list.
The first mode is used if you want to perform one ATD sequence and then process a data set. The other one is used if I do not care about moment of conversion and I need only data from last conversion set. In this case I do not have to start conversion set again and it is performed continuously but I do not have possibility of controlling exact timing of conversions so I am able only to read last data.

Best regards,

Ladislav

0 Kudos
Reply

1,363 Views
CKing
Contributor I

Hi Ladislav,

Thanks for your reply. It is very helpful. I find the continuous mode is introduced to be used in trigger mode in the manual. So the continuous mode is also available in restart mode? It feels like the main difference between restart mode and trigger mode is a restart event is followed by a trigger event in restart mode. I am thinking if this simplified control in restart mode really saves more resources or improves efficiency. Can you solve my questions about restart mode?

Best regards,

CK

0 Kudos
Reply

1,341 Views
lama
NXP TechSupport
NXP TechSupport

Hi,

Have you read chapter 10.9.7.x Conversion flow control application information.

 

Best regards,

Ladislav

0 Kudos
Reply