DSPRelated.com
Forums

troubleshoot mcbsp

Started by Artiko Wibowo January 29, 2008
Hi there,

Can anybody help me ?
mcbsp in my board seems not working. Is there any way to troubleshoot mcbsp ?

Regards,
Artiko Wibowo

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
Artiko,

On Jan 29, 2008 2:31 AM, Artiko Wibowo wrote:
> Hi there,
>
> Can anybody help me ?
> mcbsp in my board seems not working. Is there any way to troubleshoot mcbsp
> ?
Yes.
Which DSP do you have??
1. You might start with some simple code [find some TI example code to start].
2. 95%+ of McBSP problems are related to configuration setup.
3. Can you clarify 'not working'?? [can't transmit, can't receive, bad
data, etc.].
4. McBSPs are memory mapped. You can do some peeking and poking with
CCS to get some basic info.

mikedunn
>
> Regards,
> Artiko Wibowo
>
>

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
Hi Michael,

Thanks for your answer,
I'll give some information about my DSP board :

>>Which DSP do you have??

I have TMS320C6713 DSK rev D and also 5-6k interface daughter card,

>>1. You might start with some simple code [find some TI example code to
start].

May be you can give some keyword to search ?
Actually I've been searching using keyword "mcbsp", and I think, I didn't find appropriate for my problem.

>>2. 95%+ of McBSP problems are related to configuration setup.

Actually I'm still a new user for DSP, is there any tutorial to configure DSP ?
I've tried to configure it, but to much parameters on that, so I use the configuration from my senior.
unfortunatelly, he's not here anymore.

>>3. Can you clarify 'not working'?? [can't transmit, can't receive, baddata, etc.].

I check McBSP signal using oscilloscope, and the result is :
CLKX : square wave
CLKR : square wave
FSX : no signal / noise
FSR : no signla / noise
DX : no signal / noise
DR : no signal / noise

>>4. McBSPs are memory mapped. You can do some peeking and poking with CCS to get some basic >>info.

Can you tell me how to do peeking memory ? especially for mcbsp.

Thanks a lot,
Artiko Wibowo
----- Original Message ----
From: Michael Dunn
To: Artiko Wibowo
Cc: c...
Sent: Wednesday, January 30, 2008 5:10:12 AM
Subject: Re: [c6x] troubleshoot mcbsp
Artiko,

On Jan 29, 2008 2:31 AM, Artiko Wibowo wrote:
> Hi there,
>
> Can anybody help me ?
> mcbsp in my board seems not working. Is there any way to
troubleshoot mcbsp
> ?
Yes.
Which DSP do you have??
1. You might start with some simple code [find some TI example code to
start].
2. 95%+ of McBSP problems are related to configuration setup.
3. Can you clarify 'not working'?? [can't transmit, can't receive, bad
data, etc.].
4. McBSPs are memory mapped. You can do some peeking and poking with
CCS to get some basic info.

mikedunn
>
> Regards,
> Artiko Wibowo
>
>

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php

____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
Artiko,

On Jan 29, 2008 7:16 PM, Artiko Wibowo wrote:
>
> Hi Michael,
>
> Thanks for your answer,
> I'll give some information about my DSP board :
> >>Which DSP do you have??
>
> I have TMS320C6713 DSK rev D and also 5-6k interface daughter card,
> >>1. You might start with some simple code [find some TI example code to
> start].
>
> May be you can give some keyword to search ?

