DMA triggering function Demo for LPC55xx From CTimer0_match0 event

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

DMA triggering function Demo for LPC55xx From CTimer0_match0 event

DMA triggering function Demo for LPC55xx From CTimer0_match0 event

The document describes how to use DMA triggering mode to transfer data between memory and peripheral.

In detail, the CTimer0_match0 is configured to generate matching event with programmable period, the CTimer0 matching event triggers DMA, the DMA transfer data between a variable in memory and GPIO Toggling register(the GPIO is connected to a LED), so user can see the LED toggling. The DMA Ping-Pong modes are used, so user can observe different LED toggles.

The Example code is developed on SDK package, run on LPC55S69-EVK, the tools is MCUXpresso ver11.5.

 

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1468144%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EDMA%20triggering%20function%20Demo%20for%20LPC55xx%20From%20CTimer0_match0%20event%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1468144%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%0A%3CP%3EThe%20document%20describes%20how%20to%20use%20DMA%20triggering%20mode%20to%20transfer%20data%20between%20memory%20and%20peripheral.%3C%2FP%3E%0A%3CP%3EIn%20detail%2C%20the%20CTimer0_match0%20is%20configured%20to%20generate%20matching%20event%20with%20programmable%20period%2C%20the%20CTimer0%20matching%20event%20triggers%20DMA%2C%20the%20DMA%20transfer%20data%20between%20a%20variable%20in%20memory%20and%20GPIO%20Toggling%20register(the%20GPIO%20is%20connected%20to%20a%20LED)%2C%20so%20user%20can%20see%20the%20LED%20toggling.%20The%20DMA%20Ping-Pong%20modes%20are%20used%2C%20so%20user%20can%20observe%20different%20LED%20toggles.%3C%2FP%3E%0A%3CP%3EThe%20Example%20code%20is%20developed%20on%20SDK%20package%2C%20run%20on%20LPC55S69-EVK%2C%20the%20tools%20is%20MCUXpresso%20ver11.5.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1468144%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ELPC55xx%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎06-02-2022 02:41 AM
Updated by: