* [Bluez-devel] How can I set CSR module as PCM master?
@ 2005-07-26 8:30 宁 宁
2005-07-26 10:26 ` Peter Wippich
0 siblings, 1 reply; 3+ messages in thread
From: 宁 宁 @ 2005-07-26 8:30 UTC (permalink / raw)
To: bluez-devel
Hi,
I want to transmit voice data through CSR modules so
that I can talk with others using speaker and
microphone.And I connecte a C145483 Codec throught PCM
interface .But unfortunately,CSR module doesn't send
the PCM clock and sync,so the Codec doesn't work.And
now, I know that when the CSR module is set as a PCM
master it will send the PCM clock. However ,I don't
know how to do that. I can change the PCM mapping
using pskey just like this:
$ pskey -i hci0 mapsco 0
$ hciconfig hci0 revision
hci0: Type: UART
BD Address: 4A:49:4E:00:15:2F ACL MTU: 384:4
SCO MTU: 64:8
Build 705
Chip version: BlueCore02-External
Max key size: 56 bit
SCO mapping: HCI
So, what can I do?
Thanks in advance!
gadfly
__________________________________________________
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-devel] How can I set CSR module as PCM master?
2005-07-26 8:30 [Bluez-devel] How can I set CSR module as PCM master? 宁 宁
@ 2005-07-26 10:26 ` Peter Wippich
2005-07-26 11:34 ` Steven Singer
0 siblings, 1 reply; 3+ messages in thread
From: Peter Wippich @ 2005-07-26 10:26 UTC (permalink / raw)
To: bluez-devel
Hi,
you have to set PSKEY PCM_CONFIG32. It is described in the CSR data
sheets.
Ciao,
Peter
On Tue, 26 Jul 2005, [gb2312] =C4=FE =C4=FE wrote:
> Hi,
> I want to transmit voice data through CSR modules so
> that I can talk with others using speaker and
> microphone.And I connecte a C145483 Codec throught PCM
> interface .But unfortunately,CSR module doesn't send
> the PCM clock and sync,so the Codec doesn't work.And
> now, I know that when the CSR module is set as a PCM
> master it will send the PCM clock. However ,I don't
> know how to do that. I can change the PCM mapping
> using pskey just like this:
> $ pskey -i hci0 mapsco 0
> $ hciconfig hci0 revision
> hci0: Type: UART
> BD Address: 4A:49:4E:00:15:2F ACL MTU: 384:4
> SCO MTU: 64:8
> Build 705
> Chip version: BlueCore02-External
> Max key size: 56 bit
> SCO mapping: HCI
> So, what can I do?
>
> Thanks in advance!
>
> gadfly
>
>
>
> __________________________________________________
> =B8=CF=BF=EC=D7=A2=B2=E1=D1=C5=BB=A2=B3=AC=B4=F3=C8=DD=C1=BF=C3=E2=B7=D1=
=D3=CA=CF=E4?
> http://cn.mail.yahoo.com
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dcl=
ick
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
| Peter Wippich Voice: +49 30 46776411 |
| G&W Instruments GmbH fax: +49 30 46776419 |
| Gustav-Meyer-Allee 25, Geb. 12 Email: pewi@gw-instruments.de |
| D-13355 Berlin / Germany |
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-devel] How can I set CSR module as PCM master?
2005-07-26 10:26 ` Peter Wippich
@ 2005-07-26 11:34 ` Steven Singer
0 siblings, 0 replies; 3+ messages in thread
From: Steven Singer @ 2005-07-26 11:34 UTC (permalink / raw)
To: bluez-devel
Peter Wippich wrote:
> you have to set PSKEY PCM_CONFIG32. It is described in the CSR data
> sheets.
And the default is PCM master.
In fact, the default PS key settings are for a Motorola MC145483 codec -
precisely the code you're using - as that's what we use on the Casira
motherboards. You shouldn't need to change any of the detailed settings.
> On Tue, 26 Jul 2005, 宁 宁 wrote:
>> $ pskey -i hci0 mapsco 0
>> $ hciconfig hci0 revision
>> hci0: Type: UART
>> BD Address: 4A:49:4E:00:15:2F ACL MTU: 384:4
>> SCO MTU: 64:8
>> Build 705
>> Chip version: BlueCore02-External
>> Max key size: 56 bit
>> SCO mapping: HCI
Surely you want SCO mapping: PCM. I'm guessing that means using pskey
to set mapsco 1 (strictly, you want to set PSKEY_HOSTIO_MAP_SCO_PCM to
1) and rebooting (PS key changes take effect only at reboot).
These sorts of detailed technical questions about CSR products
specifically might be best asked on our technical newsgroups at
news.csr.com. See http://www.csr.com/forum.htm for details.
- Steven
--
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-26 11:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-26 8:30 [Bluez-devel] How can I set CSR module as PCM master? 宁 宁
2005-07-26 10:26 ` Peter Wippich
2005-07-26 11:34 ` Steven Singer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox