|
Some observations -
1) Speech BW is ~ 3.4 Khz, for a POTS line, so you are oversampled by ~ 2X which is
OK.
2) Your PGA is set to low power, which is ~ 3 db down at 1.8 Khz, is that what you want ?
Seems like you want to set that to high power.
3) Your buffer size is 12 characters, yet you burst out 512 samples, maybe I am missing
something here........are you decimating here ?
4) Your 24 Mhz CPU clock, 4 Mhz SPI clock, = .3 KPBS read rate from SDCARD. Is 300 bytes/
sec a fast enough sample update rate, then decimated by 12 / 512 ? Seems like this is off by
an order or magnitude.
5) PWM out must have a filter, hence a settling time, have you chosen filter components to
meet a settling time and ripple tolerance ? See attached.
Regards, Dana.
|