AnsweredAssumed Answered

Booting a SigmaDSP in assembly (multiple bytes).

Question asked by BertaHousekeeper on Jan 5, 2015
Latest reply on Jan 5, 2015 by BertaHousekeeper

I am working with ADAU1772 and I got no Evaluation Board, I want to program my DSP using FPGA. I have read this tutorial: Booting a SigmaDSP from a microcontroller with no C compiler in FAQ but I still have some questions that I can not find anwers to.

 

First of all,  I need to create simple project in SigmaStudio. I have read SigmaStudio tutorial but the problem is that they do not take into account that you got no Evaluation Board hence my puzzlement. When I create new project I add Processor, then I am suppossed to add Communication Channels but I use none of them. Can I just skip this part of making project (do not add any communication channel), go to Schematic Tab and create my system, then generate files and program DSP?

 

Secondly, lets suppose this is part of my NumBytes_IC_1.dat :

3,

66,

and this is part of my TxBuffer_IC_1.dat:

0x00, 0x4D,   /* (80) IC 1.PAD_CONTROL5 Register */

0x00,

0x00, 0x80,   /* (81) Program Data */

0x00, 0x80,

0x01, 0x80,

etc.

 

How would my I2C transmission look like ?

 

1. Like that: ( Do I need to restart I2C after each byte in multibyte sending ? )

Start | IC Address | 0x00 | 0x4D | 0x00 | Stop

Start | IC Address | 0x00 | 0x80 | 0x00 | I2C_Restart | 0x80 | I2C_Restart | 0x01 | I2C_Restart | .... | Stop


2. Like that: (no restart)

Start | IC Address | 0x00 | 0x4D | 0x 00 | Stop

Start | IC Address | 0x00 | 0x80 | 0x00 | 0x80 | 0x01 | .... | Stop

 

3. Something else ?

 

My last question:

Do Analog Devices Audio Codec support static operations ?

I would like to stop SCL clocking during programming for lets say 500 ms. In datasheet there is no minimum SCL frequency specified, on the other hand it is not said that ADAU 1772 supports static operations.

Outcomes