Hi, I'm having some trouble getting two BV4112s to talk at the same time, I wonder if anyone can help!
I can get each board working in isolation without any trouble. I have set each board to a different address (101, 102) and specified the baud rate (38400) in the EEPROM hoping to avoid the handshake. No problems so far.
With both boards connected in parallel neither board responds. There is no evidence of anything coming back on the RX line of the Pi.
I have tried turning Multi mode on for one of the devices. I've confirmed that I can still talk to this device in isolation.
If I cut the 3.3v line to either board, both boards still do not work.
If I cut the RX & TX lines to either board, the other board will work.
A few questions:
1) Is it possible that I need to remove a pull-up resistor from one of the boards, and if so, is there a diagram somewhere that shows the exact location? The two boards are the only things connected to the UART. The datasheet suggests that with more than 3 devices the resistors should be removed - but the Pi is only supplying 3.3v.
2) With the baud rate set explicitly, I'm assuming that I don't need to "handshake" (sending a series CR's with various delays as in your Python example). It does seem to work in isolation, but am I correct? Can I send motor commands immediately after the UART is opened?
3) Should it be possible to isolate a board by cutting just the 3.3v supply or do I definitely need to cut the RX/TX lines as well?
4) Anything I've missed?!
Many thanks,
Andrew.
Edited 1 time(s). Last edit at 02/24/2013 10:47PM by andrew.