OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Stuffing Serial Bluetooth Module Inside C1k Casing, share your success stories ...
albertr
post Jun 29 2005, 09:04 AM
Post #1





Group: Members
Posts: 535
Joined: 7-March 04
Member No.: 2,195



Since I haven't yet read/seen any posts about success stories on the subj (except for someone who claimed he added a usb bt dongle, but didn't support it by any tech info/pics), I'm getting ready to perform a first surgery on my C1K. Time permitting, I hope to do it sometime next week (maybe on July 4th holiday weekend).

Here's a few thoughts I have on the subj:
- There's a ffuart wired up to a port on the back of the C1K (so-called sharp i/o port) that has all modem control lines. I'm leaving it as a last resort (if everything else fails), since I want to retain it for rs232 comm.
- There's a btuart in PXA270 that has CTS/RTS control lines, but it's unknown if Sharp traced it on PCB. I would guess that it would make sense to have it traced just in case, i.e. planning for future models with built-in BT, but with Sharp you never know...
- Well, it leaves us with stuart that is wired up to IRDA transmitter/diode, but doesn't have any control lines, so hardware flow control is not possible.

If btuart lines can't be traced, either rs232 or irda has to go. Personally, I don't use IRDA myself, so for me the choice is clear. But not having hardware flow control leaves us with a challange of fighting high interrupt latency of bloated Sharp's kernel to avoid fifo overruns. I took a look at Sharp's serial driver, and as usual with sharp it's ... well, not good. I had troubles with overruns even at modest speeds. Now, the good thing is that it;s Intel PXA270, not Sharp's proprientary hardware, so full tech specs are available. I spend a few hours on "unsharp'ing" the serial driver, so now it seems to run ok. I tested it @ 460800 and not getting overruns anymore. I still need to test it @ 921600 and implement suspend/resume hooks, maybe add some hooks to front LED to show activity, etc.

Anyway, just thought it would be useful to have a dedicated thread where we all can share tech info and success stories. Please feel free to contribute... and I'll update you on status of my surgery.
-albertr
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
albertr
post Sep 5 2005, 06:45 AM
Post #2





Group: Members
Posts: 535
Joined: 7-March 04
Member No.: 2,195



Umm, I wasn't thinking about using the same serial port for both bluetooth and serial connections. How that could be done?

I believe that charging LED control is only used in the kernel code. I might be wrong, but it doesn't look like this LED is used in QT/Qtopia. If so, it shouldn't be hard to modify this code to blink twice or whatever.
-albertr
Go to the top of the page
 
+Quote Post
2x4ever
post Sep 5 2005, 06:58 AM
Post #3





Group: Members
Posts: 44
Joined: 31-October 04
From: Moscow,Russia
Member No.: 5,286



QUOTE(albertr @ Sep 5 2005, 02:45 PM)
Umm, I wasn't thinking about using the same serial port for both bluetooth and serial connections. How that could be done?

I believe that charging LED control is only used in the kernel code.  I might be wrong, but it doesn't look like this LED is used in QT/Qtopia. If so, it shouldn't be hard to modify this code to blink twice or whatever.
-albertr
*

It cannot be used for both bt and serial connections at the same time of course. But when BT is switched off a use of this serial port for other things shouldn't be a problem. However it may require some diodes to be soldered.
Go to the top of the page
 
+Quote Post
speculatrix
post Sep 5 2005, 08:32 AM
Post #4





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



QUOTE(2x4ever @ Sep 5 2005, 03:58 PM)
QUOTE(albertr @ Sep 5 2005, 02:45 PM)
Umm, I wasn't thinking about using the same serial port for both bluetooth and serial connections. How that could be done?

It cannot be used for both bt and serial connections at the same time of course. But when BT is switched off a use of this serial port for other things shouldn't be a problem. However it may require some diodes to be soldered.
*



why not steal the IRDA serial lines? are they actually any use at all?
Go to the top of the page
 
+Quote Post
2x4ever
post Sep 5 2005, 09:05 AM
Post #5





Group: Members
Posts: 44
Joined: 31-October 04
From: Moscow,Russia
Member No.: 5,286



QUOTE(speculatrix @ Sep 5 2005, 04:32 PM)
QUOTE(2x4ever @ Sep 5 2005, 03:58 PM)
QUOTE(albertr @ Sep 5 2005, 02:45 PM)
Umm, I wasn't thinking about using the same serial port for both bluetooth and serial connections. How that could be done?

It cannot be used for both bt and serial connections at the same time of course. But when BT is switched off a use of this serial port for other things shouldn't be a problem. However it may require some diodes to be soldered.
*



