variable corruption, tasks and software com ports

Started by mr_sallen in BasicX14 years ago 3 replies

I'm trying to run a simple program that has a main idle loop and two tasks. One task reads from com3, stores some variables and ...

I'm trying to run a simple program that has a main idle loop and two tasks. One task reads from com3, stores some variables and Debug.prints the results. The other just lights some leds periodically. However, running the com3 reading loop in a separate task seems to lead to co


Queue trouble

Started by Don Lewis in BasicX14 years ago 4 replies

Hello, I had the BX24 working great with the LCD+ and a GEMINI telescope mount using com3. When I added a third device on com3...

Hello, I had the BX24 working great with the LCD+ and a GEMINI telescope mount using com3. When I added a third device on com3 things went to pot. LCD+ inpin=5, outpin=6 GEMINI inpin = 7, outpin = 8 Pic-Servo inpin = 9, outpin = 10, tried on 11, 12 as well. I


Com3 Vs. PulseOut

Started by Eric in BasicX13 years ago 8 replies

I'm working on a project where I'm trying to navigate a 4WD skid-steer bot using data from a gps. I have a BX-24p in a Lynxmotion mini atom ...

I'm working on a project where I'm trying to navigate a 4WD skid-steer bot using data from a gps. I have a BX-24p in a Lynxmotion mini atom bot board. Pin 20 is connected through a level shifter to the rs-232 interface of a handheld gps (Garmin Legend). The gps streams data in standard 4800 81N nmea format over the serial link. I use com3 on pin 20 to read the se


1.5 stop bit?

Started by manuelito01 in BasicX13 years ago 3 replies

Is it impossible to use 1.5 stop bit for the Com3? The BX System Library says that Com3 always uses 1 stop bit. Thanks! ...

Is it impossible to use 1.5 stop bit for the Com3? The BX System Library says that Com3 always uses 1 stop bit. Thanks!


COM3 Rxd pull up ?

Started by bebx2000 in BasicX16 years ago 2 replies

I am connecting a DS2480B (serial to 1-wire innterface) to COM3. When I send commands to the device, I only receive zeros in...

I am connecting a DS2480B (serial to 1-wire innterface) to COM3. When I send commands to the device, I only receive zeros in response. I found this thread: http://groups.yahoo.com/group/basicx/me ssage/6074


COM3 Voltage 5V to 3V

Started by ap0c...@gmail.com in BasicX11 years ago 1 reply

I have configured 2 pins for com3 to communicate with a Siemens C35 using its RX,TX pins so far so good i can communicate with the cellphone, but...

I have configured 2 pins for com3 to communicate with a Siemens C35 using its RX,TX pins so far so good i can communicate with the cellphone, but in order to the cellphone don't loose its network signal the voltage in the RX pin must be limited to 3V to communicate with correctly and without the phone loose its network signal. How can i make the voltage come down from 5v(comp3 RX) to 3V(cellpho...


Define two simultaneous serial ports with DefineCom3

Started by jack_rabbit_1962 in BasicX13 years ago 6 replies

Using a BX-24, I need to define two simultaneous serial ports using DefineCom3. Com1 is already used for another task, so I can not use it. ...

Using a BX-24, I need to define two simultaneous serial ports using DefineCom3. Com1 is already used for another task, so I can not use it. For example, I could use pins 9&10 for my first serial port and pins 11&12 for my second serial port. To switch between ports, I would need to close Com3, use DefineCom3 to change the I/O pins, open Com3. T


Additional com ports?

Started by ChrisW in BasicX8 years ago 19 replies

I'm using Com3 to send & receive data, and my incoming speed is limited. I'd like to open 2 serial channels, one at 1200 baud, the other at...

I'm using Com3 to send & receive data, and my incoming speed is limited. I'd like to open 2 serial channels, one at 1200 baud, the other at least 9600 if not higher. How can I do this? ------------------------------------


Serial com & BX-24 resetting?

Started by ChrisW in BasicX7 years ago 1 reply

I'm having issues with the BX-24 resetting when I send data through Com3. I've run a similar program with no issues. What conditions could cause...

I'm having issues with the BX-24 resetting when I send data through Com3. I've run a similar program with no issues. What conditions could cause the uC to reset? ------------------------------------


CpuSleep

Started by anakatalan in BasicX12 years ago 4 replies

Hello, I'm a new user of Bx24 and I have ploblems with the instruction CpuSleep. In my program I am using com1, and com3, and 2 pins are ADC....

Hello, I'm a new user of Bx24 and I have ploblems with the instruction CpuSleep. In my program I am using com1, and com3, and 2 pins are ADC. I would like to call CpuSleep after a time without any change. I have seen an example (Low_power_App_Note_Bx24), but when I use it in my program, it is became hung up. Please, I need help. [(:|] thanks


