Hello there, I am currently working on a project where I am obligated to drive motors and provide comminication between Jetson and STM32's. I am building a roverr with robotic arm attached (consisting of 6 arms). The problem is the STM32 I used for wheeldrive (Nucleo F411RE) worked perfectly using Arduino IDE. I was able to read data from serial port. Now I have another STM32 (F407G-DISC1) which can lit up some led's and do the basic work but I am not able to even print some basic string to the serial monitor. Why dou you think that is the case. Any vision on the matter is much appriciated. Thanks a lot in advance.
Nothing can be said without the code.
Please insert your code using the code tags.
Read the forum guidelines to see how to properly insert the code and some other good information on making a good post.
HardwareSerial serial1(PB11, PD8);
void setup() {
Serial.begin(9600);
serial1.begin(9600);
}
void loop() {
Serial.print("Hello World");
serial1.print("Hello World");
}
It is a simple code just to check if serial monitor is working. As I said with a Nucleo64 board I had in hand I was able to read from serial monitor. I tried to see if its just the serial monitor that is not functioning well and I think it is not only the monitor I am having a problem with serial comminication generally. The MCU is able to lit up some led's and do basic operations but it will not read the data received from bluetooth module and light the led which normally and on the other Nucleo Board works perfectly. I am not a native speaker so I hope I am clear enough. Sory for any confusion that may occur in advance.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.