Search found 101 matches

by Mangy_Dog
Sat Apr 27, 2024 11:55 am
Forum: Libraries & Hardware
Topic: Adafruit Nexopixel Library not working...
Replies: 4
Views: 170

Re: Adafruit Nexopixel Library not working...

Even tried swapping the 8mhz crystal with a 16mhz.
And changed
uint32_t SystemCoreClock = 8000000;
to
uint32_t SystemCoreClock = 16000000;
in system_stm32f0xx.c

still having the exact same issue, even adjusting the dividers around to account for the new clock.
by Mangy_Dog
Sat Apr 27, 2024 11:35 am
Forum: Libraries & Hardware
Topic: Adafruit Nexopixel Library not working...
Replies: 4
Views: 170

Re: Adafruit Nexopixel Library not working...

Not sure I set the pin correctly as the signal wasnt sharp but only in a few mV variance, but I manged to get 47-50mhz off PA8. So the mcu isnt underclocking. But still only getting 284khz signal for the led string. Im really out of ideas here. its clear the signal is too slow coming out. But I cant...
by Mangy_Dog
Fri Apr 26, 2024 11:18 pm
Forum: Libraries & Hardware
Topic: Adafruit Nexopixel Library not working...
Replies: 4
Views: 170

Re: Adafruit Nexopixel Library not working...

2 things. Firstly im not convinced my mcu is running full speed. Even though I have this in my generic_clock.c void SystemClock_Config(void) { RCC_OscInitTypeDef RCC_OscInitStruct = {0}; RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; RCC_PeriphCLKInitTypeDef PeriphClkInit = {0}; /** Configure LSE Drive...
by Mangy_Dog
Fri Apr 26, 2024 3:52 pm
Forum: Libraries & Hardware
Topic: Adafruit Nexopixel Library not working...
Replies: 4
Views: 170

Adafruit Nexopixel Library not working...

Hi fpiSTM has said in other threads this lirbary has been forked/ported to stm32core. But im having a real hard time getting it to work. Basically my led strip is only showing white. (full RGB) Whats interesting. if I set the leds less than my strip length, it only lights that number of leds. So som...
by Mangy_Dog
Thu Apr 04, 2024 11:25 am
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 2961

Re: Generic_F030RCT missing?

You can optimize several things as explained in the wiki. About code, I talk about the variant and the update you made else can't help on the clock issue. Some hardware info can help also. Like HSE? LSE?.... Well main clock issue will fixed on the next board revision, 8 or 16mhz... The current conf...
by Mangy_Dog
Thu Apr 04, 2024 8:46 am
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 2961

Re: Generic_F030RCT missing?

Its really just a really basic board testing program. #include "Arduino.h" #include "STM32LowPower.h" //The setup function is called once at startup of the sketch #define BATT_MON_AIN PA_4 #define BKUP_MON_AIN PA_5 #define ATTN_P PA_11 #define _12V_CH1_IMON PB_0 #define _12V_CH2_...
by Mangy_Dog
Wed Apr 03, 2024 1:49 pm
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 2961

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.
by Mangy_Dog
Wed Apr 03, 2024 1:33 pm
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 2961

Re: Generic_F030RCT missing?

You can find here how to declate the generic: https://github.com/stm32duino/Arduino_Core_STM32/wiki/Add-a-new-variant-%28board%29 Feel free to submit a PR ;) 2 Problems. It doesn't appear that optimisations are being applied. I have a near empty program with just the sleep library attached. And 3 l...
by Mangy_Dog
Fri Mar 29, 2024 11:22 am
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 2961

Re: Generic_F030RCT missing?

Ahh might do... but later.
The current custom isnt the best config at the moment... getting around a bad crystal selection. So its slightly underclocked.
After the fix ill try to remember to pull then push the config up.
by Mangy_Dog
Wed Mar 27, 2024 9:13 am
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 2961

Re: Generic_F030RCT missing?

A PR?

Also thanks will go through the guide now.

Go to advanced search