ΣSigmaStudio Ask AI Русский Log in

ADAU1467-eval and ext SPI delay

SigmaDSP & SigmaStudio allegroagitato Jan 11, 2019 00:00 3 replies Original on forum ↗
Subscribe
allegroagitato Question
Jan 11, 2019 00:00

Hi All,

I'm trying to get the external SPI delay working on the ADAU1467-EVAL board. Sadly without any luck. I've read all the documentation and searched here on the forums, but nothing appears to be working. Could someone maybe share a project or give me some pointers to get it working for the ADAU1467?

With kind regards,

Thomas

op-electronics Reply
Jan 14, 2019 00:00

Hey Thomas,

i have no ADAU1467 to test but i do have several projects with external SPI delay based upon ADAU1452. Hopefully they are pin and register compatible so i think it should work as is. External SRAM is 23LC1024, what type are you using?

This is how i setup Sigma Studio, SS for ext RAM is MP8:

Slave select channel in MP8 is zero

Hope it helps

Omar

Cattura1.PNG
Cattura1.PNG
3463.Cattura.PNG
3463.Cattura.PNG
allegroagitato Reply
Jan 18, 2019 00:00

Hi Omar,

Thanks so much for the reply, I was confusing the eeprom on the board with external sram. Luckily i had some 23lc1024's laying about at my workshop and got it working with those. The chip does seem to be pretty finnicky about which gpio pin you use for Slave Select. And it's a shame you can only use one.

With kind regards,

Thomas

DaveThib Reply
Jan 18, 2019 00:00

Hello Thomas,

There is a bit of a non-intuitive setup when it comes to the slave selects. If you use the main slave select for the master port then you use setting "0" for the slave select and no further configuration is required.

What is really strange and fooled me when I was first learning this part is that when you select any of the other slave selects, 1-6, then those are located on multipurpose pins and you have to configure the pin to be a slave select. When you do that you also have to select which slave select will be for this pin. There is where the confusion lies. So on the SPI config you as an example you can select slave select 1 (something other than the default pin). Then on the MP-Pin configuration you have to select Slave Select 0. Yes, 0! This is because it is the first of the multipurpose slave selects. This is really confusing. It is documented in the Wiki and I took a screenshot of it. I think this is where you may be running into difficulty.

Dave T

Master-Port-Slave-Select.JPG
Master-Port-Slave-Select.JPG