SAMD21J18A I2S will not work with Slotsize 16bit

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi guys...I am trying to use the I2S interface on SAMD21J18A connected to MAX98357 board from adafruit. However I have run into great difficulties. It seems not possible to stream with the following settings:

 

Slotsize: 8/16 bit

# Channels: 2

Sync: Slot or Half.

DataBitSize: 8/16 bit.

 

I can see FS and SCK output on oscilloscope. But nothing on SD0 (pin PA19).

However when I change Slot size to 24/32. I start to see data on SD0 pin. This is for transmit only, which I am using.

Output seems only to be generated when Slotsize is 24/32.

 

Is this a bug in silicon? Errata talks about a bug on RX line only. Errata also goes up to Revision C. I have a Revision D chip. Strange.....

 

Last Edited: Thu. Sep 28, 2017 - 11:02 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

 

Even I'm facing the similar problem but able to receive data but not correct.

I' using SGTL5000 and want mono mic input in samd21 xplained pro, kindly help to configure samd21 i2s as per below.

 

-- 16bit data length, mono, i2s format with dma.