Search found 99 matches

by Mangy_Dog
Fri Apr 26, 2024 11:18 pm
Forum: Libraries & Hardware
Topic: Adafruit Nexopixel Library not working...
Replies: 1
Views: 127

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: 1
Views: 127

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: 2835

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: 2835

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: 2835

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: 2835

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: 2835

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: 2835

Re: Generic_F030RCT missing?

A PR?

Also thanks will go through the guide now.
by Mangy_Dog
Tue Mar 26, 2024 5:14 pm
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 2835

Generic_F030RCT missing?

So got a project using this chip. While the Arduino core stm32 lists this chip in its variants, its missing from the boards list when creating a new project or setting a project, at least in sloeber. I installed the core as per the guide here https://github.com/stm32duino/Arduino_Core_STM32/wiki/How...
by Mangy_Dog
Fri Dec 23, 2022 10:20 pm
Forum: General discussion
Topic: software reset?
Replies: 2
Views: 3974

Re: software reset?

nvic_sys_reset(); found it :D

Go to advanced search