cancel
Showing results for 
Search instead for 
Did you mean: 

Hi, I´m working with STM32F767ZI and I need send data by Xbee (S2C) to a PC with usb xplorer conection.

LGrac.1
Associate

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.

4 REPLIES 4
Not applicable

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.

https://github.com/stm32duino/Arduino_Core_STM32

Not applicable

0690X00000DYpJYQA1.png

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...

Not applicable

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/resources/documentation/digidocs/90001526/tasks/t_configure_2_devices_transparent_mode.htm

https://www.digi.com/products/embedded-systems/digi-xbee/digi-xbee-tools/xctu

https://www.digi.com/resources/documentation/Digidocs/90001942-13/concepts/c_transparent_and_api_mode.htm?TocPath=How%20XBee%20devices%20work|Serial%20communication|_____1