You might try your CCS installation - 'examples\dsk6713\csl\mcbsp' or
something similar depending on which version of CCS that you have [you
can also look under 6711 or any other C67/C62 device. You can also
search the install directory for files with 'mcbsp' in the name.

Do you know what you are trying to program the McBSP to do?? There are
dozens [or hundreds??] of ways to set up and use a McBSP for different
protocols and hardware configurations. There is no 'one way to do
it'. What is your application?? or What are you trying to communicate
with??

> Actually I've been searching using keyword "mcbsp", and I think, I didn't
> find appropriate for my problem.
> >>2. 95%+ of McBSP problems are related to configuration setup.
>
> Actually I'm still a new user for DSP, is there any tutorial to configure
> DSP ?
> I've tried to configure it, but to much parameters on that, so I use the
> configuration from my senior.
> unfortunatelly, he's not here anymore.

use an example from #1.
> >>3. Can you clarify 'not working'?? [can't transmit, can't receive,
> baddata, etc.].
>
> I check McBSP signal using oscilloscope, and the result is :
> CLKX : square wave
good
> CLKR : square wave
good
> FSX : no signal / noise
> FSR : no signla / noise
> DX : no signal / noise
> DR : no signal / noise
>

Do you have the McBSP connected to anything??

>
> >>4. McBSPs are memory mapped. You can do some peeking and poking with CCS
> to get some basic >>info.
>
> Can you tell me how to do peeking memory ? especially for mcbsp.

I apologize - peeking [viewing memory] and poking [writing memory] are
legacy terms from a past era. Use CCS to view the McBSP status and
data registers.
BTW, which McBSP are you trying to program??

mikedunn
>
> Thanks a lot,
> Artiko Wibowo
> ----- Original Message ----
> From: Michael Dunn
> To: Artiko Wibowo
> Cc: c...
> Sent: Wednesday, January 30, 2008 5:10:12 AM
> Subject: Re: [c6x] troubleshoot mcbsp
>
> Artiko,
>
> On Jan 29, 2008 2:31 AM, Artiko Wibowo wrote:
> > Hi there,
> >
> > Can anybody help me ?
> > mcbsp in my board seems not working. Is there any way to troubleshoot
> mcbsp
> > ?
> Yes.
> Which DSP do you have??
> 1. You might start with some simple code [find some TI example code to
> start].
> 2. 95%+ of McBSP problems are related to configuration setup.
> 3. Can you clarify 'not working'?? [can't transmit, can't receive, bad
> data, etc.].
> 4. McBSPs are memory mapped. You can do some peeking and poking with
> CCS to get some basic info.
>
> mikedunn
> >
> > Regards,
> > Artiko Wibowo
> >
> >
>
> --
> www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
> ________________________________
> Never miss a thing. Make Yahoo your homepage.

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
Hi Michael,

>You might try your CCS installation - 'examples\dsk6713\ csl\mcbsp' or

>something similar depending on which version of CCS that you have [you

>can also look under 6711 or any other C67/C62 device. You can also

>search the install directory for files with 'mcbsp' in the name.
I've tried that code. It returns TEST PASSED on mcbsp a(MCBSP_DEV1) and mcbsp b (MCBSP_DEV0).
(I didn't modify the code, I just change this part to change mcbsp a or b.
"hMcbsp = MCBSP_open(MCBSP_DEV0, MCBSP_OPEN_RESET);")
>Do you know what you are trying to program the McBSP to do?? There are

>dozens [or hundreds??] of ways to set up and use a McBSP for different

>protocols and hardware configurations. There is no 'one way to do

>it'. What is your application? ? or What are you trying to communicate

>with??

I've been working on active noise control. Actually I use ADC8344+EVM and DAC8534+EVM too.
>Do you have the McBSP connected to anything??

Yes, ADC8344+EVM and DAC8534+EVM,
but when I check using oscilloscope, it returns the same result whether I connected 5-6k to ADC8344+EVM and DAC8534+EVM or not.
(I've mentioned the result to you on my email before)

>which McBSP are you trying to program??

both of mcbsp a (MCBSP_DEV1) and mcbsp b (MCBSP_DEV0).

Can you give me some advices regarding my problem ?
What should I do next ?
Thanks for your answer.

Best Regards,
Artiko Wibowo

----- Original Message ----
From: Michael Dunn
To: Artiko Wibowo
Cc: c...
Sent: Thursday, January 31, 2008 3:27:37 AM
Subject: Re: [c6x] troubleshoot
mcbsp

Artiko,

On Jan 29, 2008 7:16 PM, Artiko Wibowo wrote:

>

> Hi Michael,

>

> Thanks for your answer,

> I'll give some information about my DSP board :

>

>

> >>Which DSP do you have??

>

> I have TMS320C6713 DSK rev D and also 5-6k interface daughter card,

>

>

> >>1. You might start with some simple code [find some TI example code to

> start].

>

> May be you can give some keyword to search ?

You might try your CCS installation - 'examples\dsk6713\ csl\mcbsp' or

something similar depending on which version of CCS that you have [you

can also look under 6711 or any other C67/C62 device. You can also

search the install directory for files with 'mcbsp' in the name.

Do you know what you are trying to program the McBSP to do?? There are

dozens [or hundreds??] of ways to set up and use a McBSP for different

protocols and hardware configurations. There is no 'one way to do

it'. What is your application? ? or What are you trying to communicate

with??

> Actually I've been searching using keyword "mcbsp", and I think, I didn't

> find appropriate for my problem.

>

>

> >>2. 95%+ of McBSP problems are related to configuration setup.

>

> Actually I'm still a new user for DSP, is there any tutorial to configure

> DSP ?

> I've tried to configure it, but to much parameters on that, so I use the

> configuration from my senior.

> unfortunatelly, he's not here anymore.

use an example from #1.

>

>

> >>3. Can you clarify 'not working'?? [can't transmit, can't receive,

> baddata, etc.].

>

> I check McBSP signal using oscilloscope, and the result is :

> CLKX : square wave

good

> CLKR : square wave

good

> FSX : no signal / noise

> FSR : no signla / noise

> DX : no signal / noise

> DR : no signal / noise

>

Do you have the McBSP connected to anything??

>

> >>4. McBSPs are memory mapped. You can do some peeking and poking with CCS

> to get some basic >>info.

>

> Can you tell me how to do peeking memory ? especially for mcbsp.

I apologize - peeking [viewing memory] and poking [writing memory] are

legacy terms from a past era. Use CCS to view the McBSP status and

data registers.

BTW, which McBSP are you trying to program??

mikedunn

>

> Thanks a lot,

> Artiko Wibowo

>

>

>

>

> ----- Original Message ----

> From: Michael Dunn

> To: Artiko Wibowo

> Cc: c6x@yahoogroups. com

> Sent: Wednesday, January 30, 2008 5:10:12 AM

> Subject: Re: [c6x] troubleshoot mcbsp

>

> Artiko,

>

> On Jan 29, 2008 2:31 AM, Artiko Wibowo wrote:

> > Hi there,

> >

> > Can anybody help me ?

> > mcbsp in my board seems not working. Is there any way to troubleshoot

> mcbsp

> > ?

> Yes.

> Which DSP do you have??

> 1. You might start with some simple code [find some TI example code to

> start].

> 2. 95%+ of McBSP problems are related to configuration setup.

> 3. Can you clarify 'not working'?? [can't transmit, can't receive, bad

> data, etc.].

> 4. McBSPs are memory mapped. You can do some peeking and poking with

> CCS to get some basic info.

>

> mikedunn

> >

> > Regards,

> > Artiko Wibowo

--

www.dsprelated. com/blogs- 1/nf/Mike_ Dunn.php

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
Artiko,

On Jan 30, 2008 9:13 PM, Artiko Wibowo wrote:
>
> Hi Michael,
> >You might try your CCS installation - 'examples\dsk6713\ csl\mcbsp' or
> >something similar depending on which version of CCS that you have [you
> >can also look under 6711 or any other C67/C62 device. You can also
> >search the install directory for files with 'mcbsp' in the name.
>
> I've tried that code. It returns TEST PASSED on mcbsp a(MCBSP_DEV1) and
> mcbsp b (MCBSP_DEV0).
> (I didn't modify the code, I just change this part to change mcbsp a or b.
> "hMcbsp = MCBSP_open(MCBSP_DEV0, MCBSP_OPEN_RESET);")

Check the McBSP configuration values. The examples usually set up the
McBSP for loopback mode. If you disable loopback, you should see data
coming out and a 'test failed' message.

mikedunn
> >Do you know what you are trying to program the McBSP to do?? There are
> >dozens [or hundreds??] of ways to set up and use a McBSP for different
> >protocols and hardware configurations. There is no 'one way to do
> >it'. What is your application? ? or What are you trying to communicate
> >with??
>
> I've been working on active noise control. Actually I use ADC8344+EVM and
> DAC8534+EVM too.
> >Do you have the McBSP connected to anything??
>
> Yes, ADC8344+EVM and DAC8534+EVM,
> but when I check using oscilloscope, it returns the same result whether I
> connected 5-6k to ADC8344+EVM and DAC8534+EVM or not.
> (I've mentioned the result to you on my email before)
> >which McBSP are you trying to program??
>
> both of mcbsp a (MCBSP_DEV1) and mcbsp b (MCBSP_DEV0).
>
> Can you give me some advices regarding my problem ?
> What should I do next ?
> Thanks for your answer.
>
> Best Regards,
> Artiko Wibowo
> ----- Original Message ----
> From: Michael Dunn
> To: Artiko Wibowo
> Cc: c...
>
> Sent: Thursday, January 31, 2008 3:27:37 AM
> Subject: Re: [c6x] troubleshoot mcbsp
>
> Artiko,
>
> On Jan 29, 2008 7:16 PM, Artiko Wibowo wrote:
> >
> > Hi Michael,
> >
> > Thanks for your answer,
> > I'll give some information about my DSP board :
> >
> >
> > >>Which DSP do you have??
> >
> > I have TMS320C6713 DSK rev D and also 5-6k interface daughter card,
> >
> >
> > >>1. You might start with some simple code [find some TI example code to
> > start].
> >
> > May be you can give some keyword to search ?
>
> You might try your CCS installation - 'examples\dsk6713\ csl\mcbsp' or
> something similar depending on which version of CCS that you have [you
> can also look under 6711 or any other C67/C62 device. You can also
> search the install directory for files with 'mcbsp' in the name.
>
> Do you know what you are trying to program the McBSP to do?? There are
> dozens [or hundreds??] of ways to set up and use a McBSP for different
> protocols and hardware configurations. There is no 'one way to do
> it'. What is your application? ? or What are you trying to communicate
> with??
>
> > Actually I've been searching using keyword "mcbsp", and I think, I didn't
> > find appropriate for my problem.
> >
> >
> > >>2. 95%+ of McBSP problems are related to configuration setup.
> >
> > Actually I'm still a new user for DSP, is there any tutorial to configure
> > DSP ?
> > I've tried to configure it, but to much parameters on that, so I use the
> > configuration from my senior.
> > unfortunatelly, he's not here anymore.
>
> use an example from #1.
> >
> >
> > >>3. Can you clarify 'not working'?? [can't transmit, can't receive,
> > baddata, etc.].
> >
> > I check McBSP signal using oscilloscope, and the result is :
> > CLKX : square wave
> good
> > CLKR : square wave
> good
> > FSX : no signal / noise
> > FSR : no signla / noise
> > DX : no signal / noise
> > DR : no signal / noise
> > Do you have the McBSP connected to anything??
>
> >
> > >>4. McBSPs are memory mapped. You can do some peeking and poking with
> CCS
> > to get some basic >>info.
> >
> > Can you tell me how to do peeking memory ? especially for mcbsp.
>
> I apologize - peeking [viewing memory] and poking [writing memory] are
> legacy terms from a past era. Use CCS to view the McBSP status and
> data registers.
> BTW, which McBSP are you trying to program??
>
> mikedunn
> >
> > Thanks a lot,
> > Artiko Wibowo
> >
> >
> >
> >
> > ----- Original Message ----
> > From: Michael Dunn
> > To: Artiko Wibowo
> > Cc: c6x@yahoogroups. com
> > Sent: Wednesday, January 30, 2008 5:10:12 AM
> > Subject: Re: [c6x] troubleshoot mcbsp
> >
> > Artiko,
> >
> > On Jan 29, 2008 2:31 AM, Artiko Wibowo wrote:
> > > Hi there,
> > >
> > > Can anybody help me ?
> > > mcbsp in my board seems not working. Is there any way to troubleshoot
> > mcbsp
> > > ?
> > Yes.
> > Which DSP do you have??
> > 1. You might start with some simple code [find some TI example code to
> > start].
> > 2. 95%+ of McBSP problems are related to configuration setup.
> > 3. Can you clarify 'not working'?? [can't transmit, can't receive, bad
> > data, etc.].
> > 4. McBSPs are memory mapped. You can do some peeking and poking with
> > CCS to get some basic info.
> >
> > mikedunn
> > >
> > > Regards,
> > > Artiko Wibowo
> > >
> > >
> >
> >
> >
> > --
> > www.dsprelated. com/blogs- 1/nf/Mike_ Dunn.php
> >
> >
> > ____________ _________ _________ __
> > Never miss a thing. Make Yahoo your homepage.
>
> --
> www.dsprelated. com/blogs- 1/nf/Mike_ Dunn.php
>
>
> ________________________________
> Never miss a thing. Make Yahoo your homepage.

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
Hi Michael,

>Check the McBSP configuration values. The examples usually set up the

>McBSP for loopback mode. If you disable loopback, you should see data

>coming out and a 'test failed' message.

Do you mean this part " MCBSP_SPCR_DLB_OFF, /* Digital loopback(DLB) mode*/ " ?

I've modified the code, and I got this :
1. mcbsp a = TEST FAILED
2. mcbsp b did not return anything, the CCS just freeze like hang computer. --> ?????

Regards,
Artiko Wibowo

----- Original Message ----
From: Michael Dunn
To: Artiko Wibowo
Cc: c6x group
Sent: Friday, February 1, 2008 12:52:22 AM
Subject: Re: [c6x] troubleshoot mcbsp

Artiko,

On Jan 30, 2008 9:13 PM, Artiko Wibowo wrote:

>

> Hi Michael,

>

>

> >You might try your CCS installation - 'examples\dsk6713\ csl\mcbsp' or

> >something similar depending on which version of CCS that you have [you

> >can also look under 6711 or any other C67/C62 device. You can also

> >search the install directory for files with 'mcbsp' in the name.

>

> I've tried that code. It returns TEST PASSED on mcbsp a(MCBSP_DEV1) and

> mcbsp b (MCBSP_DEV0) .

> (I didn't modify the code, I just change this part to change mcbsp a or b.

> "hMcbsp = MCBSP_open(MCBSP_ DEV0, MCBSP_OPEN_RESET) ;")

Check the McBSP configuration values. The examples usually set up the

McBSP for loopback mode. If you disable loopback, you should see data

coming out and a 'test failed' message.

mikedunn

>

>

> >Do you know what you are trying to program the McBSP to do?? There are

> >dozens [or hundreds??] of ways to set up and use a McBSP for different

> >protocols and hardware configurations. There is no 'one way to do

> >it'. What is your application? ? or What are you trying to communicate

> >with??

>

> I've been working on active noise control. Actually I use ADC8344+EVM and

> DAC8534+EVM too.

>

>

> >Do you have the McBSP connected to anything??

>

> Yes, ADC8344+EVM and DAC8534+EVM,

> but when I check using oscilloscope, it returns the same result whether I

> connected 5-6k to ADC8344+EVM and DAC8534+EVM or not.

> (I've mentioned the result to you on my email before)

>

>

> >which McBSP are you trying to program??

>

> both of mcbsp a (MCBSP_DEV1) and mcbsp b (MCBSP_DEV0) .

>

> Can you give me some advices regarding my problem ?

> What should I do next ?

> Thanks for your answer.

>

> Best Regards,

> Artiko Wibowo

>

>

> ----- Original Message ----

> From: Michael Dunn

> To: Artiko Wibowo

> Cc: c6x@yahoogroups. com

>

> Sent: Thursday, January 31, 2008 3:27:37 AM

> Subject: Re: [c6x] troubleshoot mcbsp

>

>

>

>

>

>

>

> Artiko,

>

> On Jan 29, 2008 7:16 PM, Artiko Wibowo wrote:

> >

> > Hi Michael,

> >

> > Thanks for your answer,

> > I'll give some information about my DSP board :

> >

> >

> > >>Which DSP do you have??

> >

> > I have TMS320C6713 DSK rev D and also 5-6k interface daughter card,

> >

> >

> > >>1. You might start with some simple code [find some TI example code to

> > start].

> >

> > May be you can give some keyword to search ?

>

> You might try your CCS installation - 'examples\dsk6713\ csl\mcbsp' or

> something similar depending on which version of CCS that you have [you

> can also look under 6711 or any other C67/C62 device. You can also

> search the install directory for files with 'mcbsp' in the name.

>

> Do you know what you are trying to program the McBSP to do?? There are

> dozens [or hundreds??] of ways to set up and use a McBSP for different

> protocols and hardware configurations. There is no 'one way to do

> it'. What is your application? ? or What are you trying to communicate

> with??

>

> > Actually I've been searching using keyword "mcbsp", and I think, I didn't

> > find appropriate for my problem.

> >

> >

> > >>2. 95%+ of McBSP problems are related to configuration setup.

> >

> > Actually I'm still a new user for DSP, is there any tutorial to configure

> > DSP ?

> > I've tried to configure it, but to much parameters on that, so I use the

> > configuration from my senior.

> > unfortunatelly, he's not here anymore.

>

> use an example from #1.

> >

> >

> > >>3. Can you clarify 'not working'?? [can't transmit, can't receive,

> > baddata, etc.].

> >

> > I check McBSP signal using oscilloscope, and the result is :

> > CLKX : square wave

> good

> > CLKR : square wave

> good

> > FSX : no signal / noise

> > FSR : no signla / noise

> > DX : no signal / noise

> > DR : no signal / noise

> >

>

> Do you have the McBSP connected to anything??

>

> >

> > >>4. McBSPs are memory mapped. You can do some peeking and poking with

> CCS

> > to get some basic >>info.

> >

> > Can you tell me how to do peeking memory ? especially for mcbsp.

>

> I apologize - peeking [viewing memory] and poking [writing memory] are

> legacy terms from a past era. Use CCS to view the McBSP status and

> data registers.

> BTW, which McBSP are you trying to program??

>

> mikedunn

> >

> > Thanks a lot,

> > Artiko Wibowo

> >

> >

> >

> >

> > ----- Original Message ----

> > From: Michael Dunn

> > To: Artiko Wibowo

> > Cc: c6x@yahoogroups. com

> > Sent: Wednesday, January 30, 2008 5:10:12 AM

> > Subject: Re: [c6x] troubleshoot mcbsp

> >

> > Artiko,

> >

> > On Jan 29, 2008 2:31 AM, Artiko Wibowo wrote:

> > > Hi there,

> > >

> > > Can anybody help me ?

> > > mcbsp in my board seems not working. Is there any way to troubleshoot

> > mcbsp

> > > ?

> > Yes.

> > Which DSP do you have??

> > 1. You might start with some simple code [find some TI example code to

> > start].

> > 2. 95%+ of McBSP problems are related to configuration setup.

> > 3. Can you clarify 'not working'?? [can't transmit, can't receive, bad

> > data, etc.].

> > 4. McBSPs are memory mapped. You can do some peeking and poking with

> > CCS to get some basic info.

> >

> > mikedunn

> > >

> > > Regards,

> > > Artiko Wibowo

> > >

> > >

> >

> >

> >

> > --

> > www.dsprelated. com/blogs- 1/nf/Mike_ Dunn.php

> >

> >

> > ____________ _________ _________ __

> > Never miss a thing. Make Yahoo your homepage.

>

> --

> www.dsprelated. com/blogs- 1/nf/Mike_ Dunn.php

>

>

> ____________ _________ _________ __

> Never miss a thing. Make Yahoo your homepage.

--

www.dsprelated. com/blogs- 1/nf/Mike_ Dunn.php







____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Artiko,

On Feb 1, 2008 1:18 AM, Artiko Wibowo wrote:
>
> Hi Michael,
> >Check the McBSP configuration values. The examples usually set up the
> >McBSP for loopback mode. If you disable loopback, you should see data
> >coming out and a 'test failed' message.
>
> Do you mean this part " MCBSP_SPCR_DLB_OFF, /* Digital loopback(DLB)
> mode*/ " ?
>

That should be correct. The 6713 DSK has the McBSP connected to the on
board audio port and it is probably enabled by default [I just
remembered this]. You will have to check the DSK docs to locate the
bits [one for each McBSP] and the address [I think the address is in
the 0x9xxxxxxx range]. I think they will be referred to as something
like 'McBSP0 daughtercard select' or 'McBSP0 codec select'. Search for
McBSP in the DSK reference manual.

> I've modified the code, and I got this :
> 1. mcbsp a = TEST FAILED
> 2. mcbsp b did not return anything, the CCS just freeze like hang computer.
> --> ?????

This is probably a bug somewhere that was incurred when you sent
'garbage' to the on board codec [It should not have happened, but
don't focus on it now. You can report the bug to ti support and send
them your modified project. Before you do that, make sure that you
have the latest drivers from spectrum digital for the DSK].

mikedunn
>
> Regards,
> Artiko Wibowo
> ----- Original Message ----
> From: Michael Dunn
> To: Artiko Wibowo Cc: c6x group
> Sent: Friday, February 1, 2008 12:52:22 AM
> Subject: Re: [c6x] troubleshoot mcbsp
>
> Artiko,
>
> On Jan 30, 2008 9:13 PM, Artiko Wibowo wrote:
> >
> > Hi Michael,
> >
> >
> > >You might try your CCS installation - 'examples\dsk6713\ csl\mcbsp' or
> > >something similar depending on which version of CCS that you have [you
> > >can also look under 6711 or any other C67/C62 device. You can also
> > >search the install directory for files with 'mcbsp' in the name.
> >
> > I've tried that code. It returns TEST PASSED on mcbsp a(MCBSP_DEV1) and
> > mcbsp b (MCBSP_DEV0) .
> > (I didn't modify the code, I just change this part to change mcbsp a or
> b.
> > "hMcbsp = MCBSP_open(MCBSP_ DEV0, MCBSP_OPEN_RESET) ;")
>
> Check the McBSP configuration values. The examples usually set up the
> McBSP for loopback mode. If you disable loopback, you should see data
> coming out and a 'test failed' message.
>
> mikedunn
> >
> >
> > >Do you know what you are trying to program the McBSP to do?? There are
> > >dozens [or hundreds??] of ways to set up and use a McBSP for different
> > >protocols and hardware configurations. There is no 'one way to do
> > >it'. What is your application? ? or What are you trying to communicate
> > >with??
> >
> > I've been working on active noise control. Actually I use ADC8344+EVM and
> > DAC8534+EVM too.
> >
> >
> > >Do you have the McBSP connected to anything??
> >
> > Yes, ADC8344+EVM and DAC8534+EVM,
> > but when I check using oscilloscope, it returns the same result whether I
> > connected 5-6k to ADC8344+EVM and DAC8534+EVM or not.
> > (I've mentioned the result to you on my email before)
> >
> >
> > >which McBSP are you trying to program??
> >
> > both of mcbsp a (MCBSP_DEV1) and mcbsp b (MCBSP_DEV0) .
> >
> > Can you give me some advices regarding my problem ?
> > What should I do next ?
> > Thanks for your answer.
> >
> > Best Regards,
> > Artiko Wibowo
> >
> >
> > ----- Original Message ----
> > From: Michael Dunn
> > To: Artiko Wibowo
> > Cc: c6x@yahoogroups. com
> >
> > Sent: Thursday, January 31, 2008 3:27:37 AM
> > Subject: Re: [c6x] troubleshoot mcbsp
> >
> >
> >
> >
> >
> >
> >
> > Artiko,
> >
> > On Jan 29, 2008 7:16 PM, Artiko Wibowo wrote:
> > >
> > > Hi Michael,
> > >
> > > Thanks for your answer,
> > > I'll give some information about my DSP board :
> > >
> > >
> > > >>Which DSP do you have??
> > >
> > > I have TMS320C6713 DSK rev D and also 5-6k interface daughter card,
> > >
> > >
> > > >>1. You might start with some simple code [find some TI example code
> to
> > > start].
> > >
> > > May be you can give some keyword to search ?
> >
> > You might try your CCS installation - 'examples\dsk6713\ csl\mcbsp' or
> > something similar depending on which version of CCS that you have [you
> > can also look under 6711 or any other C67/C62 device. You can also
> > search the install directory for files with 'mcbsp' in the name.
> >
> > Do you know what you are trying to program the McBSP to do?? There are
> > dozens [or hundreds??] of ways to set up and use a McBSP for different
> > protocols and hardware configurations. There is no 'one way to do
> > it'. What is your application? ? or What are you trying to communicate
> > with??
> >
> > > Actually I've been searching using keyword "mcbsp", and I think, I
> didn't
> > > find appropriate for my problem.
> > >
> > >
> > > >>2. 95%+ of McBSP problems are related to configuration setup.
> > >
> > > Actually I'm still a new user for DSP, is there any tutorial to
> configure
> > > DSP ?
> > > I've tried to configure it, but to much parameters on that, so I use
> the
> > > configuration from my senior.
> > > unfortunatelly, he's not here anymore.
> >
> > use an example from #1.
> > >
> > >
> > > >>3. Can you clarify 'not working'?? [can't transmit, can't receive,
> > > baddata, etc.].
> > >
> > > I check McBSP signal using oscilloscope, and the result is :
> > > CLKX : square wave
> > good
> > > CLKR : square wave
> > good
> > > FSX : no signal / noise
> > > FSR : no signla / noise
> > > DX : no signal / noise
> > > DR : no signal / noise
> > >
> >
> > Do you have the McBSP connected to anything??
> >
> > >
> > > >>4. McBSPs are memory mapped. You can do some peeking and poking with
> > CCS
> > > to get some basic >>info.
> > >
> > > Can you tell me how to do peeking memory ? especially for mcbsp.
> >
> > I apologize - peeking [viewing memory] and poking [writing memory] are
> > legacy terms from a past era. Use CCS to view the McBSP status and
> > data registers.
> > BTW, which McBSP are you trying to program??
> >
> > mikedunn
> > >
> > > Thanks a lot,
> > > Artiko Wibowo
> > >
> > >
> > >
> > >
> > > ----- Original Message ----
> > > From: Michael Dunn
> > > To: Artiko Wibowo
> > > Cc: c6x@yahoogroups. com
> > > Sent: Wednesday, January 30, 2008 5:10:12 AM
> > > Subject: Re: [c6x] troubleshoot mcbsp
> > >
> > > Artiko,
> > >
> > > On Jan 29, 2008 2:31 AM, Artiko Wibowo
> wrote:
> > > > Hi there,
> > > >
> > > > Can anybody help me ?
> > > > mcbsp in my board seems not working. Is there any way to troubleshoot
> > > mcbsp
> > > > ?
> > > Yes.
> > > Which DSP do you have??
> > > 1. You might start with some simple code [find some TI example code to
> > > start].
> > > 2. 95%+ of McBSP problems are related to configuration setup.
> > > 3. Can you clarify 'not working'?? [can't transmit, can't receive, bad
> > > data, etc.].
> > > 4. McBSPs are memory mapped. You can do some peeking and poking with
> > > CCS to get some basic info.
> > >
> > > mikedunn
> > > >
> > > > Regards,
> > > > Artiko Wibowo
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > www.dsprelated. com/blogs- 1/nf/Mike_ Dunn.php
> > >
> > >
> > > ____________ _________ _________ __
> > > Never miss a thing. Make Yahoo your homepage.
> >
> > --
> > www.dsprelated. com/blogs- 1/nf/Mike_ Dunn.php
> >
> >
> > ____________ _________ _________ __
> > Never miss a thing. Make Yahoo your homepage.
>
> --
> www.dsprelated. com/blogs- 1/nf/Mike_ Dunn.php
>
>
> ________________________________
>
> Never miss a thing. Make Yahoo your homepage.

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
Hi,

>That should be correct. The 6713 DSK has the McBSP connected to the on
>board audio port and it is probably enabled by default [I just

>remembered this]. You will have to check the DSK docs to locate the
>bits [one for each McBSP] and the address [I think the address is in

>the 0x9xxxxxxx range]. I think they will be referred to as something

>like 'McBSP0 daughtercard select' or 'McBSP0 codec select'. Search for

>McBSP in the DSK reference manual.

Is it CPLD MISC ? bit 0 and bit 1 on EMIF
CE1
space
(0x90080000)
of
the
DSP
at
an
offset
of
6 ?

it said onboard on bit 0 and bit 1 (dsk6713 TechRef.pdf). what should I do with this ?
>This is probably a bug somewhere that was incurred when you sent

>'garbage' to the on board codec [It should not have happened, but

>don't focus on it now. You can report the bug to ti support and send

>them your modified project. Before you do that, make sure that you

>have the latest drivers from spectrum digital for the DSK].

Do you mean the latest Code Composer studio ? I have CCS v3.1.
Where should I download the latest drivers ?I've search at ti.com but I didn't find it.

Thanks for your answers

Regards,
Artiko Wibowo

----- Original Message ----
From: Michael Dunn
To: Artiko Wibowo
Cc: c...
Sent: Saturday, February 2, 2008 12:20:50 AM
Subject: Re: [c6x] troubleshoot mcbsp

Artiko,

On Feb 1, 2008 1:18 AM, Artiko Wibowo wrote:

>

> Hi Michael,

>

>

> >Check the McBSP configuration values. The examples usually set up the

> >McBSP for loopback mode. If you disable loopback, you should see data

> >coming out and a 'test failed' message.

>

> Do you mean this part " MCBSP_SPCR_DLB_ OFF, /* Digital loopback(DLB)

> mode*/ " ?

>

That should be correct. The 6713 DSK has the McBSP connected to the on

board audio port and it is probably enabled by default [I just

remembered this]. You will have to check the DSK docs to locate the

bits [one for each McBSP] and the address [I think the address is in

the 0x9xxxxxxx range]. I think they will be referred to as something

like 'McBSP0 daughtercard select' or 'McBSP0 codec select'. Search for

McBSP in the DSK reference manual.

> I've modified the code, and I got this :

> 1. mcbsp a = TEST FAILED

> 2. mcbsp b did not return anything, the CCS just freeze like hang computer.

> --> ?????

This is probably a bug somewhere that was incurred when you sent

'garbage' to the on board codec [It should not have happened, but

don't focus on it now. You can report the bug to ti support and send

them your modified project. Before you do that, make sure that you

have the latest drivers from spectrum digital for the DSK].

mikedunn

>

> Regards,

> Artiko Wibowo

>

>

> ----- Original Message ----

> From: Michael Dunn

> To: Artiko Wibowo

>

> Cc: c6x group

> Sent: Friday, February 1, 2008 12:52:22 AM

> Subject: Re: [c6x] troubleshoot mcbsp

>

>

>

>

>

>

>

> Artiko,

>

> On Jan 30, 2008 9:13 PM, Artiko Wibowo wrote:

> >

> > Hi Michael,

> >

> >

> > >You might try your CCS installation - 'examples\dsk6713\ csl\mcbsp' or

> > >something similar depending on which version of CCS that you have [you

> > >can also look under 6711 or any other C67/C62 device. You can also

> > >search the install directory for files with 'mcbsp' in the name.

> >

> > I've tried that code. It returns TEST PASSED on mcbsp a(MCBSP_DEV1) and

> > mcbsp b (MCBSP_DEV0) .

> > (I didn't modify the code, I just change this part to change mcbsp a or

> b.

> > "hMcbsp = MCBSP_open(MCBSP_ DEV0, MCBSP_OPEN_RESET) ;")

>

> Check the McBSP configuration values. The examples usually set up the

> McBSP for loopback mode. If you disable loopback, you should see data

> coming out and a 'test failed' message.

>

> mikedunn

> >

> >

> > >Do you know what you are trying to program the McBSP to do?? There are

> > >dozens [or hundreds??] of ways to set up and use a McBSP for different

> > >protocols and hardware configurations. There is no 'one way to do

> > >it'. What is your application? ? or What are you trying to communicate

> > >with??

> >

> > I've been working on active noise control. Actually I use ADC8344+EVM and

> > DAC8534+EVM too.

> >

> >

> > >Do you have the McBSP connected to anything??

> >

> > Yes, ADC8344+EVM and DAC8534+EVM,

> > but when I check using oscilloscope, it returns the same result whether I

> > connected 5-6k to ADC8344+EVM and DAC8534+EVM or not.

> > (I've mentioned the result to you on my email before)

> >

> >

> > >which McBSP are you trying to program??

> >

> > both of mcbsp a (MCBSP_DEV1) and mcbsp b (MCBSP_DEV0) .

> >

> > Can you give me some advices regarding my problem ?

> > What should I do next ?

> > Thanks for your answer.

> >

> > Best Regards,

> > Artiko Wibowo

> >

> >

> > ----- Original Message ----

> > From: Michael Dunn

> > To: Artiko Wibowo

> > Cc: c6x@yahoogroups. com

> >

> > Sent: Thursday, January 31, 2008 3:27:37 AM

> > Subject: Re: [c6x] troubleshoot mcbsp

> >

> >

> >

> >

> >

> >

> >

> > Artiko,

> >

> > On Jan 29, 2008 7:16 PM, Artiko Wibowo wrote:

> > >

> > > Hi Michael,

> > >

> > > Thanks for your answer,

> > > I'll give some information about my DSP board :

> > >

> > >

> > > >>Which DSP do you have??

> > >

> > > I have TMS320C6713 DSK rev D and also 5-6k interface daughter card,

> > >

> > >

> > > >>1. You might start with some simple code [find some TI example code

> to

> > > start].

> > >

> > > May be you can give some keyword to search ?

> >

> > You might try your CCS installation - 'examples\dsk6713\ csl\mcbsp' or

> > something similar depending on which version of CCS that you have [you

> > can also look under 6711 or any other C67/C62 device. You can also

> > search the install directory for files with 'mcbsp' in the name.

> >

> > Do you know what you are trying to program the McBSP to do?? There are

> > dozens [or hundreds??] of ways to set up and use a McBSP for different

> > protocols and hardware configurations. There is no 'one way to do

> > it'. What is your application? ? or What are you trying to communicate

> > with??

> >

> > > Actually I've been searching using keyword "mcbsp", and I think, I

> didn't

> > > find appropriate for my problem.

> > >

> > >

> > > >>2. 95%+ of McBSP problems are related to configuration setup.

> > >

> > > Actually I'm still a new user for DSP, is there any tutorial to

> configure

> > > DSP ?

> > > I've tried to configure it, but to much parameters on that, so I use

> the

> > > configuration from my senior.

> > > unfortunatelly, he's not here anymore.

> >

> > use an example from #1.

> > >

> > >

> > > >>3. Can you clarify 'not working'?? [can't transmit, can't receive,

> > > baddata, etc.].

> > >

> > > I check McBSP signal using oscilloscope, and the result is :

> > > CLKX : square wave

> > good

> > > CLKR : square wave

> > good

> > > FSX : no signal / noise

> > > FSR : no signla / noise

> > > DX : no signal / noise

> > > DR : no signal / noise

> > >

> >

> > Do you have the McBSP connected to anything??

> >

> > >

> > > >>4. McBSPs are memory mapped. You can do some peeking and poking with

> > CCS

> > > to get some basic >>info.

> > >

> > > Can you tell me how to do peeking memory ? especially for mcbsp.

> >

> > I apologize - peeking [viewing memory] and poking [writing memory] are

> > legacy terms from a past era. Use CCS to view the McBSP status and

> > data registers.

> > BTW, which McBSP are you trying to program??

> >

> > mikedunn

> > >

> > > Thanks a lot,

> > > Artiko Wibowo

> > >

> > >

> > >

> > >

> > > ----- Original Message ----

> > > From: Michael Dunn

> > > To: Artiko Wibowo

> > > Cc: c6x@yahoogroups. com

> > > Sent: Wednesday, January 30, 2008 5:10:12 AM

> > > Subject: Re: [c6x] troubleshoot mcbsp

> > >

> > > Artiko,

> > >

> > > On Jan 29, 2008 2:31 AM, Artiko Wibowo

> wrote:

> > > > Hi there,

> > > >

> > > > Can anybody help me ?

> > > > mcbsp in my board seems not working. Is there any way to troubleshoot

> > > mcbsp

> > > > ?

> > > Yes.

> > > Which DSP do you have??

> > > 1. You might start with some simple code [find some TI example code to

> > > start].

> > > 2. 95%+ of McBSP problems are related to configuration setup.

> > > 3. Can you clarify 'not working'?? [can't transmit, can't receive, bad

> > > data, etc.].

> > > 4. McBSPs are memory mapped. You can do some peeking and poking with

> > > CCS to get some basic info.

> > >

> > > mikedunn

> > > >

> > > > Regards,

> > > > Artiko Wibowo

> > > >

> > > >

> > >

> > >

> > >

> > > --

> > > www.dsprelated. com/blogs- 1/nf/Mike_ Dunn.php

> > >

> > >

> > > ____________ _________ _________ __

> > > Never miss a thing. Make Yahoo your homepage.

> >

> > --

> > www.dsprelated. com/blogs- 1/nf/Mike_ Dunn.php

> >

> >

> > ____________ _________ _________ __

> > Never miss a thing. Make Yahoo your homepage.

>

> --

> www.dsprelated. com/blogs- 1/nf/Mike_ Dunn.php

>

>

> ____________ _________ _________ __

>

> Never miss a thing. Make Yahoo your homepage.

--

www.dsprelated. com/blogs- 1/nf/Mike_ Dunn.php







____________________________________________________________________________________
Artiko,

On Feb 1, 2008 5:11 PM, Artiko Wibowo wrote:
>
> Hi,
> >That should be correct. The 6713 DSK has the McBSP connected to the on
> >board audio port and it is probably enabled by default [I just
> >remembered this]. You will have to check the DSK docs to locate the
> >bits [one for each McBSP] and the address [I think the address is in
> >the 0x9xxxxxxx range]. I think they will be referred to as something
> >like 'McBSP0 daughtercard select' or 'McBSP0 codec select'. Search for
> >McBSP in the DSK reference manual.
>
> Is it CPLD MISC ? bit 0 and bit 1 on EMIF CE1 space (0x90080000) of the DSP
> at an offset of 6 ?

That sounds right [I don't have the doc handy]. That is add 0x90080006.

> it said onboard on bit 0 and bit 1 (dsk6713 TechRef.pdf). what should I do
> with this ?

Perform a byte read of address 0x90080006, or the value that you read
with 3, and write it back. The three will enable the McBSP ports to
go to the daughtercard. Performing the read will keep from modifying
the other bits [I don't remember what the other bits do and this is
the safe way to do it.

> >This is probably a bug somewhere that was incurred when you sent
> >'garbage' to the on board codec [It should not have happened, but
> >don't focus on it now. You can report the bug to ti support and send
> >them your modified project. Before you do that, make sure that you
> >have the latest drivers from spectrum digital for the DSK].
>
> Do you mean the latest Code Composer studio ? I have CCS v3.1.
> Where should I download the latest drivers ?I've search at ti.com but I
> didn't find it.

The 6713 DSK was designed and manufactured by a company named Spectrum
Digital. They created the CCS drivers that connect to the DSK via USB
and usually have the latest versions of the drivers on their web site.
http://www.spectrumdigital.com

mikedunn

>
> Thanks for your answers
>
> Regards,
> Artiko Wibowo
> ----- Original Message ----
> From: Michael Dunn
> To: Artiko Wibowo
> Cc: c...
>
> Sent: Saturday, February 2, 2008 12:20:50 AM
> Subject: Re: [c6x] troubleshoot mcbsp
>
> Artiko,
>
> On Feb 1, 2008 1:18 AM, Artiko Wibowo wrote:
> >
> > Hi Michael,
> >
> >
> > >Check the McBSP configuration values. The examples usually set up the
> > >McBSP for loopback mode. If you disable loopback, you should see data
> > >coming out and a 'test failed' message.
> >
> > Do you mean this part " MCBSP_SPCR_DLB_ OFF, /* Digital loopback(DLB)
> > mode*/ " ?
> > That should be correct. The 6713 DSK has the McBSP connected to the on
> board audio port and it is probably enabled by default [I just
> remembered this]. You will have to check the DSK docs to locate the
> bits [one for each McBSP] and the address [I think the address is in
> the 0x9xxxxxxx range]. I think they will be referred to as something
> like 'McBSP0 daughtercard select' or 'McBSP0 codec select'. Search for
> McBSP in the DSK reference manual.
>
> > I've modified the code, and I got this :
> > 1. mcbsp a = TEST FAILED
> > 2. mcbsp b did not return anything, the CCS just freeze like hang
> computer.
> > --> ?????
>
> This is probably a bug somewhere that was incurred when you sent
> 'garbage' to the on board codec [It should not have happened, but
> don't focus on it now. You can report the bug to ti support and send
> them your modified project. Before you do that, make sure that you
> have the latest drivers from spectrum digital for the DSK].
>
> mikedunn
> >
> > Regards,
> > Artiko Wibowo
> >
> >
> > ----- Original Message ----
> > From: Michael Dunn
> > To: Artiko Wibowo
> >
> > Cc: c6x group
> > Sent: Friday, February 1, 2008 12:52:22 AM
> > Subject: Re: [c6x] troubleshoot mcbsp
> >
> >
> >
> >
> >
> >
> >
> > Artiko,
> >
> > On Jan 30, 2008 9:13 PM, Artiko Wibowo wrote:
> > >
> > > Hi Michael,
> > >
> > >
> > > >You might try your CCS installation - 'examples\dsk6713\ csl\mcbsp' or
> > > >something similar depending on which version of CCS that you have [you
> > > >can also look under 6711 or any other C67/C62 device. You can also
> > > >search the install directory for files with 'mcbsp' in the name.
> > >
> > > I've tried that code. It returns TEST PASSED on mcbsp a(MCBSP_DEV1) and
> > > mcbsp b (MCBSP_DEV0) .
> > > (I didn't modify the code, I just change this part to change mcbsp a or
> > b.
> > > "hMcbsp = MCBSP_open(MCBSP_ DEV0, MCBSP_OPEN_RESET) ;")
> >
> > Check the McBSP configuration values. The examples usually set up the
> > McBSP for loopback mode. If you disable loopback, you should see data
> > coming out and a 'test failed' message.
> >
> > mikedunn
> > >
> > >
> > > >Do you know what you are trying to program the McBSP to do?? There are
> > > >dozens [or hundreds??] of ways to set up and use a McBSP for different
> > > >protocols and hardware configurations. There is no 'one way to do
> > > >it'. What is your application? ? or What are you trying to communicate
> > > >with??
> > >
> > > I've been working on active noise control. Actually I use ADC8344+EVM
> and
> > > DAC8534+EVM too.
> > >
> > >
> > > >Do you have the McBSP connected to anything??
> > >
> > > Yes, ADC8344+EVM and DAC8534+EVM,
> > > but when I check using oscilloscope, it returns the same result whether
> I
> > > connected 5-6k to ADC8344+EVM and DAC8534+EVM or not.
> > > (I've mentioned the result to you on my email before)
> > >
> > >
> > > >which McBSP are you trying to program??
> > >
> > > both of mcbsp a (MCBSP_DEV1) and mcbsp b (MCBSP_DEV0) .
> > >
> > > Can you give me some advices regarding my problem ?
> > > What should I do next ?
> > > Thanks for your answer.
> > >
> > > Best Regards,
> > > Artiko Wibowo
> > >
> > >
> > > ----- Original Message ----
> > > From: Michael Dunn
> > > To: Artiko Wibowo
> > > Cc: c6x@yahoogroups. com
> > >
> > > Sent: Thursday, January 31, 2008 3:27:37 AM
> > > Subject: Re: [c6x] troubleshoot mcbsp
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Artiko,
> > >
> > > On Jan 29, 2008 7:16 PM, Artiko Wibowo
> wrote:
> > > >
> > > > Hi Michael,
> > > >
> > > > Thanks for your answer,
> > > > I'll give some information about my DSP board :
> > > >
> > > >
> > > > >>Which DSP do you have??
> > > >
> > > > I have TMS320C6713 DSK rev D and also 5-6k interface daughter card,
> > > >
> > > >
> > > > >>1. You might start with some simple code [find some TI example code
> > to
> > > > start].
> > > >
> > > > May be you can give some keyword to search ?
> > >
> > > You might try your CCS installation - 'examples\dsk6713\ csl\mcbsp' or
> > > something similar depending on which version of CCS that you have [you
> > > can also look under 6711 or any other C67/C62 device. You can also
> > > search the install directory for files with 'mcbsp' in the name.
> > >
> > > Do you know what you are trying to program the McBSP to do?? There are
> > > dozens [or hundreds??] of ways to set up and use a McBSP for different
> > > protocols and hardware configurations. There is no 'one way to do
> > > it'. What is your application? ? or What are you trying to communicate
> > > with??
> > >
> > > > Actually I've been searching using keyword "mcbsp", and I think, I
> > didn't
> > > > find appropriate for my problem.
> > > >
> > > >
> > > > >>2. 95%+ of McBSP problems are related to configuration setup.
> > > >
> > > > Actually I'm still a new user for DSP, is there any tutorial to
> > configure
> > > > DSP ?
> > > > I've tried to configure it, but to much parameters on that, so I use
> > the
> > > > configuration from my senior.
> > > > unfortunatelly, he's not here anymore.
> > >
> > > use an example from #1.
> > > >
> > > >
> > > > >>3. Can you clarify 'not working'?? [can't transmit, can't receive,
> > > > baddata, etc.].
> > > >
> > > > I check McBSP signal using oscilloscope, and the result is :
> > > > CLKX : square wave
> > > good
> > > > CLKR : square wave
> > > good
> > > > FSX : no signal / noise
> > > > FSR : no signla / noise
> > > > DX : no signal / noise
> > > > DR : no signal / noise
> > > >
> > >
> > > Do you have the McBSP connected to anything??
> > >
> > > >
> > > > >>4. McBSPs are memory mapped. You can do some peeking and poking
> with
> > > CCS
> > > > to get some basic >>info.
> > > >
> > > > Can you tell me how to do peeking memory ? especially for mcbsp.
> > >
> > > I apologize - peeking [viewing memory] and poking [writing memory] are
> > > legacy terms from a past era. Use CCS to view the McBSP status and
> > > data registers.
> > > BTW, which McBSP are you trying to program??
> > >
> > > mikedunn
> > > >
> > > > Thanks a lot,
> > > > Artiko Wibowo
> > > >
> > > >
> > > >
> > > >
> > > > ----- Original Message ----
> > > > From: Michael Dunn
> > > > To: Artiko Wibowo
> > > > Cc: c6x@yahoogroups. com
> > > > Sent: Wednesday, January 30, 2008 5:10:12 AM
> > > > Subject: Re: [c6x] troubleshoot mcbsp
> > > >
> > > > Artiko,
> > > >
> > > > On Jan 29, 2008 2:31 AM, Artiko Wibowo
> > wrote:
> > > > > Hi there,
> > > > >
> > > > > Can anybody help me ?
> > > > > mcbsp in my board seems not working. Is there any way to
> troubleshoot
> > > > mcbsp
> > > > > ?
> > > > Yes.
> > > > Which DSP do you have??
> > > > 1. You might start with some simple code [find some TI example code
> to
> > > > start].
> > > > 2. 95%+ of McBSP problems are related to configuration setup.
> > > > 3. Can you clarify 'not working'?? [can't transmit, can't receive,
> bad
> > > > data, etc.].
> > > > 4. McBSPs are memory mapped. You can do some peeking and poking with
> > > > CCS to get some basic info.
> > > >
> > > > mikedunn
> > > > >
> > > > > Regards,
> > > > > Artiko Wibowo
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > www.dsprelated. com/blogs- 1/nf/Mike_ Dunn.php
> > > >
> > > >
> > > > ____________ _________ _________ __
> > > > Never miss a thing. Make Yahoo your homepage.
> > >
> > > --
> > > www.dsprelated. com/blogs- 1/nf/Mike_ Dunn.php
> > >
> > >
> > > ____________ _________ _________ __
> > > Never miss a thing. Make Yahoo your homepage.
> >
> > --
> > www.dsprelated. com/blogs- 1/nf/Mike_ Dunn.php
> >
> >
> > ____________ _________ _________ __
> >
> > Never miss a thing. Make Yahoo your homepage.
>
> --
> www.dsprelated. com/blogs- 1/nf/Mike_ Dunn.php
>
>
> ________________________________
>
> Never miss a thing. Make Yahoo your homepage.

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467