Sign in

username:

password:



Not a member?

Search c54x



Search tips

Subscribe to c54x



c54x by Keywords

5409 | 5416 | AD5 | ADC | BIOS | Boot | Booting | Bootloader | C540 | C5402 | C5409 | C5416 | CCS | Codec | DMA | Dmad | DSK | DSKPlus | Dsplib | EVM | FFT | FIR | Flash | GPIO | HPI | Initialization | Interrupt | JTAG | LOG_printf | MCBSP | RFFT | RTDX | Sampling | STLM | UART | VC540


Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | TMS320C54x | (No Subject)

Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).

  

Post a new Thread

(No Subject) - nikhil parvatikar - Oct 30 14:25:00 2000

Dear Sir,

I am working on a MP3 project using TMS320C5409 chip.
I am working on the TI code composer studio.We are working on the evaluation
module.I would like to clarify some doubts regarding the project. the doubt
is as follows :

We are able to load all the 3 .img files
( Load09.img, mcusnrac.img, & the mp3snrac.img ) into the Linear Flash.
While debugging the program , we have to load the MCU code and execute it.
This program takes care of all the interrupts and handles them like the Key
board and others.

Now our problem is that we are not able to debug this portion of the
code.Kindly help.

Nikhil _________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.



______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



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

(No Subject) - happyboy - Dec 8 2:00:00 2000

hello,everyone!
I have a program about the serial port,but I can't watch the wave from
the
clkx and dx in the osclloscope.I can see the spcr2 changing in the mcbsp watch,
(
the first,xrdy is 0;the second ,xrdy is 1 and /xempty is 1;the third ,xrdy is 1
and
/xempty is 0;repeat it until halt), but why can not see the output from the clkx
and
the dx ? please help me check the program .
thanks a lot!!
********************************************
.mmregs
.def start
.text
DATA0 .set 0039h

SPSA0 .set 0038h ;Mcbsp0 sub address register
SPCR10 .set 00h
SPCR20 .set 01h
RCR10 .set 02h
RCR20 .set 03h
XCR10 .set 04h
XCR20 .set 05h
SRGR10 .set 0x0006
SRGR20 .set 0x0007
PCR0 .set 0Eh
DRR10 .set 0021h
DXR10 .set 0023h
*swwsr, xswwr
XSWSR .set 0x002b
start:
NOP
STM #1e01h,ST0
NOP
NOP
NOP
STM #2900h,ST1
NOP
NOP
NOP
STM #1020h,PMST
NOP
NOP
NOP

*wait cycle 14
STM #7E00h,SWWSR
;STM #0001h,XSWSR
******SET MCBSP0
STM SPCR10,SPSA0 ;
STM #1880h,DATA0 ;SPCR1
;spcr10: serial port control register 1
;config to reset the receiver
NOP
NOP
STM SPCR20,SPSA0
STM #0000h,DATA0 ;SPCR2
;spcr2 : serial port control register 2
;config to reset the transmitter
;config to reset the sample-rate generator
NOP
NOP
STM XCR10,SPSA0
;spsa is the mcbsp0 sub-address register
;xcr1: transmit control register 1
STM #000h,DATA0 ;XCR1
;config xcr10: transmit word length: 16bit/word
NOP
NOP
NOP
STM XCR20,SPSA0
;xcr2: transmit control register 2
STM #0004h,DATA0 ;XCR20
;congig xcr2: transmit data delay: 0bit data delay
;the first frame-synchronization pulse is ignored
NOP
NOP
;rcr1: receive control register
STM RCR10,SPSA0 ;RCR1
;config rcr1: receive word length: 16bit/word
;config rcr1: receive frame length: 1word/frame
STM #0040H,DATA0
NOP
NOP
;rcr2: receive control register 2
STM RCR20,SPSA0
STM #0004H,DATA0 ;RCR2
;config rcr2: single phase frame
;config rcr2: receive frame-syn ignored
;config rcr2: receive data delay : 0bit data delay
NOP
NOP
;srgr1: sample rate generator registor 1
STM SRGR10,SPSA0 ;
STM #0000h,DATA0 ;SRGR1
;config srgr1: sample rate generator clocks divider: 256
NOP
NOP
;srgr2: sample rate generator registor 2
STM SRGR20,SPSA0
STM #2000H,DATA0 ;SRGR2
;config srgr2: tranmit-frame-sync signal due to dxr to xsr copy
;config srgr2: sample rate generator clock derived from cpu clock
NOP
NOP
;pcr: pin control register
STM PCR0,SPSA0
STM #0A08h,DATA0 ;PCR
;config pcr: frame-sync is determined by the sample rate generator
;config pcr: mcbsp is a master and generator the clock to drive the clkr
NOP
NOP
NOP
STM SPCR20,SPSA0 ;SET GRST
STM #0040,DATA0
NOP
NOP
NOP
NOP
STM SPCR10,SPSA0
STM #1881H,DATA0 ;SET SPCR1
NOP
NOP
NOP
STM SPCR20,SPSA0
STM #0041H,DATA0 ;SET SPCR2 /XRST
BEGIN: nop
STM #0AAH,DXR10
NOP
NOP
NOP
NOP
NOP
LOOP:NOP
NOP
STM SPCR20,SPSA0
LDM DATA0,A
AND #2H,A
SUB #2H,A
BC LOOP,ANEQ
NOP
NOP
B BEGIN
NOP
NOP
.end
*******************************************
happyboy



