inside that variant fileFziegler_076 wrote: ↑Sun Apr 21, 2024 2:48 amShould I do this in a sketch or fix some file?void SystemClock_Config() {
return; // <- return on entry, so no clock setting is done
....
}
I also bought the same boards with HSE 25 MHz today, but they will arrive no earlier than in 2 weeks.
Search found 1673 matches
- Sun Apr 21, 2024 2:55 am
- Forum: General discussion
- Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
- Replies: 40
- Views: 6250
Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
- Sun Apr 21, 2024 2:53 am
- Forum: General discussion
- Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
- Replies: 40
- Views: 6250
Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
for 32k RTC crystal , i've a few times it doesn't oscillate, but normally for the HSE 8, 12, 25 mhz crystals etc, seldom have problem, so it is surprising if HSE don't oscillate, but maybe sometimes that can happen.
- Sun Apr 21, 2024 2:29 am
- Forum: General discussion
- Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
- Replies: 40
- Views: 6250
Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
if you really want to get to the bottom of that, the only way seemed to be to use a st-link v2 https://www.adafruit.com/product/2548 https://www.st.com/en/development-tools/st-link-v2.html https://octopart.com/search?q=st-link+v2¤cy=USD&specs=0 then you can try to debug that, but that ...
- Sun Apr 21, 2024 2:20 am
- Forum: General discussion
- Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
- Replies: 40
- Views: 6250
Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
The values given and used are correct, yup check the LED, try to use a led connected to a different pin manually e.g. on the headers. I've more than once used boards with a 'defective' LED, sometimes they put the LED reversed, that'd never light up. manufacturing error. no need to look at schematic....
- Sun Apr 21, 2024 2:03 am
- Forum: General discussion
- Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
- Replies: 40
- Views: 6250
Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
@Fziegler_076 wrote: RCC_OscInitStruct.PLL.PLLM = 8; RCC_OscInitStruct.PLL.PLLN = 48; RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV4; RCC_OscInitStruct.PLL.PLLQ = 8; ^ this won't work, try RCC_OscInitStruct.PLL.PLLM = 8; RCC_OscInitStruct.PLL.PLLN = 192; RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2; RCC_O...
- Sat Apr 20, 2024 7:02 pm
- Forum: General discussion
- Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
- Replies: 40
- Views: 6250
Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
Note that even with a wrong crystal frequency, you should be able to blink your led void setup() { pinMode(LED_BUILTIN,OUTPUT); } void loop() { digitalWrite(LED_BUILTIN, ! digitalRead(LED_BUILTIN)); delay(1000); } and your LED should blink, if it doesn't blink then your issue is likely not related t...
- Wed Apr 17, 2024 6:34 pm
- Forum: General discussion
- Topic: Can't program F401 after PA9 set as INPUT_PULLUP
- Replies: 2
- Views: 825
Re: Can't program F401 after PA9 set as INPUT_PULLUP
I suppose you are using a stm32f401cxx blackpill (or some such variant?) https://stm32-base.org/boards/STM32F401CCU6-WeAct-Black-Pill-V1.2.html the 'usual' thing is, keep your usb cable connected press both boot0 and reset hold boot0 and release reset release boot0 1-2 secs later you can check in 'd...
- Thu Apr 11, 2024 2:43 pm
- Forum: IDE's
- Topic: Generic_F030RCT missing?
- Replies: 12
- Views: 4078
Re: Generic_F030RCT missing?
Binary size difference appears to be Newlib Standard vs Newlib nano setting... Not entirely sure what newlib is... :D Clock situation still appears to be happening. I once tried things like -nostdlib -nostartfiles -nodefaultlibs https://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Link-Options.html and the...
- Wed Mar 27, 2024 2:32 am
- Forum: General discussion
- Topic: Hardware Serial returning gibberish.
- Replies: 3
- Views: 2287
Re: Hardware Serial returning gibberish.
many GPS device initialize at 9600 baud, not 57600 baud. and various of them offer commands to set the baud rates after initially connecting at 9600 bps if you do not know the actual GPS bauds, to avoid getting gibberish, you would need to practically test every practical known baud, till one that d...
- Tue Mar 26, 2024 2:12 pm
- Forum: General discussion
- Topic: strange USART behaviour
- Replies: 6
- Views: 2437
Re: strange USART behaviour
for uart, your *baud rates* and line discipline (e.g. 8N1) matters. for usb (CDC) serial, it doesn't matter, there is no baud rates, it is straight 12 Mbps USB full speeds based on the specs. so if you are using uart and the other side is not at the same baud rates, all data will be garbled. for uar...