Com3 Questions/Observations

Started by Don Kinzer in BasicX13 years ago 13 replies

I noticed that my app runs quite a bit slower when I have Com3 opened. For example, a simple loop with some calculations takes ...

I noticed that my app runs quite a bit slower when I have Com3 opened. For example, a simple loop with some calculations takes about 1.9ms with Com3 not opened. With Com3 opened, not sending or receiving any characters, the same loop takes about 4.2ms. I assume that this is


Re: Com3

Started by Doug in BasicX14 years ago 1 reply

You can't run more than one com3 at a time, but you can switch between pins. I do this all the time. I have used a BX24 to display...

You can't run more than one com3 at a time, but you can switch between pins. I do this all the time. I have used a BX24 to display a menu on LCD. The data arrives on Com1 and goes out to Com3. But I have many other devies attached too, like an IR decoder, GPS, sensors, etc. If


Com3 overhead (again)

Started by cfrancois_55116 in BasicX11 years ago

After reading about Com3 overhead on one of the boards, I decided to measure it to determine if opening Com3 only when needed would...

After reading about Com3 overhead on one of the boards, I decided to measure it to determine if opening Com3 only when needed would be beneficial for my application. My tests use 19200 baud and a single task, and measure the time for a computational sequence for the following scenerios: Time Speed Factor ...


Com 3 port issues

Started by Philippe DAROUX in BasicX13 years ago 3 replies

Anybody ever managed to open two Com3 ports on a BX-24 ? When I program it, it compiles and everything but the program seems...

Anybody ever managed to open two Com3 ports on a BX-24 ? When I program it, it compiles and everything but the program seems to lock as soon as I open the second Com3 port if I do not close the first one first. Can the chip handle two Com3 ports at the same time ?


Problem with COM1 and COM3

Started by simone_zecchetto in BasicX11 years ago 5 replies

Hi to all, great group. I've got the bx24 since 2002. Now I use this chip for inquiring an OEM GPS and send the NMEA sentence to a GSM modem....