why not steal the IRDA serial lines? are they actually any use at all?
*


Yes. I'm using irda time to time. Not all of my friends have bluetooth enabled hardware.
But actualy we can share irda serial line with bluetooth.
Go to the top of the page
 
+Quote Post
mikekostousov
post Sep 5 2005, 10:14 AM
Post #6





Group: Members
Posts: 17
Joined: 16-August 04
Member No.: 4,302



QUOTE(2x4ever @ Sep 5 2005, 05:05 PM)
QUOTE(speculatrix @ Sep 5 2005, 04:32 PM)
QUOTE(2x4ever @ Sep 5 2005, 03:58 PM)
QUOTE(albertr @ Sep 5 2005, 02:45 PM)
Umm, I wasn't thinking about using the same serial port for both bluetooth and serial connections. How that could be done?

It cannot be used for both bt and serial connections at the same time of course. But when BT is switched off a use of this serial port for other things shouldn't be a problem. However it may require some diodes to be soldered.
*



why not steal the IRDA serial lines? are they actually any use at all?
*


Yes. I'm using irda time to time. Not all of my friends have bluetooth enabled hardware.
But actualy we can share irda serial line with bluetooth.
*


Ok.. If you turned external power on, the power LED is turned on and you will take bluetooth power on and all irda hardware down...
Is it ok?
Go to the top of the page
 
+Quote Post

