Search found 146 matches

by ozcar
Tue Jul 14, 2020 3:09 am
Forum: General discussion
Topic: How to get pin number based on known timer and known channel?
Replies: 8
Views: 6757

Re: How to get pin number based on known timer and known channel?

Bakisha wrote: Mon Jul 13, 2020 7:04 pm I managed to get pin number by searching all pins for a match with timer and channel.
Perhaps I do not understand exactly what you need to do, but....

How do you know that the first match you get for timer and channel is the one you want?
by ozcar
Tue Jun 30, 2020 11:05 pm
Forum: General discussion
Topic: BARTH STG with STM32F091xC
Replies: 11
Views: 9208

Re: BARTH STG with STM32F091xC

There are a lot of pixel LED libraries out there, but as you can see from the thread that Ray pointed you to, they might require some degree of tinkering to get them to work. Of the two libraries mentioned in that thread, I think Roger's WS2818B library would be best for a small number of LEDs, but ...
by ozcar
Tue Jun 16, 2020 3:50 am
Forum: STM32F1 based boards
Topic: Using STM32F103C8T6 PWM pin to drive ws2812b Neopixel Ring in arduino IDE
Replies: 13
Views: 27140

Re: Using STM32F103C8T6 PWM pin to drive ws2812b Neopixel Ring in arduino IDE

What problem did you have with the ST core and the Adafruit library? fpiSTM said it works, but I have not tried it. I don't really know what's wrong with it, but no matter what i try to do it just doesn seem to light leds. I tried now using the ST core and the Adafruit library. I think that dependi...
by ozcar
Mon Jun 15, 2020 1:07 pm
Forum: STM32F1 based boards
Topic: Using STM32F103C8T6 PWM pin to drive ws2812b Neopixel Ring in arduino IDE
Replies: 13
Views: 27140

Re: Using STM32F103C8T6 PWM pin to drive ws2812b Neopixel Ring in arduino IDE

As I mentioned above, on SP2 you can only get max 18MHz, that is why the pulses are twice as long. Due to the unusual way SPI is used by the WS2812B library, the maximum speed would be 6MHz (and 12MHz on SPI1), but the LEDs are nowhere near as fast as that, and there is no problem using SPI2 provid...
by ozcar
Sat Jun 13, 2020 7:24 pm
Forum: STM32F1 based boards
Topic: Using STM32F103C8T6 PWM pin to drive ws2812b Neopixel Ring in arduino IDE
Replies: 13
Views: 27140

Re: Using STM32F103C8T6 PWM pin to drive ws2812b Neopixel Ring in arduino IDE

I found I was using the WS2812B library included with the core, instead of WS2812B_STM32_Libmaple-master, and it turns out they are not the same (your guess is better than mine why). The version in the core does not have those #defines depending F_CPU , it just assumes F_CPU is 72MHz, but since my F...
by ozcar
Sat Jun 13, 2020 7:17 am
Forum: STM32F1 based boards
Topic: Using STM32F103C8T6 PWM pin to drive ws2812b Neopixel Ring in arduino IDE
Replies: 13
Views: 27140

Re: Using STM32F103C8T6 PWM pin to drive ws2812b Neopixel Ring in arduino IDE

So, you are still using Roger's core and WS2812B library? I lifted up your code and tried it - I commented out the nRF24L01 and RF24 because I don't have those. When I run it, I have no LED string connected, but I can see output on SPI2 - PB15. However, the timing is not as expected. It is in the 1/...
by ozcar
Wed Jun 03, 2020 11:41 pm
Forum: Libraries & Hardware
Topic: New CAN Bus Library for the stm32f103
Replies: 16
Views: 38720

Re: New CAN Bus Library for the stm32f103

I only recently tried to use Platformio for the first time. If I create a project, I have to select a "board" and a "framework". If I select say Nucleo F103RB for the board, it gives me five choices for the framework - Arduino, Mbed, libOpenCM3, STM32Cube, and Zephyr. If I select...
by ozcar
Wed May 13, 2020 3:35 am
Forum: Projects
Topic: [F4] Neopixel driver using hardware timers
Replies: 50
Views: 33211

Re: [F4] Neopixel driver using hardware timers

I can see you are not a fan of using SPI for this task. The granularity of the available timing is an issue, but 1/3 2/3 pulses does suit a lot of these type of LEDs, even if you also need to mess with the clock configuration to get the overall period within spec. As for the increase ram usage - the...
by ozcar
Sun May 10, 2020 11:05 pm
Forum: Let us know a bit about you and your projects
Topic: I'm new to the group.
Replies: 2
Views: 3224

Re: I'm new to the group.

Welcome from a member who has not been here much longer than you have. I started out with 6800, and moved on to 6809 after a few years. The 6809 remains a favourite of mine. I really liked the instruction set, which I got to know quite well when I later wrote a simulator for it in 68000 assembly lan...
by ozcar
Sun May 10, 2020 9:38 pm
Forum: General discussion
Topic: New APM32F103CB
Replies: 47
Views: 40233

Re: New APM32F103CB

The really disappointing thing is that the APM32F103CB has no FPU ! I was just looking at the Robotdyn site yesterday and saw there where they say "with a higher frequency 96MHz (1.5DMIPS) and a built-in FPU". They go on with more about the benefits of having the FPU. So did you advise th...

Go to advanced search