Search found 852 matches

by Rick Kimball
Sat Jun 24, 2017 3:50 pm
Forum: STM Core
Topic: Using Scheduler Library
Replies: 0
Views: 3

Using Scheduler Library

The Scheduler Library by Arduino can be installed using the Library Manager. Its purpose is to allow multiple tasks to run at the same time without interrupting each other. The code is specific to the cortex-m0 and cortex-m3 chips. However, the code only checks to see if you are using the ATMEL sam ...
by Rick Kimball
Thu Jun 22, 2017 11:40 pm
Forum: STM Core
Topic: WS281x driver for STM Core w/NUCLEO-F030R8
Replies: 3
Views: 62

Re: WS281x driver for STM Core w/NUCLEO-F030R8

Sure you can generate any 24 bit value but my example is simplistic on purpose. I probably could have written a routine to take a 32 bit RGB value and generate 24 bytes of bit pulses ... but I didn't. This is more to show how to use the underlying SPI + TIMER + HAL SPI call as a slave without floggi...
by Rick Kimball
Thu Jun 22, 2017 5:03 pm
Forum: STM Core
Topic: WS281x driver for STM Core w/NUCLEO-F030R8
Replies: 3
Views: 62

WS281x driver for STM Core w/NUCLEO-F030R8

I took a novel approach to driving a string of 5 WS281x pixels. I configured a TIMER to drive a PWM output at 750kHz and physically connected that output to the SPI SCK. Then I configured the SPI device as a slave and use simple HAL calls to send the pulses. The WS281x pulse waves are produced on th...
by Rick Kimball
Tue Jun 20, 2017 1:05 pm
Forum: General discussion
Topic: Combining Blink & Count to the bootloader
Replies: 29
Views: 284

Re: Combining Blink & Count to the bootloader

How about spewing the build info about the bootloader on the serial output?

Something like:

"Success! Bootloader version blah and blah is installed."
Then maybe spew out the information about the leds used and buttons used? And a short tutorial on how to use all the features.
by Rick Kimball
Tue Jun 20, 2017 12:29 pm
Forum: General discussion
Topic: Combining Blink & Count to the bootloader
Replies: 29
Views: 284

Re: Combining Blink & Count to the bootloader

If the whole point is to make the usb serial show up, why not skip the blinky?
by Rick Kimball
Mon Jun 19, 2017 11:04 pm
Forum: General discussion
Topic: Combining Blink & Count to the bootloader
Replies: 29
Views: 284

Re: Combining Blink & Count to the bootloader

why not a script that just loads the bootloader at 0x8000000 and then loads the blink at 0x8000000+8192. Two steps instead of one
by Rick Kimball
Sun Jun 18, 2017 5:02 pm
Forum: STM Core
Topic: stm32f0discovery core?
Replies: 2
Views: 103

Re: stm32f0discovery core?

What is your thoughts on the RCC source @fpiSTM? With this stm32f0 discovery board, the default solder bridge settings provide the MCO from the stlink side of the board. You can use that as a high speed bypass clock and get a very accurate oscillator source. Do you think running at 48MHz using the M...
by Rick Kimball
Sun Jun 18, 2017 2:37 pm
Forum: STM Core
Topic: stm32f0discovery core?
Replies: 2
Views: 103

stm32f0discovery core?

I'm thinking about adding a core for the stm32f0 discovery board (MB1034B). I noticed on the other discovery boards, your pin numbering scheme just enumerates the actual pins, ignoring any pin that isn't connected to a GPIO. I was hoping to be able to point people to a document that would explain th...
by Rick Kimball
Sat Jun 17, 2017 11:35 pm
Forum: Builds and Announcements
Topic: WS2812B (Neopixel) library has been added to the F1 core
Replies: 13
Views: 234

Re: WS2812B (Neopixel) library has been added to the F1 core

FWIW: I was able to implement the Slave SPI approach using the new Arduino_Core_STM32 core that uses HAL with a NUCLEO-F030R8 board. The F030R8 only run at 48Mhz, however I used the internal high speed oscillator and slightly overclocked using a multiplier of 13 (52MHz) and then I reduced the speed ...