Reply by dusk...@volja.net December 21, 20052005-12-21

Hi!

I want to implement MIDI interface on EZ-KIT lite with ADSP21262, yust the RX part. So I thougt that code from EE-191 would work, but there are differences between processors.

Would this routing of signals thru SRU be correct, if the incoming data signal is on DAI pin 1 (SPIDF is disconnected on SW8) and uses SPORT5B:

// Connect the RX to SPORT5, using data input B
// data in on DAI pin 1
SRU(DAI_PB01_O, SPORT5_DB_I);

// Frame sync in on pin 3
SRU(DAI_PB01_O, SPORT5_FS_I); //
// Tie the pin buffer enable inputs LOW for DAI pin 1so
// that it is always input pin.

// Tie the pin buffer input LOW.
SRU(LOW, DAI_PB01_I);

// Tie the pin buffer enable input LOW
SRU(LOW,PBEN01_I);

Has anyone successfully ported code from EE-191 to 21262?

Thanks,
Duskos



Reply by Al Clark September 30, 20052005-09-30
At 03:44 PM 9/29/2005, bobkruse1501 wrote:
>Hi,
>
>Has anyone translated the assembly code for Analog Devices
>EE191 "Implementing a Glueless UART Using the Sharc DSP SPorts" from
>it's ADSP-21161 to the newer ADSP-21262 and ADSP21363? The SPort
>interrupt registers changed with the part change.
>
>Before I re-wrote it, I thought I'd see if anyone had one they felt
>like sharing.
>
>Thanks
>Bob
>

I have a need to rewrite it next month but I haven't started. I don't
expect it to be too difficult. I do have a board to test it on done.

Al Clark
Danville Signal Processing, Inc.
--------------------------------
Purveyors of Fine DSP Hardware and other Cool Stuff
Available at http://www.danvillesignal.com


Reply by bobkruse1501 September 29, 20052005-09-29
Hi,

Has anyone translated the assembly code for Analog Devices
EE191 "Implementing a Glueless UART Using the Sharc DSP SPorts" from
it's ADSP-21161 to the newer ADSP-21262 and ADSP21363? The SPort
interrupt registers changed with the part change.

Before I re-wrote it, I thought I'd see if anyone had one they felt
like sharing.

Thanks
Bob