Hi to all, great group. I've got the bx24 since 2002. Now I use this chip for inquiring an OEM GPS and send the NMEA sentence to a GSM modem. All it works dearly if I use COM3 for both the apps. But I don't want to define and redefine com3 every time I look at the GPS and at the GSM (the baudrates isn't equal). 'Call DefineCom3 etc..... 'Call opencom(3, 4800, inputbuffer, outputbuffer) Wi...


Bluetooth: Com1 or Com3

Started by lili...@... in BasicX12 years ago 7 replies

hey, i'm new to this discussion group so we'll see if this works. Here's a question, is there any advantage to using Com3 over Com1 on a BX24?...

hey, i'm new to this discussion group so we'll see if this works. Here's a question, is there any advantage to using Com3 over Com1 on a BX24? I'm having some troubles using a bluetooth serial adaptor to make my connection to Com 1 wireless and I wonder if Com3 would be less of a problem. I'm sending and recieving info at 19200 baud, no parity, 8 bit, 1 stop bit and it works with a serial cab


BX-35 using Com3 on multiple lines

Started by Bob Roos in BasicX13 years ago 9 replies

I am having a bit of a difficulty using Com3 to talk to more than 1 serial device at the same (sort of) time. The devices I am...

I am having a bit of a difficulty using Com3 to talk to more than 1 serial device at the same (sort of) time. The devices I am trying to communicate with only speak when spoken to. There are no unsolicited responses. I define the comport and then open it for the new l


9600 hz oscillator with the bx-24?

Started by spillikinaerospace in BasicX11 years ago 4 replies

Hello can anyone tell me what's the simplest way to make a 9600 hz oscillator with the bx24? the built-in timer apparently can't do it. maybe...

Hello can anyone tell me what's the simplest way to make a 9600 hz oscillator with the bx24? the built-in timer apparently can't do it. maybe i can manipulate com3 into doing it if i set it at 19200. but does the com3 protocol include a start bit? hmmmm.... thanx anyone, louie


SPI and COM

Started by phuo...@yahoo.com in BasicX9 years ago

I have a issue in using of COM1, COM3 and Pulseout. So, I intend to use SPI to receive data from other source. Is it possible to use SPI of BX24...

I have a issue in using of COM1, COM3 and Pulseout. So, I intend to use SPI to receive data from other source. Is it possible to use SPI of BX24 as a COM port. how can we setup for SPI so that it will behaves as the COM3 (Call DefineCom3(ReceiPin, SendPin, bx0000_1000) Thank you in advance for suggestion, Pthien ------------------------------------


Newbie Questions for the BX-35

Started by Rich Mays in BasicX11 years ago 1 reply

I am considering using a BX-35 for a project and I have a few questions. First, from posts in this newgroups, it looks like to use more than 2...

I am considering using a BX-35 for a project and I have a few questions. First, from posts in this newgroups, it looks like to use more than 2 UART's you simply share COM3 between the second and subsequent UART's calling DEFINE COM3 and OPEN COM each time you want to switch between them. Does this significantly slow down the processor? Do you know how big a performance hit this incurs...


COM3 Problem

Started by jxpicciri2000 in BasicX13 years ago 3 replies

I've used COM3 successfully before so I think I understand the basics however I'm think I'm having a problem with the code below....

I've used COM3 successfully before so I think I understand the basics however I'm think I'm having a problem with the code below. I say "think" because the initial testing is without any COM on the input line, I just wanted to test the looping. I thought there were s


question about the use of com3

Started by "wimn.rm" in BasicX11 years ago

I have 3 sources/destinations using serial I/O So I have defined 3 different I/O queues. Is there anything I have to do when switching the...

I have 3 sources/destinations using serial I/O So I have defined 3 different I/O queues. Is there anything I have to do when switching the com3 port to a different queue? Do I have to wait and make sure the queues are empty? What haves when data comes in into a certain active input queue and I do a OpenCom to a different Queue and a re-DefineCom? Wim


Com3 Help

Started by mikeytoo2003 in BasicX14 years ago 1 reply

I would like to use COM3 as an outbound serial port. I'm comfortable defining and opening the port but I'm stumped on how to send...

I would like to use COM3 as an outbound serial port. I'm comfortable defining and opening the port but I'm stumped on how to send data to the port. I've started with the following: > DefineCom3(0,5, bx0000_1000) > OpenCom(3, 9600, InQ, OutQ) What size to I


Problem operating com1 and com3 in same program

Started by djvadder in BasicX11 years ago 1 reply

I have two programs- one uses com1 to communicate with a cmucam, the other uses com3 to communicate with an ssc32 servo board. Each program...

I have two programs- one uses com1 to communicate with a cmucam, the other uses com3 to communicate with an ssc32 servo board. Each program operates perfectly independently, but when I add them together into one program, the whole thing locks up.....any ideas? Thanks!


Looping Com3 Question

Started by jxpicciri2000 in BasicX12 years ago 3 replies

I would like to sample several different serial input pins with Com3. Each pin has a constant stream of bytes, which usually ...

I would like to sample several different serial input pins with Com3. Each pin has a constant stream of bytes, which usually repeats every three or so bytes and occasional changes to a new sequence. For example line 1 (A, Byte1A, Byte2A, A, Byte1A, Byte2A, ... line 2 (B, Byte1B, Byte2B, B, ... etc. How do I Byt


alternative to debug .print

Started by doc975 in BasicX13 years ago 4 replies

Hi all, This is my first post. I would like to use com1 and com3 to send data. com1 to pc and com3 to bob2 osd module. I have...

Hi all, This is my first post. I would like to use com1 and com3 to send data. com1 to pc and com3 to bob2 osd module. I have a wireless rs232 connection to my pc and if communication gets interupted using debug print the system hangs. I am new to basicx and could really us


Com1 and Inversion

Started by iclsidsan in BasicX14 years ago 1 reply

Hello, I had voltage level problems with Com3 and had to use Max232 and did inversion within the software as defining the com3...

Hello, I had voltage level problems with Com3 and had to use Max232 and did inversion within the software as defining the com3 as Call DefineCom3 (5, 6, bx0000_1000) . However now I need to use com1 as well and have the same voltage level problem and I would nee


StatusQueue with Com3

Started by jxpicciri2000 in BasicX12 years ago 2 replies

How does the StatusQueue function work with input queues use in Com3. It seems to find a "0" in the queue even if there is no input to the...

How does the StatusQueue function work with input queues use in Com3. It seems to find a "0" in the queue even if there is no input to the pin assigned to the queue. Thanks, John-


Serial I/O

Started by deltapparo in BasicX12 years ago 1 reply

"300 to 19,200 baud on any I/O pin using Com3" Does this mean I can use Com3 on any I/O pin - Once ? Can I use two I/O pins for...

"300 to 19,200 baud on any I/O pin using Com3" Does this mean I can use Com3 on any I/O pin - Once ? Can I use two I/O pins for serial I/O (TTL 5V), one to send to one device and another to receive to another device?


Program hanging/resetting after a number of LCD com3 string outputs

Started by charliem101101 in BasicX14 years ago 47 replies

Hi all, I am having trouble with a program and any help would be very welcome. My program jumps between subroutines that...

Hi all, I am having trouble with a program and any help would be very welcome. My program jumps between subroutines that represent different options on a menu. Each subroutine puts a string on the LCD using com3. The problem I get is that after an exact number