This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BOOSTXL-PGA460: Cannot Get BusDemo Example Sketch to Work Properly

Part Number: BOOSTXL-PGA460
Other Parts Discussed in Thread: ENERGIA, USB2ANY


I am currently using two BOOSTXL-PGA460's with the default closed-top transducers, and I'm trying to get the BusDemo example sketch to work.

I have tried using the EVM GUI to set the UART addresses (0 and 1), then opened the Energia sketch and uploaded it to one board (it only ever uploads to the board most recently plugged in), and configured the settings through the COM. However, the results are that the programmed board always shows the same distance value (usually 8-9m) and the other board shows repeating zeroes.

I have no doubt that I'm configuring the boards incorrectly, but since I cannot seem to find a way to program both boards simultaneously or even switch the active board in the EVM GUI without removing the other one first, I'm not sure where to go from here. I know that one of the guides says that the EVM GUI should recognize multiple USB2ANY devices, specifically these boards, but I can only get it to recognize one at a time even though the device manager shows both of them.

I have tried various combinations of setup commands, just in case it's something simple that I missed. This includes flashing both boards from the EVM GUI to get a clean start, then assigning UART addresses and clearing the threshold error, then opening Energia and attempting to upload the sketch. I've also used only the Energia COM prompts to set the values for each board, but with the same results. I have also tried many combinations of the two.

Ideally, I would like to use the EEPROM settings that I optimize through the GUI  for each board in the BusDemo sketch, but right now I'll settle for learning how to set this up properly using any settings. I'm sure it's something simple I'm missing and/or not understanding.

Any help getting this up and working is very much appreciated.

Thanks in advance!

Joseph Summers

  • Hi Joseph,

    I need to create an official video demo on how to use the various Energia sketches, including the BusDemo.

    In the meanwhile, here is a link to a rough cut draft video on the BusDemo I had put together a while ago:

    Check out the video (which should answer many of your questions), and then let me know if you have follow-up questions.

  • Akeem,

    Thank you very much for that video guide!

    I do have a couple questions.

    Is there a recommended way to do a setup of 3 or more boards? Specifically, the IO, COM_P, and COM_S connections to a third board. I was thinking of just using a Y cable, but I wanted to verify that it's the best way to go about this.

    Additionally, if a Y cable will work, and I want to add a fourth board, should the cable be connected directly from the master board to each slave board? I remember in the documentation that a daisy-chain configuration is not supported for most cases.

    Thank you very much! Your work and help with these boards, their guides, and everything else has been very appreciated.

    Joseph Summers

  • Hi Joseph,

    Yes, you can connect up to eight devices in this bus configuration. You can use a Y-cable, which will still enable a bus connection (not a daisy chain) for the IO, COM_P, and COM_S connections from the master board.