Reply by ASMatlock August 29, 20082008-08-29
--- In c..., "Siva Anne" wrote:
>
> hi all,
> thanks for the support given so far to me,
>
> At present i am doing a project on DSK5416, project is to implement LPC
> coder on DSK 5416.
> DSK5416 consists PCM3002E codec, this is interfaced through CPLD on board.
> This CPLD is interfaced in I/O space of the 5416 DSP chip.
>
> my doubt is accessing this I/O space in high level language.
> i have attache a screen shot which spectrum fellow has given a memory
> details.
> but he has not specified the configuration of registers to access I/O space.
> i have read the 5416 manual...in that manual he has specified I/O space can
> be accessed by PORTR and PORTW instructions there also he has not mentioned
> for high level language.
>
> now in order to access this I/O space to make use of CPLD registers
> configuration.please help me in this aspect.
>
> Awaiting for ur valuable suggestions and guidance...
> --
> V.S. Rama Krishna Anne
>

It's rather easy for C-code and a description can be found in SPRU103G (TMS320C54x
Optimizing C/C++ Compiler User's Guide) section 5.4.2. Combine the coding explanation
of the previous document with the address of the "Peripheral Memory-Mapped Registers"
of the DSK5416 which should be in SPRU131G (TMS320C54x DSP Reference Set Volume 1:
CPU and Peripherals) and you should be all set.

The only caveat that I'm not certain about is if there is a need for volatile when using this
method.

Regards,
-Aaron
Reply by Siva Anne August 27, 20082008-08-27
hi all,
thanks for the support given so far to me,

At present i am doing a project on DSK5416, project is to implement LPC
coder on DSK 5416.
DSK5416 consists PCM3002E codec, this is interfaced through CPLD on board.
This CPLD is interfaced in I/O space of the 5416 DSP chip.

my doubt is accessing this I/O space in high level language.
i have attache a screen shot which spectrum fellow has given a memory
details.
but he has not specified the configuration of registers to access I/O space.
i have read the 5416 manual...in that manual he has specified I/O space can
be accessed by PORTR and PORTW instructions there also he has not mentioned
for high level language.

now in order to access this I/O space to make use of CPLD registers
configuration.please help me in this aspect.

Awaiting for ur valuable suggestions and guidance...
--
V.S. Rama Krishna Anne