Skip to main content
Visitor II
August 21, 2024
Question

Nucleo-144 F722ZE, Arduino, no blink no Serial.print() output

  • August 21, 2024
  • 1 reply
  • 1307 views

Hi,

I have a Nucleo-144 F722ZE

I am attempting to program it with the arduino 2.3.2 ide.

And so far,  no blink, no digitalWrite() and no Serial.println()

Details are listed below.

Thank you in advance.   I am sure it is trivial, and apologize for having to ask.  I have not found any document that helps me solve the problem.

 

For setup, I followed the instructions here,

  https://community.st.com/t5/stm32-mcus/how-to-program-and-debug-the-stm32-using-the-arduino-ide/ta-p/608514

 

Here is the blink code.   This does blink anything and does not produce any output on the Serial Monitor in the Arduino IDE

 

 

void setup() {
 // initialize digital pin LED_BUILTIN as an output.
 pinMode(LED_BUILTIN, OUTPUT);
 Serial.begin(9600);
 while( !Serial);
}

// the loop function runs over and over again forever
void loop() {
 Serial.println("here i am");
 digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
 delay(1000); // wait for a second
 digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
 delay(1000); // wait for a second
}

 

 

 

Then I tried, setting a specific pin by number, hoping to see it on an oscilloscope.   Again, no result

 

 

void setup() {
 // initialize digital pin LED_BUILTIN as an output.
 pinMode(PD_13, OUTPUT);
 Serial.begin(9600);
 while( !Serial);
}

// the loop function runs over and over again forever
void loop() {
 Serial.println("here i am");
 digitalWrite(PD_13, HIGH); // turn the LED on (HIGH is the voltage level)
 delay(1000); // wait for a second
 digitalWrite(PD_13, LOW); // turn the LED on (HIGH is the voltage level)
 delay(1000); // wait for a second
}

 

 

 

 

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    August 21, 2024

    Hello @drM and welcome to the ST Community :smiling_face_with_smiling_eyes:.

    If you are looking for support on the STM32Duino, you have to use our STM32Duino forum available here:

    https://www.stm32duino.com/

    As a first suggestion from me, i think you may should start from one of the available examples on the Arduino after installing the STM32Duino for sure.

    Best Regards

    STTwo-32 

    drMAuthor
    Visitor II
    August 21, 2024

    Note that the instructions I was following came from an ST employee on community.st.com

    So this seems like the right place at least for that.

    Technical Moderator
    August 21, 2024

    Yes this tutorial should be working just fine. We provide Some tutorials here in the community. But for dedicated support on STM32Duino, we have our forum dedicated for that. I've personally worked before on the STM32Duino on some projects and it works fine.

     

    Best Regards.

    STTwo-32