Search found 69 matches

by myksj1105
Sat Jun 24, 2023 11:44 pm
Forum: General discussion
Topic: analogRead and analogWrite troubles
Replies: 37
Views: 48480

Re: analogRead and analogWrite troubles

@fpiSTM

viewtopic.php?p=12513#p12513

@fpiSTM

hello. Nice to meet you. PWM is not output.
help.
by myksj1105
Sat Jun 24, 2023 11:37 pm
Forum: General discussion
Topic: 'STM32F103C8T6' not work PWM Function.
Replies: 9
Views: 1427

Re: 'STM32F103C8T6' not work PWM Function.

GonzoG const byte PWM_PIN[20] = { PA1, PA2, PA3, PA6, PA7, PB0, PB1, PB10, PB11, PB5, PB4, PB3, PA15, PA11, PA10, PA9, PA8, PB15, PB14, PB13, }; #define LED PC13 void setup(){ //------------------------------------------------------------------------// Serial.begin(115200); for (uint8_t i = 0; i < ...
by myksj1105
Fri Jun 23, 2023 6:56 am
Forum: General discussion
Topic: 'STM32F103C8T6' not work PWM Function.
Replies: 9
Views: 1427

Re: 'STM32F103C8T6' not work PWM Function.

#define BACKLIGHT_LED PB4 void setup(){ pinMode(BACKLIGHT_LED, OUTPUT); analogWrite(BACKLIGHT_LED, 255); } @GonzoG Thank you for leaving an answer. Even if you proceed with the source code as follows, it does not solve the problem. The PWM is connecting to the LED to test its brightness. As far as ...
by myksj1105
Thu Jun 22, 2023 8:50 am
Forum: General discussion
Topic: 'STM32F103C8T6' not work PWM Function.
Replies: 9
Views: 1427

'STM32F103C8T6' not work PWM Function.

'STM32F103C8T6' not work PWM Function. https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FobIUp%2FbtskEoO8HZa%2F1Hwuhkkkgp6yhUPMZFZkv1%2Fimg.jpg hello. Nice to meet you. If you look at the picture, it is marked 'PWM' in 'PB_4'. I tried driving it...
by myksj1105
Thu Jun 22, 2023 5:30 am
Forum: General discussion
Topic: I am curious about the function of STM32F103C8T6 'Pinmap'.
Replies: 7
Views: 1147

Re: I am curious about the function of STM32F103C8T6 'Pinmap'.

@GonzoG

Wow...

understood at once.
Thank you.
can be used sufficiently.
thank you
by myksj1105
Thu Jun 22, 2023 5:29 am
Forum: General discussion
Topic: How to Program the STM32 "Blue Pill" with Arduino IDE
Replies: 9
Views: 1689

Re: How to Program the STM32 "Blue Pill" with Arduino IDE

@fpiSTM

hello. thank you for the reply.
STM32F103C8

Q1) Does the chip above not have 'EEPROM'?
- I actually tried to write and read the EEPROM to the corresponding chip.
It works fine.
Q2) If there is no EEPROM, how does it work?
by myksj1105
Tue Jun 20, 2023 11:10 pm
Forum: General discussion
Topic: I am curious about the function of STM32F103C8T6 'Pinmap'.
Replies: 7
Views: 1147

Re: I am curious about the function of STM32F103C8T6 'Pinmap'.

On STM32 interfaces have alternate pins. It's done this way so you can choose which pins to use. For example by default U(S)ART1 uses PA9 and PA10, but you change it to PB6 and PB7. Same thing with SPI. By default SPI1 uses PA4-PA7, but if you need those pins as analog inputs, you can set SPI1 to u...
by myksj1105
Tue Jun 20, 2023 7:58 pm
Forum: General discussion
Topic: I am curious about the function of STM32F103C8T6 'Pinmap'.
Replies: 7
Views: 1147

I am curious about the function of STM32F103C8T6 'Pinmap'.

I am curious about the function of STM32F103C8T6 'Pinmap'. hello. Nice to meet you. Please look at the image. https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FobIUp%2FbtskEoO8HZa%2F1Hwuhkkkgp6yhUPMZFZkv1%2Fimg.jpg - Serial1 : PB_6, PB_7 - Seri...
by myksj1105
Tue Jun 20, 2023 7:46 pm
Forum: General discussion
Topic: How to Program the STM32 "Blue Pill" with Arduino IDE
Replies: 9
Views: 1689

Re: How to Program the STM32 "Blue Pill" with Arduino IDE

STM32 MCUs do not have EEPROM. To have non-volatile memory, virtual EEPROM is created in flash memory. Because every MCU has different memory it virtual EEPROM needs to be configured for each MCU. You're using Roger's/Steave's core, so it's limited to only few MCUs and it may be missing necessary c...

Go to advanced search