______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



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

(No Subject) - Julien Boudias - Jan 31 8:28:00 2001

Hi all,
 
how can I set all Memory mapped Registers to its Reset value in debug mode?
I am using CCS 1.2 and a 5402 dsp.
 
 
 
Thanks and regard.
 


______________________________
Start your Android Ice Cream Sandwich development on TI's AM35x Sitara ARM Cortex-A8 processor today.



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

(No Subject) - Julien Boudias - Mar 14 13:08:00 2001

Hi all,
 
I have 2 SECTIONS in the program space :
    .fast_text et .text ;
     
        .fast_text -> IPROG
        .text -> EPROG
 
What can I do to put some fast C functions into .fast_text and the other into .text
 
Regards,
 
Julien Boudias.


______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



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

(No Subject) - Wei Chen - Nov 11 17:24:00 2001

Hi, group,

is there any side effect of DST in Branch delay line?
for an example

BD $1
XOR *AR2,A
DST A,*AR3

thanks



______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



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

RE: (unknown) - Dave Helsley - Nov 13 16:59:00 2001

I remember hearing in the TI training that the number of cycles in the delay
slots doesn't matter, as long as it's only 2 words of codespace. If it
takes 2 cycles to do the DST, the processor will automatically insert the
extra cycle into the pipeline.

Rgds,
Dave

-----Original Message-----
From: Wei Chen [mailto:]
Sent: Sunday, November 11, 2001 9:25 AM
To:
Subject: [c54x] (unknown) Hi, group,

is there any side effect of DST in Branch delay line?
for an example

BD $1
XOR *AR2,A
DST A,*AR3

thanks _____________________________________






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

(No Subject) - Krasimir Tonchev - Feb 26 20:41:00 2004

Hello!
I have TMS320VC5416 DSP and I want to use McBSP0 as GPIO. do everthing that is
sayed in spru302.pdf. I wanat to use BFSR0 pin as bi directional GPIO.
when I use it as ouput every thing is ok .But when I decide to use it like input
there is problem. The value on the pin is "1" but I read "0" from FSXP bit on
PCR register..
What shoud I do ?
Here is the funcion i C which is reading BFSR0 pin

unsigned short ReadBFSR0()
{
unsigned short val;
val=0;
McBSP0_SPSA = PCR; // select PCR register
McBSP0_SPSD=RIOEN | FSRM(0) ; // make BFSR0 pin input and enable RIO
asm(" nop ");
asm(" nop ");

McBSP0_SPSA = PCR; // select PCR register
val = McBSP0_SPSD; // read PCR register to val
val &= FSRP(1); // mask FSRP value
asm(" nop ");
asm(" nop ");
return val; // return the value
} --------------------------------------
Òîâà ïèñìî å èçïðàòåíî îò www.mail.bg

Áåçïëàòíèÿò àäðåñ â mail.bg ïðåäëàãà:
- Ñèëíà ÀíòèÑÏÀÌ çàùèòà
- 12MB ìÿñòî çà ïîùà
- SMS çà íîâî ïèñìî (âñè÷êè îïåðàòîðè)
- WAP äîñòúï îò GSM è áåç êîìïþòúð
- Áåçïëàòåí POP3 äîñòúï
- Áåçïëàòíà ïîääðúæêà ïî òåëåôîíà
______________________________________
ÁÅÇ ÈÇËÈØÍÈ ÂÚÏÐÎÑÈ ÐÅÃÈÑÒÐÈÐÀÉÒÅ ÑÂÎÉ
ÁÅÇÏËÀÒÅÍ ÀÄÐÅÑ ÍÀ http://www.mail.bg


______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



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