Search found 2620 matches: serial*

Searched query: serial*

by Fziegler_076
Mon Apr 22, 2024 4:04 am
Forum: General discussion
Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
Replies: 39
Views: 4173

Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz

Some more of my experiments: 1.I'm flashing it through ST-LINK 2.I select "USB CDC Serial" the test program void loop() { digitalWrite(LED_BUILTIN, HIGH); delay(1000); digitalWrite(LED_BUILTIN, LOW); delay(1000); } Variant №1 I do not make any changes or additions, ...
by ag123
Sun Apr 21, 2024 3:41 am
Forum: General discussion
Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
Replies: 39
Views: 4173

Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz

... but this is for stm32f401 not f411 this one has virtual comm port, you can try using putty to connect https://www.putty.org/ i think arduino ide serial monitor works as well edit: I uploaded a new bin file, should be the same but if it works the statistics for this is more accurate, previous ...
by ag123
Sun Apr 21, 2024 2:29 am
Forum: General discussion
Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
Replies: 39
Views: 4173

Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz

... { return; // <- return on entry, so no clock setting is done .... } this will run on HSI (internal oscillator) 16 Mhz (no usb), select uart for serial so that it won't hang on the usb. but the led should still light up if void setup() { pintMode(PC13, OUTPUT); } is run. the stm32cube programmer ...
by Fziegler_076
Sun Apr 21, 2024 2:26 am
Forum: General discussion
Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
Replies: 39
Views: 4173

Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz

I have tested this on 3 boards.
I think that the microcontroller freezes, because after the firmware, the COM port does not appear in the computer devices, although I turn on the "USB CDC Serial" setting
by Fziegler_076
Sun Apr 21, 2024 12:14 am
Forum: General discussion
Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
Replies: 39
Views: 4173

Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz

... during download operation: 00:00:00.493 RUNNING Program ... Address: : 0x8000000 Start operation achieved successfully 3. I select "USB CDC Serial", but after flashing the program into the microcontroller, the COM port is not displayed on PC devices (I checked in Windows Device Manager)- ...
by ag123
Sat Apr 20, 2024 7:02 pm
Forum: General discussion
Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
Replies: 39
Views: 4173

Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz

... dividers are after all correct. usually, based on the values from the python script, usb would be working correctly i.e. at 48 mhz. select USB CDC Serial as your serial port and if you have codes like void setup() { Serial.begin(); while(!Serial); } void loop() { // echo usb serial input back to ...
by ag123
Wed Apr 17, 2024 6:34 pm
Forum: General discussion
Topic: Can't program F401 after PA9 set as INPUT_PULLUP
Replies: 2
Views: 632

Re: Can't program F401 after PA9 set as INPUT_PULLUP

... jumper/dupont wires. hold boot0 and release reset release boot0 1-2 secs later PA9 is the uart1 pin, putting it in input_pullup can cause the serial uart boot loader to take precedence over usb-dfu
by PGSmick
Tue Apr 16, 2024 5:44 pm
Forum: STM32F1 based boards
Topic: WeAct stm32F103CB HID Bootloader question
Replies: 2
Views: 1429

WeAct stm32F103CB HID Bootloader question

... method connected via a USB cable and I can make the LED blink by specifying the PB2 pin. I can upload sketches repeatedly with no difficulty. The serial monitor works fine. So all's good, no? So, am I missing anything by having used the _pc13.bin file that I used? What is the purpose of having ...
by Richway
Mon Apr 15, 2024 2:06 pm
Forum: General discussion
Topic: SD card problem with SPI
Replies: 1
Views: 1187

SD card problem with SPI

... PB13, SD_CS_PIN); // #define SD2_CONFIG SdSpiConfig(SD_CS_PIN, DEDICATED_SPI, SPI_FULL_SPEED, &mySPI2) SdFat SD; File myFile; void setup() { Serial.begin(9600); Serial.print("Initializing SD card..."); if (!SD.begin(SD1_CONFIG)) { Serial.println("initialization failed!"); ...
by trimarco232
Thu Apr 04, 2024 2:41 pm
Forum: PR's bugs and enhancements
Topic: STM32G431CBU6 : TIMER17 : setting negative channel mashes positive one
Replies: 1
Views: 503

STM32G431CBU6 : TIMER17 : setting negative channel mashes positive one

... timer17.setOverflow(200); // TIM17->CCER = 0b1101; /// must be done , to re-establish bit 0 = CC1E timer17.resume(); /// debug Serial.println(""); Serial.print("T17 CCER "); Serial.println(TIM17->CCER, BIN); Serial.print("GPIOA MODER "); Serial.println(GPIOA->MODER, ...

Go to advanced search