Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | EE-191 Software UART for ADSP21262

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

EE-191 Software UART for ADSP21262 - bobkruse1501 - Sep 29 16:44:00 2005



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




(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: EE-191 Software UART for ADSP21262 - Al Clark - Sep 30 9:28:00 2005

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




(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: EE-191 Software UART for ADSP21262 - dusk...@volja.net - Dec 21 16:39:00 2005


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





(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )