SPI questions/observations
2004-05-21 by Art Sobel
In the process of attaching some SPI peripherals to the chip I ran into some strange behaviour. There are 4 pins to use, SPICLK, MISO, MOSI and SSCS, First the SSCS pin must be configured as an SPI PIN or the other parts of the SPI don't work at all, Next the SSCS signal is not generated, This means that I must use another GPIO as the CS signal. So now it uses 5 pins - with one more GPIO pin for every SPI peripheral. Using the fastest selection of clocks the output rate is about 12,500 D/A samples a second (each D/A sample requires 2 bytes of data output). This just about scratches the idea that the chip could produce medium quality sound output. One channel just barely then if you want to have analog in on the SPI too then the throughput just dives. How the heck did they ever think this chip could do modems? Sobellinni