-
Notifications
You must be signed in to change notification settings - Fork 973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
F103Zx support #851
F103Zx support #851
Conversation
d209195
to
a65e03c
Compare
@dds90 could you test this please? |
Hi @fpistm, At the moment I've tested some peripherials in VCCGND_F103ZET6 (Mini):
|
How did you test the other serial ? |
Like this:
|
That's what I thought. To use other Serial you have to instantiate them:
|
Thanks again. |
@dds90 |
@fpistm |
This is the same than the one you provided adding the fix I gave you. ADC is working except ADC3 which is a know issue |
HardwareSerial Serial2(PA3, PA2);
HardwareSerial Serial3(PB11, PB10);
void setup() {
Serial.begin(19200); // on PA9 PA10
Serial2.begin(19200); // on PA3 PA2
Serial3.begin(19200); // on PB11 PB10
Serial.println("Serial");
Serial2.println("Serial2");
Serial3.println("Serial3!");
}
void loop() {
} |
Many thanks! |
Only ADC3 is not working ADC1 and 2 works fine anyway, I have currently no clue. As a workaround I will comment all ADC3 in the PeripheralPins.c |
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
I confirm that all serials are ok. The pins from PF_6 to PF_10 can't remap to another ADC. Where did you read the ADC3 issue? |
On the forum one member told that ADC3 doesn't work.Then I confirm, there is the same issue with Rogers's core. |
Is there the possibility that it is a bug in the STM32F1 series? |
Well, currently I don't know. All is possible anyway, the STM32F1 serie is old then I guess this kind of issue would be report in the errata sheet. So, we will investigate. |
@fpistm |
Issue is fixed. |
Oh, sorry. |
Add Generic F103Zx support and VCCGND_F103ZET6 (Mini)
I have not this boards so if someone could do some tests that's would be fine.
Thanks.