DSPRelated.com
Forums

bug of TI c6000's lib of mcbsp

Started by Tao Wang January 14, 2003
Hi,all

I have been annoyed by mcbsp of c6203 from the beginning of our design and test.
I have now find out some of the problem.

1. the address of XCR0 is wrong in csl_mcbsphal.h line 851:
#define _MCBSP_XCR0_ADDR 0x018 4?(c) 0010u

2. the macro "MCBSP_IO_ENABLE" and "MCBSP_IO_DISABLE" in mcbsp.h are just with
the opposite feature

3. if use function "DMA_configArgs" in CSL the dma can only start once(I have
not find out the problem). Now I use HAL of DMA to start a channel of dma

Wang Tao
R&D Engineer
ShangHai ORDA Opto-Electronic Science & Technology Co., Ltd
01/14/2003
--



Tao Wang-

Thanks very much for posting that. Many people might be helped.

I understand what you have gone through. A year ago we wrote our own .h / macro
files, because of some unexplained DMA problems. The problems went away, but we
never knew specifically where is the issue in the Texas Inst. C6xxx .h files.

Jeff Brower
DSP sw/hw engineer
Signalogic

Tao Wang wrote:
>
> Hi,all
>
> I have been annoyed by mcbsp of c6203 from the beginning of our design and
test. I have now find out some of the problem.
>
> 1. the address of XCR0 is wrong in csl_mcbsphal.h line 851:
> #define _MCBSP_XCR0_ADDR 0x018 4?(c) 0010u
>
> 2. the macro "MCBSP_IO_ENABLE" and "MCBSP_IO_DISABLE" in mcbsp.h are just with
the opposite feature
>
> 3. if use function "DMA_configArgs" in CSL the dma can only start once(I have
not find out the problem). Now I use HAL of DMA to start a channel of dma
>
> Wang Tao
> R&D Engineer
> ShangHai ORDA Opto-Electronic Science & Technology Co., Ltd
> 01/14/2003





Tao Wang,

What version of Code Composer Studio was this bug discovered in ?

Thanks,
Andrew E.

]]At 11:35 AM 1/14/2003 -0600, Jeff Brower wrote:
>Tao Wang-
>
>Thanks very much for posting that. Many people might be helped.
>
>I understand what you have gone through. A year ago we wrote our own .h /
macro
>files, because of some unexplained DMA problems. The problems went away, but
we
>never knew specifically where is the issue in the Texas Inst. C6xxx .h files.
>
>Jeff Brower
>DSP sw/hw engineer
>Signalogic
>
>Tao Wang wrote:
>>
>> Hi,all
>>
>> I have been annoyed by mcbsp of c6203 from the beginning of our design and
test. I have now find out some of the problem.
>>
>> 1. the address of XCR0 is wrong in csl_mcbsphal.h line 851:
>> #define _MCBSP_XCR0_ADDR 0x018 4?(c) 0010u
>>
>> 2. the macro "MCBSP_IO_ENABLE" and "MCBSP_IO_DISABLE" in mcbsp.h are just
with the opposite feature
>>
>> 3. if use function "DMA_configArgs" in CSL the dma can only start once(I have
not find out the problem). Now I use HAL of DMA to start a channel of dma
>>
>> Wang Tao
>> R&D Engineer
>> ShangHai ORDA Opto-Electronic Science & Technology Co., Ltd
>> 01/14/2003
>
>_____________________________________
>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.
>
>_____________________________________
>About this discussion group:
>
>To Join: Send an email to
>
>To Post: Send an email to
>
>To Leave: Send an email to
>
>Archives: http://www.yahoogroups.com/group/c6x
>
>Other Groups: http://www.dsprelated.com >">http://docs.yahoo.com/info/terms/


The 1st and the 3rd are with CCS2.0 and plus for c6000's CSL. I begin with
CCS2.0.0 and now I use ccs2.12.14. The 2nd is with Peripheral Support Library.

Wang Tao
R&D Engineer
ShangHai ORDA Opto-Electronic Science & Technology Co., Ltd ----- Original Message -----
From: Andrew Elder <>
Date: Tue, 14 Jan 2003 13:41:08 -0500
To: Jeff Brower <>, Tao Wang <>
Subject: Re: [c6x] bug of TI c6000's lib of mcbsp

Re:
Re: Tao Wang,
Re:
Re: What version of Code Composer Studio was this bug discovered in ?
Re:
Re: Thanks,
Re: Andrew E.
Re:
Re: ]]At 11:35 AM 1/14/2003 -0600, Jeff Brower wrote:
Re: >Tao Wang-
Re: >
Re: >Thanks very much for posting that. Many people might be helped.
Re: >
Re: >I understand what you have gone through. A year ago we wrote our own .h /
macro
Re: >files, because of some unexplained DMA problems. The problems went away,
but we
Re: >never knew specifically where is the issue in the Texas Inst. C6xxx .h
files.
Re: >
Re: >Jeff Brower
Re: >DSP sw/hw engineer
Re: >Signalogic
Re: >
Re: >Tao Wang wrote:
Re: >>
Re: >> Hi,all
Re: >>
Re: >> I have been annoyed by mcbsp of c6203 from the beginning of our design
and test. I have now find out some of the problem.
Re: >>
Re: >> 1. the address of XCR0 is wrong in csl_mcbsphal.h line 851:
Re: >> #define _MCBSP_XCR0_ADDR 0x018 4?(c) 0010u
Re: >>
Re: >> 2. the macro "MCBSP_IO_ENABLE" and "MCBSP_IO_DISABLE" in mcbsp.h are just
with the opposite feature
Re: >>
Re: >> 3. if use function "DMA_configArgs" in CSL the dma can only start once(I
have not find out the problem). Now I use HAL of DMA to start a channel of dma
Re: >>
Re: >> Wang Tao
Re: >> R&D Engineer
Re: >> ShangHai ORDA Opto-Electronic Science & Technology Co., Ltd
Re: >> 01/14/2003
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:
Re:
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:
Re:

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

Meet Singles
http://corp.mail.com/lavalife