DSPRelated.com
Forums

Codec code for the C5402 DSK

Started by blindf22 July 29, 2003
I am looking for codec code for the C5402 DSK (AD50 codecs) in
assembler form. The DSK example code is in C form yet my project is
in assembly. Does anyone know where to find some?

Thanks

Tim King



Tim-

> I am looking for codec code for the C5402 DSK (AD50 codecs) in
> assembler form. The DSK example code is in C form yet my project is
> in assembly. Does anyone know where to find some?

Try this:

http://groups.yahoo.com/group/c54x/message/436

Jeff Brower
system engineer
Signalogic



Tim-

> Thanks for the code. However there are two auxilary registers,
> AR1 and AR2 which are addressed internally but not defined. I assume
> they are defined externally. They are the output to the ports. Can
> you tell me the memory addressed by these two registers or not?

FC_set .int 0008h ; set FC bit: codec secondary
comm request
FC_clr .int 0000h ; clear FC bit

STM #FC_clr, AR1
STM #FC_set, AR2

Look for the above lines in file.

-Jeff > --- In , "Jeff Brower" <jbrower@s...> wrote:
>> Tim-
>>
>> > I am looking for codec code for the C5402 DSK (AD50 codecs) in
>> > assembler form. The DSK example code is in C form yet my project
> is
>> > in assembly. Does anyone know where to find some?
>>
>> Try this:
>>
>> http://groups.yahoo.com/group/c54x/message/436
>>
>> Jeff Brower
>> system engineer
>> Signalogic