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 | several question in sport0,please!

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

  

Post a new Thread

several question in sport0,please! - zhangzs0422 - Oct 26 14:22:00 2004





the first:in the hardware manual----Writing to a SPORT¡¯s SPx_TX
register readies the SPORT for transmission.After the first bit of a
word has been transferred, the SPORT generates the transmit
interrupt.---is that mean if i want to send a data,the only thing i
will do is put the data to SPx_TX? and then a interrupt will occure
and i can send another data?? or i enable the sport and then send
the data?

the second: the tclk in the sport can be internal or external,i use
the later.but i found that the tclk is unstable if the code is
running,in addtion to stable with just power on!what is the reason?
the sport is set like this:
ar = 0x85e1;
io(SP0_TCR) = ar;
ar = 0x0027;
io(SP0_TSCKDIV) = ar;
Sport0 TX Interrupt Service Routine like this:
ay1 = iopg;
iopg = SPORT0_Controller_Page;
ar = 0xff;
io(SP0_TX) = ar;
ar = 0x0f;
io(SP0_TX) = ar;
ar = 0x00;
io(SP0_TX) = ar;
iopg = ay1;
rti;
thank you much for your help!





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