2020-03-05 01:18 PM
I have already done this before, but with an Arduino board, the settings of Xbee are similar right now with STM that when I worked with Arduino, but I´m in troubles because I´m reading data from ADC board, but when I send it, the PC doesn´t receive anything... Please, if someone could help me...
The program that I´m using is System Workbench for STM32, and thr programation is only sending by usart6 from the board, I´m using a Xbee shield to conected.
2020-03-05 09:37 PM
I already did a project with Xbee (Transparent mode), which mode of operation are you using? Transparent? Or API?
There are several tutorials on Xbee, I believe you will not have many difficulties in finding a good example to start over.
If you already have experience with Arduino, I suggest that you make it work with Arduino again, so after everything is right, move the project to STM32, I find it easier to debug hardware, when you are sure that it is really working.
Another possibility is to use the Arduino IDE to program uC STM32, depending on the model it can be supported by the IDE, this helps a lot to quickly check for the presence of bugs in codes, whether in the Arduino IDE, or STM32.
2020-03-05 09:40 PM
2020-03-11 07:24 AM
I´m working with Transparent mode, I tried programming the Nucleo with Arduino IDE, but the result is the same, it doesn´t share data with the another Xbee.
Right now I´m using a Xbee Shield by Seeed Studio. I read that this shield is compatible with STM32 boards, also Arduino. In Arduino Uno board works really fine so, I don´t have idea what is wrong with my code or hardware...
2020-03-11 08:55 AM
Transparent mode is the easiest to use, because you don't have to do anything in the code of external devices like microcontrollers or computers.
The only thing that is needed is the configuration performed with the tool of the manufacturer itself, after configuring the settings are saved in the Xbee itself and you do not need to configure it again.
To use Xbee with the microcontroller, just connect the serial port and write the code as if using a physical cable, forget that you are using a wireless network, so it is called transparent mode.
https://www.digi.com/products/embedded-systems/digi-xbee/digi-xbee-tools/xctu