First, this is not my native language. I undestand english perfectly but writing skills are very poor.
I am a technician in electronics, radio amateur. I have electronic instruments necessary to do
tests such as oscilloscope, logic analyzer, etc.
I have a NUCLEO 64 F411RE (MB1136 rev. C)
ST official core, arduino ide 1.8.13 running on win7 64.
the problem is that the signals do not go out through the pins that they should.
I tried all this on a blue pill and NUCLEO 64 103 without any problem, the problem is on the f411re.
example 1:
The default serial does not come out through any pin. I check all outputs with oscilloscope.
Code: Select all
void setup() {
Serial.begin(115200);
}
void loop() {
Serial.println("hello world");
delay(1);
}
Digitalwrite come out on PB6 instead of PA10!!!
Code: Select all
void setup() {
pinMode(PA_10, OUTPUT);
}
void loop() {
digitalWrite(PA_10, HIGH);
delay(100);
digitalWrite(PA_10, LOW);
delay(100);
}
Now Digitalwrite come out on PB10 instead of PA2 !!!!!!
Code: Select all
void setup() {
pinMode(PA_2, OUTPUT);
}
void loop() {
digitalWrite(PA_2, HIGH);
delay(100);
digitalWrite(PA_2, LOW);
delay(100);
}
the f411 when the underscore is not used for other MCUs like the f103 in the pins names.
I do not know if this is so for a reason or it is inherited code that was not updated.
Am I doing something wrong or is it really a bug?
Thank you very much to all