Difference between revisions of "Audio with PWM"

From ArmadeusWiki
Jump to: navigation, search
(Creation)
 
m
 
(7 intermediate revisions by 3 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]]
  
 
==Quality==
 
==Quality==
Achieved sound quality is low (8bits @ 8, 16 or 32KHz) but very sufficient to reproduce voice or small sounds.
+
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.
 
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==
 +
* [[PWM|Armadeus PWM driver]]
  
 
==Links==
 
==Links==
* Armadeus PWM driver
+
* http://www.fpga4fun.com/PWM_DAC.html FPGA PWM IP
* http://www.fpga4fun.com/PWM_DAC.html
+
 
 +
[[Category:Audio]]

Latest revision as of 13: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