DSPRelated.com
Forums

McBsp Problem

Started by raja nayaka March 19, 2003
Hello pals
I am using Tms320C6211 DSP & CCS ver 2. I am configuring the McBsp port using
the MCBSP_configArgs . I find this strange observation.

The SPCR ,RCR,XCR get configured according to my configuration
except for the PCR. The PCR remains 0 throughout .
But when i make an explicit write to the PCR register then
the register changes.

I checked the csl_mcbsphal.h file , the address for the
PCR is correctley defined as 0x018c0024.

Can any one suggest as what might be the problem.

waiting eagerly for ur kind reply
Bye
R.J.Nayaka


Attachment (not stored)
McBsp_waveforms.doc
Type: application/msword


I am using ccs2.1 and csl. The address of PCR in csl_mcbsphal.h
is right. But the address of XCR is wrong with 0x01840010 (it should
be 0x18c0010), i.e.:

#define _MCBSP_XCR0_ADDR 0x018 4?(c) 0010u

Perhaps you have some other wrong code to mislead you to PCR.

Tao Wang
R&D Engineer
ShangHai Orda Opto-electronics Co.

----- Original Message -----
From: raja nayaka <>
Date: Wed, 19 Mar 2003 06:12:01 +0000 (GMT)
To:
Subject: [c6x] McBsp Problem

Re: Hello pals
Re: I am using Tms320C6211 DSP & CCS ver 2. I am configuring the McBsp port
using
Re: the MCBSP_configArgs . I find this strange observation.
Re:
Re: The SPCR ,RCR,XCR get configured according to my configuration
Re: except for the PCR. The PCR remains 0 throughout .
Re: But when i make an explicit write to the PCR register then
Re: the register changes.
Re:
Re: I checked the csl_mcbsphal.h file , the address for the
Re: PCR is correctley defined as 0x018c0024.
Re:
Re: Can any one suggest as what might be the problem.
Re:
Re: waiting eagerly for ur kind reply
Re: Bye
Re: R.J.Nayaka
Re:
Re: _____________________________________
Re: Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you want
your answer to be distributed to the entire group.
Re:
Re: _____________________________________
Re: About this discussion group:
Re:
Re: To Join: Send an email to
Re:
Re: To Post: Send an email to
Re:
Re: To Leave: Send an email to
Re:
Re: Archives: http://www.yahoogroups.com/group/c6x
Re:
Re: Other Groups: http://www.dsprelated.com
Re:
Re:
Re: ">http://docs.yahoo.com/info/terms/
Re:
<< McBsp_waveforms.doc >>

--
_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup



I have a computurized imaging system based on a DSP
board. I have two digital data LSYNC and FSYNC. The
DSP captures a line of data at every LSYNC and FSYNc
gives the information that the frame is started. I
used openGL graphics program to display the data. I
encountered such a problem that RANDOMLY some lines
are shifting to left at some frames. Those lines seems
to be compressed and other memories in shifting region
are empty. In DSP part I used double buffer. At every
FSYNc I transferred the block of data to another
buffer. Do you think that the DSP is overwriting the
data to previous one? I will be glad, if anyone
encountered such a problem can help me.

Thanks beforehand

Kind regards,

Mustafa kan
RA
METU