BeanieBots
Moderator
A quick question to save me having to try it.
I have two 28X2's that need to talk to each other.
The first one receives and sends data to/from a PC via Bluetooth using hserin/hserout. This works fine.
Some of that data needs to be passed on to a second 28X2 and a reply is also required.
I had been using I2C for this but I now need to put more physical distance between them and I2C would not work.
I'm now thinking of using RS232 serial but I have a concern that using 'regular' serial (blocking) will interfere with the background serial.
So, simple question.
Can 'regular' serial and background serial work together nicely?
If yes, are there any caveats?
eg.1. if 28X2 is waiting for data using blocking serial (not on hserin), will the background serial continue to receive OK?
2. If 28X2 is sending serial data (on pin other than hserout), will background serial receive continue OK
I could implement an Xon/Xoff system for the background serial but would prefer not to as I'm getting low on code space and it would also require changes to the PC side of things.
If anyone has any experience of trying this, any hints/tips much appreciated.
I have two 28X2's that need to talk to each other.
The first one receives and sends data to/from a PC via Bluetooth using hserin/hserout. This works fine.
Some of that data needs to be passed on to a second 28X2 and a reply is also required.
I had been using I2C for this but I now need to put more physical distance between them and I2C would not work.
I'm now thinking of using RS232 serial but I have a concern that using 'regular' serial (blocking) will interfere with the background serial.
So, simple question.
Can 'regular' serial and background serial work together nicely?
If yes, are there any caveats?
eg.1. if 28X2 is waiting for data using blocking serial (not on hserin), will the background serial continue to receive OK?
2. If 28X2 is sending serial data (on pin other than hserout), will background serial receive continue OK
I could implement an Xon/Xoff system for the background serial but would prefer not to as I'm getting low on code space and it would also require changes to the PC side of things.
If anyone has any experience of trying this, any hints/tips much appreciated.