This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Capture samples(audio) from ADC interface and write to PWM ( is connected to speaker)

Hi All,

I'm new to this forum,

I'm trying to write an application which captures ADC(12bit) samples in a buffer and finally  buffer data will write to PWM on BBB

ADC sampling rate is 48KHz in one channel

PWM Period is (1/48KHz) = 20ms

Please can any one suggest me "How i have to write all the samples to PWM ?"  is there any c program example?

Regards

Thiru N