Question about BCTU CL

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Question about BCTU CL

2,318件の閲覧回数
CKing
Contributor I

Hello,

In S32K3xx, if I want to do a sequence of conversion on one ADC, I can use BCTU CL to configure a sequence and BCTU will trigger ADC multiple times, or I can configure NCMRn/JCMRn to wait for a normal/injected trigger. Is the saying right?

Thanks

CK

0 件の賞賛
返信
3 返答(返信)

2,277件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi CK,

Sorry I may not understand your question.
Section 61.3.4.2 Operation modes in normal conversions of S32K3XXRM(Rev.7) mentions that you can use One-Shot mode or Scan mode to implement sequential conversion.

61.3.4.2 Operation modes in normal conversions sequential conversion.png61.3.4.2 Operation modes in normal conversions sequential conversion.png

Section 65.3.2 Conversion list (CL) of S32K3XXRM mentions:
A CL executes a sequence of conversions on one or more target ADCs. It also stores information from the last conversion executed in a sequence except for the target ADC, which is stored in ADC select n (TRGCFG_m[ADC_SELn]).

65.3.2 Conversion list (CL) sequence of conversions.png65.3.2 Conversion list (CL) sequence of conversions.png

So I think either ADC normal conversions or BCTU CL can be used to sample a sequence of ADC channels.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信

2,151件の閲覧回数
CKing
Contributor I

Hi Robin,

Thanks for your information. I am curious about the flexibility to execute a sequence conversion.

Using CL to sample a sequence of channels is used in BCTU conversion mode. The BCTU conversion mode has the highest priority's trigger and sends one trigger to start one conversion in CL.

If I use NCMR/JCMR, only one trigger is required for a sequence conversion. However the sequence must follow the ascending order of channels to sample.

Therefore, there is not a way to start a sequence of normal conversion in any order which only requires a trigger. That is my question.

Thanks

CK

0 件の賞賛
返信

2,116件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

61.3.4 Normal trigger 
Proceed through the standard input channels in ascending order.

61.3.4 Normal trigger in ascending order.png61.3.4 Normal trigger in ascending order.png

Unfortunately I didn't find which register to start a sequence of normal conversion in any order which only requires a trigger.

0 件の賞賛
返信