Posts in this topic
albertr   Stuffing Serial Bluetooth Module Inside C1k Casing   Jun 29 2005, 09:04 AM
albertr   Here's an output of running a serial BT module...   Jun 29 2005, 09:18 AM
speculatrix   way to go, Albert, good luck! could you use t...   Jun 30 2005, 04:51 AM
euroclie   QUOTE(speculatrix @ Jun 30 2005, 02:51 PM)cou...   Jun 30 2005, 05:12 AM
albertr   C1K has two LEDs, both are software controlled, AF...   Jun 30 2005, 05:17 AM
daniel3000   QUOTE(albertr @ Jun 30 2005, 03:17 PM)As far ...   Jun 30 2005, 11:55 PM
speculatrix   Here's a discussion I started, which floundere...   Jun 30 2005, 02:05 PM
albertr   I think doing 860 would be even more challenging t...   Jun 30 2005, 04:55 PM
speculatrix   QUOTE(albertr @ Jul 1 2005, 01:55 AM)I think ...   Jun 30 2005, 10:23 PM
daniel3000   QUOTE(albertr @ Jul 1 2005, 02:55 AM)It looks...   Jun 30 2005, 11:59 PM
Boris   QUOTE(albertr @ Jul 1 2005, 06:55 AM)It looks...   Jul 1 2005, 12:54 AM
speculatrix   QUOTE(Boris @ Jul 1 2005, 09:54 AM)Nope, I...   Jul 1 2005, 04:21 AM
albertr   The backlight mod that you did is pretty cool. Com...   Jul 1 2005, 04:52 AM
daniel3000   QUOTE(albertr @ Jul 1 2005, 02:52 PM)As far a...   Jul 6 2005, 11:02 PM
Da_Blitz   i am still intrested in the internal usb ports tha...   Jul 1 2005, 07:35 PM
albertr   Sorry, was busy with other projects last weekend.....   Jul 6 2005, 04:54 PM
abegaza   i like the idea here, but let me get a few things ...   Jul 25 2005, 11:16 PM
polito   I'm definitely interesting in what comes of al...   Jul 29 2005, 11:07 PM
2x4ever   Albertr at HPC.RU wrote: QUOTEBTW, how did you ma...   Aug 31 2005, 06:51 AM
albertr   Thanks for sharing your experience! Now I see ...   Aug 31 2005, 07:39 AM
2x4ever   QUOTEThanks for sharing your experience! Now I...   Aug 31 2005, 08:24 AM
albertr   QUOTEYou may try to trace it another way: take dev...   Aug 31 2005, 09:24 AM
2x4ever   Any of BTUART pins can be used as usualy GPIO pins...   Aug 31 2005, 09:40 AM
albertr   Ahh, right! Sorry, I completely overlooked tha...   Aug 31 2005, 12:17 PM
2x4ever   QUOTE(albertr @ Aug 31 2005, 08:17 PM)Ahh, ri...   Sep 1 2005, 06:43 AM
2x4ever   It would be interesnting to fetch a datasheer for ...   Sep 1 2005, 06:55 AM
speculatrix   QUOTE(albertr @ Aug 31 2005, 09:17 PM)Ahh, ri...   Sep 1 2005, 07:04 AM
2x4ever   QUOTEah, apparently the 255 has 30% lower power co...   Sep 1 2005, 07:24 AM
speculatrix   http://repair4pda.org/disassembly_sharp.html   Sep 1 2005, 07:05 AM
albertr   I believe the scoop is a proprientary Sharp's ...   Sep 1 2005, 07:18 AM
albertr   What about stuart? In case you don;t need SIR. -al...   Sep 1 2005, 07:19 AM
2x4ever   QUOTEI believe the scoop is a proprientary Sharp...   Sep 1 2005, 09:01 AM
speculatrix   QUOTE(2x4ever @ Sep 1 2005, 06:01 PM)Yes it i...   Sep 1 2005, 12:18 PM
2x4ever   QUOTE(speculatrix @ Sep 1 2005, 08:18 PM)not ...   Sep 1 2005, 12:26 PM
speculatrix   QUOTE(2x4ever @ Sep 1 2005, 09:26 PM)If i...   Sep 1 2005, 01:25 PM
2x4ever   QUOTE(speculatrix @ Sep 1 2005, 09:25 PM)I...   Sep 1 2005, 02:02 PM
albertr   QUOTE(2x4ever @ Sep 1 2005, 05:02 PM)I'm ...   Sep 1 2005, 03:03 PM
2x4ever   QUOTE(albertr @ Sep 1 2005, 11:03 PM)I though...   Sep 1 2005, 03:31 PM
albertr   QUOTE(2x4ever @ Sep 1 2005, 06:31 PM)921600 i...   Sep 1 2005, 03:55 PM
2x4ever   QUOTE(albertr @ Sep 1 2005, 11:55 PM)QUOTE(2x...   Sep 1 2005, 04:05 PM
mikekostousov   QUOTE(2x4ever @ Sep 2 2005, 12:05 AM)QUOTE(al...   Sep 1 2005, 04:29 PM
2x4ever   QUOTE(mikekostousov @ Sep 2 2005, 12:29 AM)It...   Sep 1 2005, 04:40 PM
mikekostousov   QUOTE(2x4ever @ Sep 2 2005, 12:40 AM)I'll...   Sep 1 2005, 05:15 PM
albertr   QUOTE(mikekostousov @ Sep 1 2005, 08:15 PM)Wh...   Sep 1 2005, 05:59 PM
2x4ever   Sh*t. My bluetooth dongle is just sudenly stopped ...   Sep 2 2005, 10:50 AM
albertr   Ugh... In case you will be looking for a Class 2 d...   Sep 2 2005, 11:48 AM
2x4ever   Sorry, Albert, i don't know why but i can...   Sep 2 2005, 12:38 PM
2x4ever   I've bought the same billionton class 1 dongle...   Sep 2 2005, 12:58 PM
albertr   Yeah, BC2-Ext are getting hard to come by, since i...   Sep 2 2005, 01:12 PM
2x4ever   QUOTE(albertr @ Sep 2 2005, 09:12 PM)Yeah, BC...   Sep 2 2005, 01:27 PM
2x4ever   I've just bought a new NONAME dongle. I was un...   Sep 3 2005, 05:47 AM
albertr   It looks close to BC2-Ext reference design, but no...   Sep 3 2005, 07:53 AM
2x4ever   QUOTE(albertr @ Sep 3 2005, 03:53 PM)It looks...   Sep 3 2005, 07:55 AM
albertr   QUOTE(2x4ever @ Sep 3 2005, 10:55 AM)Yes, i...   Sep 3 2005, 08:36 AM
2x4ever   I have another porblem. After switching it to BCSP...   Sep 3 2005, 08:05 AM
albertr   QUOTE(2x4ever @ Sep 3 2005, 11:05 AM)I have a...   Sep 3 2005, 08:44 AM
2x4ever   QUOTE(albertr @ Sep 3 2005, 04:44 PM)Do you m...   Sep 3 2005, 08:50 AM
albertr   I don't use pskeys, but I believe it could be ...   Sep 3 2005, 09:42 AM
2x4ever   QUOTE(albertr @ Sep 3 2005, 05:42 PM)I don...   Sep 3 2005, 10:43 AM
2x4ever   Ok. I figured out. At the first look (internet sit...   Sep 3 2005, 10:54 AM
albertr   Correction: there're 17 soldering pads on the ...   Sep 3 2005, 11:04 AM
2x4ever   zharit' shashlik - is great All other things ...   Sep 3 2005, 11:14 AM
albertr   Here's the pics of DELL Truemobile 350 module ...   Sep 3 2005, 05:54 PM
Da_Blitz   Cant wait to see this working so i can do it mysel...   Sep 4 2005, 05:01 PM
2x4ever   I've contacted with an official Dell distribut...   Sep 5 2005, 03:12 AM
mikekostousov   QUOTE(2x4ever @ Sep 5 2005, 11:12 AM)I've...   Sep 5 2005, 04:55 AM
2x4ever   QUOTE(mikekostousov @ Sep 5 2005, 12:55 PM)QU...   Sep 5 2005, 05:22 AM
mikekostousov   QUOTE(2x4ever @ Sep 5 2005, 01:22 PM)QUOTE(mi...   Sep 5 2005, 05:39 AM
mikekostousov   For example: http://www.maxim-ic.com/quick_view2.c...   Sep 5 2005, 05:43 AM
2x4ever   QUOTE(mikekostousov @ Sep 5 2005, 01:43 PM)Fo...   Sep 5 2005, 06:12 AM
speculatrix   QUOTE(mikekostousov @ Sep 5 2005, 02:39 PM)By...   Sep 5 2005, 05:45 AM
albertr   QUOTE(speculatrix @ Sep 5 2005, 08:45 AM)Sudd...   Sep 5 2005, 06:17 AM
speculatrix   QUOTE(albertr @ Sep 5 2005, 03:17 PM)QUOTE(sp...   Sep 5 2005, 01:14 PM
albertr   If BCSP protorol is used, then I don't believe...   Sep 5 2005, 06:26 AM
2x4ever   QUOTE(albertr @ Sep 5 2005, 02:26 PM)If BCSP ...   Sep 5 2005, 06:35 AM
albertr   Umm, I wasn't thinking about using the same se...   Sep 5 2005, 06:45 AM
2x4ever   QUOTE(albertr @ Sep 5 2005, 02:45 PM)Umm, I w...   Sep 5 2005, 06:58 AM
speculatrix   QUOTE(2x4ever @ Sep 5 2005, 03:58 PM)QUOTE(al...   Sep 5 2005, 08:32 AM
2x4ever   QUOTE(speculatrix @ Sep 5 2005, 04:32 PM)QUOT...   Sep 5 2005, 09:05 AM
mikekostousov   QUOTE(2x4ever @ Sep 5 2005, 05:05 PM)QUOTE(sp...   Sep 5 2005, 10:14 AM
2x4ever   QUOTE(mikekostousov @ Sep 5 2005, 06:14 PM)Ok...   Sep 5 2005, 10:21 AM
2x4ever   The whole schematic should be a somthing like this...   Sep 5 2005, 11:00 AM
mikekostousov   QUOTE(2x4ever @ Sep 5 2005, 07:00 PM)The whol...   Sep 5 2005, 12:40 PM
albertr   Ahh, now I see what you are saying... Sorry, I mis...   Sep 5 2005, 03:38 PM
Da_Blitz   try typing ledctl on your command line, should giv...   Sep 5 2005, 07:09 PM
speculatrix   I came across an advert for a company who sell emb...   Sep 6 2005, 04:18 AM
2x4ever   QUOTE(speculatrix @ Sep 6 2005, 12:18 PM)I ca...   Sep 6 2005, 05:25 AM
albertr   Can your friend's friend help with getting a h...   Sep 6 2005, 05:07 AM
speculatrix   QUOTE(albertr @ Sep 6 2005, 02:07 PM)Can your...   Sep 6 2005, 05:38 AM
mikekostousov   QUOTE(speculatrix @ Sep 6 2005, 01:38 PM)QUOT...   Sep 7 2005, 12:25 PM
speculatrix   not had a response from my contact, but he tends t...   Sep 9 2005, 04:58 AM
speculatrix   sorry, still no news   Sep 12 2005, 04:15 AM
albertr   Just got news from CSR (Thanks, Miguel!) - The...   Sep 12 2005, 10:47 AM
2x4ever   albertr, i need your help It's seems that you...   Sep 13 2005, 09:32 AM
Da_Blitz   any one know if there is a second usb port with tr...   Sep 12 2005, 07:03 PM
albertr   Umm... weird. Is it in BCSP mode? Can you see if k...   Sep 13 2005, 10:02 AM
2x4ever   QUOTE(albertr @ Sep 13 2005, 06:02 PM)Umm... ...   Sep 13 2005, 10:07 AM
2x4ever   By the way: i've tried your desharpised serial...   Sep 13 2005, 10:11 AM
albertr   If you didn't solder it to ffuart, how about r...   Sep 13 2005, 10:17 AM
2x4ever   QUOTE(albertr @ Sep 13 2005, 06:17 PM)If you ...   Sep 13 2005, 10:27 AM
4 Pages V   1 2 3 > » 


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th December 2014 - 02:23 PM