Locked EEPROM, no communication to BX-24

Started by ikhairullah in BasicX15 years ago 10 replies

I am runngin a program on the BX-24 which recieves 1 byte via serial port (Com3). The moment the implemented it, the BX-24 froze...

I am runngin a program on the BX-24 which recieves 1 byte via serial port (Com3). The moment the implemented it, the BX-24 froze and is unable to be resetting of download of anything. The diagonostics shows everything is fine. If I reset, then it normally shuts off and com


Problem with Serial Com...Wiring?

Started by Ande_3 in BasicX15 years ago 4 replies

All, I'm having some problems getting 2 BX-24's to talk to one another. I'm using serial com between the two utilizing COM3....

All, I'm having some problems getting 2 BX-24's to talk to one another. I'm using serial com between the two utilizing COM3. I've included my code below for anyone to review, but I'm 98% certain my problem is not software related but hardware. Put simply,


Use of com1 fot other purposes

Started by Jan Valcke in BasicX14 years ago 1 reply

Hi all, Is it possible to use com1 that normal is used for programming and monitoring the basicX-24 chip for other purposes. I...

Hi all, Is it possible to use com1 that normal is used for programming and monitoring the basicX-24 chip for other purposes. I need to use this one because the baud rate is not limited to 19200B/s like the software uart com3 does. Thanks


what is inputbuffer, outputbuffer?

Started by kongfu2008 in BasicX14 years ago 1 reply

if i define com3 then i have to place value to substitude for inputbuffer, ouputbuffer. so what do they do what do the indicate ...

if i define com3 then i have to place value to substitude for inputbuffer, ouputbuffer. so what do they do what do the indicate what sort of thing should i inter? please show me an exzample and if i defines pin15 pin16 as the input and putput pins how do i refe


Re: BX-24 and Mini SSC II

Started by arhodes19044 in BasicX13 years ago 8 replies

Well, I think this will be pretty easy. I think that you are saying you need to send the SSC-II the command 255, followed by the ...

Well, I think this will be pretty easy. I think that you are saying you need to send the SSC-II the command 255, followed by the servonumber, followed by the position in ascii. So you need to define com3 at a certain baud rate, with a certain input and output pin. To do this you will need input and output queues. Maybe 10 bytes in each queue unless you


Serial data Com3 19200

Started by Mikael Karstikko in BasicX12 years ago

Hello ! I have an extra Innovate XD-16 display ( 19200, 8, 1 ) I was hoping to drive it with the BX-24 ... I have had no luck so far ... I...

Hello ! I have an extra Innovate XD-16 display ( 19200, 8, 1 ) I was hoping to drive it with the BX-24 ... I have had no luck so far ... I guess my problem is the 16bits / word ... I am currently using normal characters (from ascii table) 2 per word . Also how do i convert an integer easily to binary ?? ( if i ever get this to work ... ) Here's the discription of the protocol . ht...


Serial Queues again.

Started by Don Lewis in BasicX14 years ago

Ok, resources in ram are getting too thin.. I am trying to have my BX-24 talk to multiple serial devices on COM3 and one device on...

Ok, resources in ram are getting too thin.. I am trying to have my BX-24 talk to multiple serial devices on COM3 and one device on COM1. It works very well switching between the ports and pperforming the tasks it I limit them. My question: Is the sharing of InQueue and OutQueue


BX-24 And Ocelot

Started by manuelito01 in BasicX13 years ago

Has anyone ever tried use Bx-24 to control an Appdig Ocelot??? I've tried, but no results. I used the Com3 and a TTL signal converter. ...

Has anyone ever tried use Bx-24 to control an Appdig Ocelot??? I've tried, but no results. I used the Com3 and a TTL signal converter. The communication parameters are correct (9600,1 stop bit, no parity, no handshake). The communication protocol is correctly implemented !! I tested everything with a serial protocol spy!


Two serial ports at once

Started by Edward Ringel in BasicX12 years ago

Hi all, Hoping to get some help which may be of interest to everyone. I want to use a BX-35 to maintain two RS-232 ports. I have com3 working...

Hi all, Hoping to get some help which may be of interest to everyone. I want to use a BX-35 to maintain two RS-232 ports. I have com3 working without difficulty, talking to the LCD+. I want to be able to load my program, disconnect from my PC, and then connect com1 to another piece of hardware that wants to talk to an RS232 interface. I know that piece of hardware works, because I ...


Example of a program that resets with too many LCD updates

Started by charliem101101 in BasicX15 years ago 3 replies

Hi all, Here is an example of some code that reads two buttons to increment two variables i and j and display their values on...

Hi all, Here is an example of some code that reads two buttons to increment two variables i and j and display their values on the LCD via com3. You can really upset this program with quick or slow botton presses and it will reset at different stages. Any ideas