LPC55S69 ADC with DMA request

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

LPC55S69 ADC with DMA request

522 Views
jimmyli
Contributor IV

Hi,

     I am testing the ADC0 with DMA request function for LPC55S69, but still can't get the DMA interrupt.

    Can you help to check ?

    Thanks very much.

 

    1>Hardware: LPC55S69-EVK

    2>SDK:  2.16.0 version

    3>Configuration by config tool:

        3.1>For ADC0, DMA request when FIFO0 Watermark event

             Note: I have verified that FIFO0 Watermark event can generate the interrupt.         

jimmyli_0-1735779194245.png

    3.2>For DMA, enable ADC0 request and transfer the data to SRAM

          

jimmyli_1-1735779391517.png

jimmyli_2-1735779406194.png

    4>Question

        DMA can't generat the interrupt, and I am not sure whether ADC0 FIFO0 Watermark event request the DMA.

 

    Thanks.

Labels (1)
0 Kudos
Reply
1 Reply

504 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @jimmyli 

Thank you for your interest in NXP Semiconductors.

Question "I am not sure whether the ADC0 FIFO0 Watermark event requests the DMA."

-> I recommend that you first check whether the DMA has transferred data to the SRAM.

https://community.nxp.com/t5/LPC-Microcontrollers/Using-Configtools-to-set-up-ADC-and-DMA-from-scrat... 

https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/ADC-multi-channel-sampling-and-DMA-trans... 

For ADC + DMA, there are two threads that you can refer to. They all use the config tool developed.

 

BR

Alice

0 Kudos
Reply