Click here to Skip to main content
15,894,907 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
AnswerRe: Accessing ACPI system from code Pin
simonchen.net5-Sep-07 16:00
simonchen.net5-Sep-07 16:00 
GeneralSetup help for Posiflex Bar-code scanner Pin
Brady Kelly23-Aug-07 1:01
Brady Kelly23-Aug-07 1:01 
QuestionRs232 conection for microcontroller Pin
Jelle De Vos19-Aug-07 20:26
Jelle De Vos19-Aug-07 20:26 
AnswerRe: Rs232 conection for microcontroller Pin
Luc Pattyn19-Aug-07 23:00
sitebuilderLuc Pattyn19-Aug-07 23:00 
GeneralRe: Rs232 conection for microcontroller Pin
Jelle De Vos19-Aug-07 23:33
Jelle De Vos19-Aug-07 23:33 
GeneralRe: Rs232 conection for microcontroller Pin
Luc Pattyn20-Aug-07 0:02
sitebuilderLuc Pattyn20-Aug-07 0:02 
GeneralRe: Rs232 conection for microcontroller Pin
Jelle De Vos20-Aug-07 0:22
Jelle De Vos20-Aug-07 0:22 
GeneralRe: Rs232 conection for microcontroller Pin
Luc Pattyn20-Aug-07 0:41
sitebuilderLuc Pattyn20-Aug-07 0:41 
Hi Jelle,

my first impression is the problem is on the microcontroller side; I think
it can not keep up with the transmission speed. When you use a terminal instead
of your app, you send characters as fast as you can type, which is only a few
per second; your app would send that string in less than a second.

Is you microcontroller using interrupts to receive serial characters?
is there an operating system?
does it need a task switch for every incoming character?
or is there a buffer that could store an entire message (whatever that means,
maybe something ending on CR or LF), and just signals the main program once
the entire message has been received?
what are you programming your uC in? assembly, C? what type of uC is it?
do you disable interrupts for a long period of time?
or do you have interrupt priorities, with some higher priority interrupt handler
temporarily disabling your serial receive handler?

you may try the following:
- reduce the baud rate
- add more stop bits

Normally there should be no problem receiving data at 9600bd, that is assuming
you did everything right. If the receiver is say a STAMP, programmed in Basic,
then things may go wrong because too many CPU cycles get waisted in order to
process a single incoming character.

groeten


Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


GeneralRe: Rs232 conection for microcontroller Pin
Jelle De Vos20-Aug-07 0:59
Jelle De Vos20-Aug-07 0:59 
GeneralRe: Rs232 conection for microcontroller Pin
Jelle De Vos20-Aug-07 1:07
Jelle De Vos20-Aug-07 1:07 
GeneralRe: Rs232 conection for microcontroller Pin
Luc Pattyn20-Aug-07 1:15
sitebuilderLuc Pattyn20-Aug-07 1:15 
GeneralRe: Rs232 conection for microcontroller Pin
Luc Pattyn20-Aug-07 1:45
sitebuilderLuc Pattyn20-Aug-07 1:45 
GeneralRe: Rs232 conection for microcontroller Pin
Jelle De Vos20-Aug-07 1:55
Jelle De Vos20-Aug-07 1:55 
Question22" Monitor Recommendation Pin
martin_hughes18-Aug-07 9:30
martin_hughes18-Aug-07 9:30 
Questionmicrocontroller to use ? Pin
shaikhooo17-Aug-07 14:28
shaikhooo17-Aug-07 14:28 
AnswerRe: microcontroller to use ? Pin
Luc Pattyn17-Aug-07 14:42
sitebuilderLuc Pattyn17-Aug-07 14:42 
AnswerRe: microcontroller to use ? Pin
Alexander M.,19-Aug-07 8:16
Alexander M.,19-Aug-07 8:16 
GeneralRe: microcontroller to use ? Pin
Luc Pattyn19-Aug-07 8:48
sitebuilderLuc Pattyn19-Aug-07 8:48 
AnswerRe: microcontroller to use ? Pin
LittleYellowBird20-Aug-07 4:44
LittleYellowBird20-Aug-07 4:44 
QuestionLaCie Ethernet Disk [modified] Pin
t4ure4n13-Aug-07 23:21
t4ure4n13-Aug-07 23:21 
QuestionHow to send/receive data from/to an outside source Pin
High0ctane13-Aug-07 6:44
High0ctane13-Aug-07 6:44 
AnswerRe: How to send/receive data from/to an outside source Pin
Dan Neely13-Aug-07 7:07
Dan Neely13-Aug-07 7:07 
AnswerRe: How to send/receive data from/to an outside source Pin
Luc Pattyn13-Aug-07 7:17
sitebuilderLuc Pattyn13-Aug-07 7:17 
GeneralRe: How to send/receive data from/to an outside source Pin
High0ctane13-Aug-07 7:50
High0ctane13-Aug-07 7:50 
GeneralRe: How to send/receive data from/to an outside source Pin
Luc Pattyn13-Aug-07 7:57
sitebuilderLuc Pattyn13-Aug-07 7:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.