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

ADAU1701: MP5 goes high when I set it as input

SigmaDSP & SigmaStudio FPeter Aug 12, 2020 00:00 3 replies Original on forum ↗
Subscribe
FPeter Question
Aug 12, 2020 00:00

Hi All!

I'm playing with a Chinese ADAU14/1701-DSP board:

When I try to switch the MP5 pin to any kind of input in SigmaStudio - "Input GPIO", "Input Bclk_in" - it goes to 3.3V and blocks the BCLK clock of I2S source. When I set it as "Output GPIO", it goes to zero, when I click on invert it goes to 3.3V - so it looks ok as output, but does not work as input. Am I missed something in configuration? Or is it a faulty chip? I did not find any pull-up resistor on the board related to MP5...

Thanks for the answer and best regards,
Peter

MP5

Audio Signal Processors

pull-up

SigmaDSP Audio Processors

adau1701

DaveThib Reply
Aug 12, 2020 00:00

Hello Peter,

The input pins if they are floating and not attached to anything will float up high. When they are set as an input they float up high for the same reasons if there is nothing driving them. This is normal.

Now when you say you set it to Input Bclk_In and it blocks the bit clock source? This is concerning. Do you have a schematic of what is actually attached to the pin?

Dave T

FPeter Reply
Aug 13, 2020 00:00

Hello Dave!

As first attempt, I tried to drive the I2S input of ADAU1701 module with my previous project based on an Atheros AR9331 SoC (Carambola2 SoM), a TI ISO7240 digital isolator and an ES9028 DAC chip - I tried to connect the ADAU module parallel to I2S output of the CPU before the digital isolator. Connection of DATA and LRCLK does not bother the I2S stream, the ES DAC chip works well, but when I connect the BCLK too, it pulls up the output of the source and it disables the ES DAC too...

The 308th page of AR9331 datasheet says: driving capability of GPIO pins up to 24mA, so I think it should be more than enough to drive both the isolator and ADAU chip...

https://www.openhacks.com/uploadsproductos/ar9331_datasheet.pdf

Do I have to try to connect the module through something that act as an output buffer, like a 74HC245?

Peter

pastedimage1597306614489v2.png
pastedimage1597306614489v2.png
DaveThib Reply
Aug 17, 2020 00:00

Hello Peter,

What pin number are you connecting to for the bit clock? I do not understand your pin naming in your diagram.

The pin is either the wrong pin or it is not set properly in the registers. Please attach your project as well.

It is looking like the pin is either an output or set to be an output.

Thanks,

Dave T