Posts: 1
Joined: Sun Sep 30, 2018 8:48 am

DMA to PWM Serializer Mode

Thu Jun 27, 2019 9:18 pm

Hi everyone,

for my application I would to send some data allocated in RAM to PWM fifo through DMA in Kernel Space.
I would to use DMA to generate an Interrupt when the data vector is completed, so to load next one vector and trigger other behavior...

I already achieved to customize the PWM Linux Module to support Serializer Mode.

I read the BCM2835 manual and the DMA utilization (Control Block, Transfer Information, ...) in bare metal it would seems feasible, the confusing begin with DMA Engine in Linux...

Is there someone who can help me to understand how to use the DMA in Linux Kernel Space?

Thank you in advance.


Return to “Linux Kernel”