Search found 107 matches

by Mangy_Dog
Wed May 29, 2024 12:54 pm
Forum: General discussion
Topic: STM32F030RCT high power consumption in sleep modes?
Replies: 6
Views: 633

Re: STM32F030RCT high power consumption in sleep modes?

fpiSTM wrote: Wed May 29, 2024 7:29 am See viewtopic.php?p=14053#p14053
Thanks will look into... Might be able to test tomorrow...
by Mangy_Dog
Wed May 29, 2024 11:25 am
Forum: General discussion
Topic: OUTPUT_OPENDRAIN
Replies: 1
Views: 378

OUTPUT_OPENDRAIN

Sorry need some reference here....
Is OUTPUT_OPENDRAIN active LOW... with HIGH being floating?

I need to set a pin with open drain but not have a HIGH/pulled up state when not active.
by Mangy_Dog
Tue May 28, 2024 1:39 pm
Forum: General discussion
Topic: STM32F030RCT high power consumption in sleep modes?
Replies: 6
Views: 633

Re: STM32F030RCT high power consumption in sleep modes?

I thought the F0 range was meant to be for low power? Or did I have that wrong?
Yeah the LDO battery chip is going and hopefully we should see some significant improvements there. But I feel we should still be able to reduce the stm32 further than 4mA
by Mangy_Dog
Tue May 28, 2024 9:32 am
Forum: General discussion
Topic: STM32F030RCT high power consumption in sleep modes?
Replies: 6
Views: 633

STM32F030RCT high power consumption in sleep modes?

Using the built in sleep library "STM32LowPower.h" When going into deep sleep mode, I'm still reading around 4-5mA, from what I've been told we should be able to get this number down into the uA. Is there anything more I can do to reduce this number? I did see https://electronics.stackexch...
by Mangy_Dog
Sat Apr 27, 2024 8:23 pm
Forum: Libraries & Hardware
Topic: Adafruit Nexopixel Library not working...
Replies: 8
Views: 10546

Re: Adafruit Nexopixel Library not working...

Also not working on a bluepill....!
by Mangy_Dog
Sat Apr 27, 2024 6:40 pm
Forum: Libraries & Hardware
Topic: Adafruit Nexopixel Library not working...
Replies: 8
Views: 10546

Re: Adafruit Nexopixel Library not working...

I went with adafruit for this "quick" job thinking it be simple and off the shelf..... So you saying it needs to be tied to a spi out pin?
by Mangy_Dog
Sat Apr 27, 2024 11:55 am
Forum: Libraries & Hardware
Topic: Adafruit Nexopixel Library not working...
Replies: 8
Views: 10546

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: 8
Views: 10546

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: 8
Views: 10546

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: 8
Views: 10546

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...

Go to advanced search