LPC845 ADC Hardware Trigger (CTIMER0_MAT3)

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

LPC845 ADC Hardware Trigger (CTIMER0_MAT3)

675 Views
riteshpanchal00
Contributor I

Hello,

I am using LPCXpresso845MAX kit.

I want to Verify Amplitude and Frequency of 60Hz Sine Wave through ADC.

I am planning to Use ADC with CTIMER0_MAT3 Hardware Trigger (Match 3 channel of CTIMER0).

I have configured ADC channel 3 in Sequence B and other ADC channel (which are software triggered used for other purpose) in Sequence A.

ADC.png

And configured CTIMER with 0.16ms timer interval. (100 ADC sample for 60Hz(=16.66ms) period)

Ctimer.png

But I am not getting ADC Sequence B Interrrupt.

0 Kudos
Reply
1 Reply

649 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Ritesh Panchal ,

Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
I'd like to suggest you'd better go through the generated code firstly, maybe you can find something miss.
In addition, the post (DMA Ping-Pong application ) presents how to use the SCTimer to trigger the ADC to start a conversion sequence, it may give you some insight.

Have a great day,
TIC

 

-------------------------------------------------------------------------------
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 Kudos
Reply