Search found 36 matches

by hyur
Thu Jun 02, 2022 12:22 am
Forum: General discussion
Topic: STM32F103C8T6 Reference Voltage READ
Replies: 15
Views: 5105

Re: STM32F103C8T6 Reference Voltage READ

ag123 wrote: Tue May 31, 2022 8:42 am check the core you used. it may help to have #include <Arduino.h> in there, normally not needed.
I included the Arduino.h but it didn't solve the problem.
by hyur
Tue May 31, 2022 8:23 am
Forum: General discussion
Topic: STM32F103C8T6 Reference Voltage READ
Replies: 15
Views: 5105

Re: STM32F103C8T6 Reference Voltage READ

ag123 wrote: Tue May 31, 2022 8:14 am that should work for 'official' core

Code: Select all

debug : 'AVREF' was not declared in this scope
It doesn't work in my source.
It doesn't know what the AVREF variable is.
by hyur
Tue May 31, 2022 8:00 am
Forum: General discussion
Topic: STM32F103C8T6 Reference Voltage READ
Replies: 15
Views: 5105

Re: STM32F103C8T6 Reference Voltage READ

ag123 wrote: Tue May 31, 2022 7:52 am look up the specs sheet for what that is, it isn't the same as that used by Atmega mcu.
https://www.st.com/en/microcontrollers- ... 103c8.html
Thanks for your interest in my question.

Is it correct to refer to the Internal_channels.ino source?
by hyur
Tue May 31, 2022 6:07 am
Forum: General discussion
Topic: STM32F103C8T6 Reference Voltage READ
Replies: 15
Views: 5105

STM32F103C8T6 Reference Voltage READ

hello, I want to read the reference voltage value of the STM32F103C8T6 now, but I can't figure out how. In the case of Arduino UNO, I know that the reference voltage can be read using the code below. float getRefVolt() { // Read 1.1V reference against AVcc // set the reference to Vcc and the measure...
by hyur
Mon May 30, 2022 1:19 am
Forum: General discussion
Topic: STM32F103C8T6 External Interrupt Problem
Replies: 2
Views: 1597

Re: STM32F103C8T6 External Interrupt Problem

I solved the problem.
The cause was a circuit configuration problem.

Thank you.
by hyur
Fri May 27, 2022 7:55 am
Forum: General discussion
Topic: STM32F103C8T6 External Interrupt Problem
Replies: 2
Views: 1597

STM32F103C8T6 External Interrupt Problem

Currently, I am writing a code that operates the interrupt function when a falling edge occurs by connecting 3 buttons to the STM32duino by pull-up. Interrupt registration looks like this: attachInterrupt(digitalPinToInterrupt(PA0), button_ISR1, FALLING); attachInterrupt(digitalPinToInterrupt(PA1), ...

Go to advanced search