Search found 467 matches

by ag123
Sat Aug 08, 2020 11:50 am
Forum: Projects
Topic: STM32F103C8 BluePill VGA Project
Replies: 37
Views: 7071

Re: STM32F103C8 BluePill VGA Project

+1 :)
by ag123
Fri Aug 07, 2020 4:05 am
Forum: STM32F1 based boards
Topic: STM32F103C8 Input Capture
Replies: 1
Views: 229

Re: STM32F103C8 Input Capture

there is a good ADC on stm32

Code: Select all

uint16_t value = analogRead(PA0);
Serial.print("read value: ");
Serial.println(value);
by ag123
Thu Aug 06, 2020 4:30 am
Forum: General discussion
Topic: Measuring CPU usage
Replies: 4
Views: 458

Re: Measuring CPU usage

as i often use a delay() implementation such as void delay(int count) { for(int i=0; i<count; i++) asm("wfi"); } this basically 'sleeps' and wait for the systick interrupt (1ms) i'm thinking another implementation is to measure the number of systick interrupts spent in such "WFI" delays() vs systick...
by ag123
Sun Jul 26, 2020 10:19 am
Forum: Ideas & suggestions
Topic: Flashing with Arduino MCU
Replies: 2
Views: 648

Re: Flashing with Arduino MCU

a usb uart example sketch is there in libmaple core, so you can program a stm32 pill board with a stm32 pill board
https://github.com/rogerclarkmelbourne/ ... -w-signals
by ag123
Sat Jul 25, 2020 9:33 am
Forum: General discussion
Topic: Need some help with Bluetooth communication
Replies: 8
Views: 965

Re: Need some help with Bluetooth communication

please mention core used along with the question, it saves a lot of guessing as the different cores have different features and implementation. this is the libmaple (roger's) core. in libmaple core Serial is your usb-serial, Serial1 is uart1 (pa9, pa10), Serial2 is uart2 (pa2, pa3), Serial3 is uart3...
by ag123
Fri Jul 24, 2020 11:28 am
Forum: Libraries & Hardware
Topic: USING MATRIX 4X4 KEYPAD
Replies: 2
Views: 352

Re: USING MATRIX 4X4 KEYPAD

if you can afford to use 8 pins, it would be to digitalWrite() 4 output gpio pins in sequence and digitalRead() the other 4 input gpio pins in sequence to scan for that closed switch https://learn.adafruit.com/matrix-keypad/overview https://playground.arduino.cc/Code/Keypad/ if you are starved of pi...
by ag123
Wed Jul 22, 2020 9:01 am
Forum: Projects
Topic: STM32SAM - Speech Synthesizer
Replies: 4
Views: 574

Re: STM32SAM - Speech Synthesizer

+1 !
by ag123
Mon Jul 20, 2020 3:48 pm
Forum: General discussion
Topic: STM32f103C not recognized by win10 = not serial monitor
Replies: 6
Views: 759

Re: STM32f103C not recognized by win10 = not serial monitor

this looks like the libmaple (roger's) core, please mention the core along with queries as the 2 cores has different features. it is quite possible the resistor is causing a problem, but normally it still works on some pcs. try to press reset and to see what happen. and in your sketch try codes like...
by ag123
Mon Jul 20, 2020 3:37 pm
Forum: General discussion
Topic: STM32f103C not recognized by win10 = not serial monitor
Replies: 6
Views: 759

Re: STM32f103C not recognized by win10 = not serial monitor

if you are using libmaple core usb-serial is default. if you are using STM32 official core, you need to select USB-CDC in your config to have USB-CDC. if there is nothing in the sketch in the device listening on usb of course you won't get anything showing on the host. and of course on Windows, you'...
by ag123
Fri Jul 17, 2020 11:13 am
Forum: USB bootloader
Topic: STM32F103C8 and Fast Bootloader
Replies: 53
Views: 4888

Re: STM32F103C8 and Fast Bootloader

i see so CDC is still there, it is likely useful after all, as Serial.print("message"); would go to the virtual comm port to your pc console. and there is no need for a usb-uart dongle, a usb - micro/mini cable would do it. USB is very complex due to all that state management. i think if one is dete...

Go to advanced search