Monday, August 2, 2010

Week 10 report

Report for the week  26-7-10 to 02-8-10

* I managed to modify the pcsp driver (/usr/src/linux/drivers/pcsp). It works through two files pcsp.c and pcsp_lib.c. The first one mainly initialises the alsa device and does more or less book keeping work. The second file accesses pcm data from the dma region  and sets up pwm signal correspondingly as Hunyue pointed before. There is also a lot of stuff for accessing the hardware timers which I have stripped out.
I am having some compiling problems right now using this makefile ( ) and, these files pwmsp.c(  and pwmsp_lib.c ( ). It gives me these errors .

After fixing these compiling errors, I will test this driver and make a demo for this.

No comments:

Post a Comment