SSC I2S on at91sam9xe-ek

AT91SAM9 Evaluation Boards

Moderator: nferre

__Alex90__
Posts: 4
Joined: Tue May 26, 2015 7:32 am

SSC I2S on at91sam9xe-ek

Tue Apr 05, 2016 3:45 pm

Hello!

I want to feed data from processor to codec via I2S interface. basic-at73c213-ssc-i2s-project for at91sam9260-ek worked fine on my board. The parameters of I2S stream in this project are the following: sample rate 48kHz, 16 bits per sample, 2 channels. Then I tried to approach the desired parameters of I2S stream: sample rate 8kHz, 16 bits per sample, 1 channel.

I tried the following combinations:
24 kHz, 32 bits per sample, 1 channel - works fine;
24 kHz, 16 bits per sample, 2 channels - works fine;
12 kHz, 32 bits per sample, 1 channel - works fine;
12 kHz, 16 bits per sample, 2 channels - works fine;
12 kHz, 8 bits per sample, 2 channels - works fine;

12 kHz, 16 bits per sample, 1 channel - doesn`t work;
8 kHz, 16 bis per sample, 1 channel (desired settings) - doesn`t work.
TXSYN bit in SSC0_SR is 0 which means that the transmitter isn`t synchronized. All other parameters in the project are left unchanged.

Did anybody have an experience of I2S on this processor (at91sam9xe512)? I`ll be glad to receive your advices.
__Alex90__
Posts: 4
Joined: Tue May 26, 2015 7:32 am

Re: SSC I2S on at91sam9xe-ek

Sat Apr 09, 2016 8:08 am

I2S also works in the following combinations:
8 kHz, 8 bits per sample, 2 channels;
8 kHz, 16 bits per sample, 2 channels;
8 kHz, 32 bits per sample, 1 channel.

The second combination is suitable for me, but I have one more question: left and right channels data are 2 separate samples (16 bits each) or there is one 32-bit sample and codec handles it accordingly?

Return to “Evaluation and Development Boards”

Who is online

Users browsing this forum: No registered users and 1 guest