cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F1 ubuntu24.04 arduino-ide(2.3.7) serial communication problem

jfj
Associate

Hi

I'm new to the STM32 board but not to Arduino IDE. I want to use two STM32 boards (with DXV lr30 900) for LoRa communication. I'm starting with a minimal program (without LoRa), just to see how the communication works between the STM32 and the Arduino IDE's serial interface. I can compile and download this program without any problems, but I don't see anything on the serial interface, whether using the ttyUSB0, ttyUSB1, or ttyS0 ports at 9600 baud.
 
here is the test program
 
void setup() {
Serial.begin(9600);
delay(2000);
Serial.print("hello");
}

void loop() {
Serial.print(".");
delay(1000);
}
 

Can anyone help me ?

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
Andrew Neil
Super User

As @mƎALLEm said, this forum is not focussed on Arduino - so you'd be better asking in the Arduino forums.

 

For specific questions about the STM32 Arduino core, you could also try: https://www.stm32duino.com/

 

Whichever you choose, you will need to tell them what STM32 board you are using and  how, exactly, you have it connected to your Host computer.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

View solution in original post

2 REPLIES 2
mƎALLEm
ST Employee

Hello,

Arduino environment is not a ST product. Better to ask your question in Arduino forum: https://forum.arduino.cc/c/community

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Andrew Neil
Super User

As @mƎALLEm said, this forum is not focussed on Arduino - so you'd be better asking in the Arduino forums.

 

For specific questions about the STM32 Arduino core, you could also try: https://www.stm32duino.com/

 

Whichever you choose, you will need to tell them what STM32 board you are using and  how, exactly, you have it connected to your Host computer.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.