Dear All,
We are using AT91SAM7S64 for one of our telecom related project. We are using several SLICs and DAAs in our design. Now there is a PCM bus in each SLIC and DAA to send and recieve voice samples. We have connected this PCM bus to the SSC interface of the MCU. And we are planning to have 32 input and output channels on this PCM bus. My first question is can we use single SSC interface to do both operations - transmission and reception of voice samples from and to the PCM bus???? And If yes can we have 32 channels (ie slots per frame) on both input and output?
Our sampling frequency is 8 KHz and there will be 8 bits per sample. Now to keep in mind the future requirements we have given 2.048 MHz clock to the transmitter and receiver of the SSC interface by external hardware. This corresponds to 32 timeslots per each frame. But right now we are using only 2 time slots on the PCM bus. I mean the other timeslots are unused. So my second question is what should I write in the DATNB field of the TFMR(Transmit Frame Mode Register) and RFMR registers of SSC Interface? Should I write (32-1)? or should I write (2-1)?
Now as the sampling freq is 8 KHz the frame will be of 125 us. But we want to read the received the voice samples every millisecond. And in one millisecond there will be 8 voice samples of each channel(timeslot). So my question is can the SSC interface store 8 voice samples of each channel in a single transfer? If yes then how will it store the samples in the buffer? will it store like - one sample of each channel then second sample of each channel and so on? or will it store like - 8 continuous samples of one channel then 8 samples of second channel and so on?
Or do we have to read 1 voice samples of all channels every 125 us?
Please can anyone who has worked on SSC answer my questions?
Thanks & regards Faiyaz Pisuwala