Re: [Help] Implementation of PWM audio device

2025-02-23 Thread Alan C. Assis
Hi Kevin, I think it is possible to create a generic audio using PWM and DMA, but it will require two halves design (like many drivers in NuttX). The top half will implement the high end driver to be present like an audio codec to the application (this way we don't need to modify existing applica

Re: [Help] Implementation of PWM audio device

2025-02-23 Thread Kevin Witteveen
Well that's unfortunate. It feels that this kind of system will not fit in this OS without a bit of hacking. I think I will implement this at board logic. Use DMAC.h device and directly use it on the PWM register addresses after initializing them the proper way using the PWM.h device. Maybe it's po