Audio with PWM: Difference between revisions

From ArmadeusWiki
No edit summary
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
It is possible to generate sound with the APF9328 without any sound chip, just by using the PWM output and the i.MXL possibilities:
It is possible to generate sound with the APFxxx boards without any sound chip, just by using the PWM output and the i.MX possibilities:


[[Image:AudioWithPWM.png]]
[[Image:AudioWithPWM.png]]
Line 7: Line 7:
PWM activation/deactivation is generating "clac" each time you play a sound (for the moment) but using some electronic filters or playing "blank noise" could solve the problem.
PWM activation/deactivation is generating "clac" each time you play a sound (for the moment) but using some electronic filters or playing "blank noise" could solve the problem.


==Links==
==Linux driver==
* [[PWM|Armadeus PWM driver]]
* [[PWM|Armadeus PWM driver]]
* http://www.fpga4fun.com/PWM_DAC.html


[[Image:FrenchFlag.png]][[Fr:Audio avec PWM| Cette page en français]]
==Links==
* http://www.fpga4fun.com/PWM_DAC.html FPGA PWM IP


[[Category:Audio]]
[[Category:Audio]]

Latest revision as of 14:57, 15 August 2010

It is possible to generate sound with the APFxxx boards without any sound chip, just by using the PWM output and the i.MX possibilities:

AudioWithPWM.png

Quality

Sound quality produced is low (8bits @ 8, 16 or 32KHz) but very sufficient to reproduce voice or small sounds. PWM activation/deactivation is generating "clac" each time you play a sound (for the moment) but using some electronic filters or playing "blank noise" could solve the problem.

Linux driver

Links