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

Are there logic operators available for the GPIO inputs of the ADAU1445?

SigmaDSP & SigmaStudio GerardvanBeijsterveld Apr 2, 2014 00:00 5 replies Original on forum ↗
Subscribe
GerardvanBeijsterveld Question
Apr 2, 2014 00:00

Hi,

We use the ADAU1445 audio processor for intercom - and audio purposes in a video camera system. At startup of the system we load the processor software via the I2C connection. For test purposes in the factory we use the selfboot option to load the testsoftware from an on board EEPROM. We use in the test bench the GPIO inputs to control some functions in the processor. In this way it is not necessary to relocate control register addresses after a change in the processor test software. However I need more GPIO's to control all the test functions. Are there logic operators available for the GPIO inputs in order I can create 2^n functions with n GPIO inputs?

With kind regards,

Gerard van Beijsterveld

Audio Signal Processors

adau1445

SigmaDSP Audio Processors

KJBob Reply
Apr 3, 2014 00:00

Hello Gerard.

I tried the schematic below on a ADAU1701, but the concept should also work on a -1445. Three GPIO inputs are assigned power-of-two weights by their Buffer Gate bit positions. They're added to produce a number from 0 to 7, which drives the De-Multiplexer to output a 1 in that numbered slot. The result is similar to a BCD -- 1 of 8 decoder.

Best regards,

Bob

00191d6cd98683d72b87af1bf2ec55d7.jpg
00191d6cd98683d72b87af1bf2ec55d7.jpg
00191d6cd98683d72b87af1bf2ec55d7.jpg-443x264.jpg
00191d6cd98683d72b87af1bf2ec55d7.jpg-443x264.jpg
GerardvanBeijsterveld Reply
Apr 3, 2014 00:00

Hi Bob,

Thank you.

I understand the demultiplexer outputs are able to control sigma studio functions like externally controlled xfaders?

With kind regards,

Gerard van Beijsterveld

KJBob Reply
Apr 3, 2014 00:00

Hi,

Blocks such as slew muxes (cross-fade) expect an "integer" (28.0) format control input, while other blocks (such as volume controls) expect a 5.23 full scale input. You can choose which format the demux outputs by changing its DC source input, or by using Buffer Gates at each demux output as needed. Unselected demux outputs are zero, fortunately the same in any format.

Bob

GerardvanBeijsterveld Reply
Apr 3, 2014 00:00

Thank you Bob,

I’ll try it.

Gerard van Beijsterveld

EZAdministrator Reply
Aug 2, 2018 00:00

This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

Thank you,
EZ Admin