Search found 398 matches

by racemaniac
Thu Jun 22, 2017 5:41 am
Forum: Working / ported libraries
Topic: WS2812B (Neopixel) library for Libmaple using SPI DMA
Replies: 13
Views: 214

Re: WS2812B (Neopixel) library for Libmaple using SPI DMA

indeed, i also think the spi dma version is going to be the easiest to use, it doesn't depend on critical timings/disabling interrupts/... that's going to make the library a lot easier to use.
by racemaniac
Wed Jun 21, 2017 11:31 am
Forum: Working / ported libraries
Topic: WS2812B (Neopixel) library for Libmaple using SPI DMA
Replies: 13
Views: 214

Re: WS2812B (Neopixel) library for Libmaple using SPI DMA

The main problem for these kind of things is that everyone has got his own requirements/priorities. For my implementation i gave up a bit of transmission speed & memory, in order to make the building the buffer part as fast as possible. As seen in the tests i did on DMA, even if the sending is now 3...
by racemaniac
Tue Jun 20, 2017 7:07 am
Forum: Projects
Topic: Blue Pill breakout board ?
Replies: 10
Views: 166

Re: Blue Pill breakout board ?

RogerClark wrote:
Tue Jun 20, 2017 6:01 am
MEMS sensor of some kind e.g. MPU9250 or MPU6050
Sounds like a fun idea

And regarding the MPU's, i believe the 6050 and 9250 are pin compatible, so you'll support both :)
by racemaniac
Sat Jun 17, 2017 2:26 pm
Forum: Builds and Announcements
Topic: Forum SW upgrade
Replies: 11
Views: 178

Re: Forum SW upgrade

yeah, probably not worth it yet, was just wondering if it was much effort or not.
by racemaniac
Sat Jun 17, 2017 12:57 pm
Forum: Postbag
Topic: Racemaniac's postbag
Replies: 50
Views: 1469

Re: Racemaniac's postbag

zmemw16 wrote::( :( :( :(
does anyone else find after visiting an aliexpress russian page, your login page is now in russian?
what's russian for global?
srp
maybe visit it with google translate? XD
by racemaniac
Sat Jun 17, 2017 11:32 am
Forum: Builds and Announcements
Topic: Forum SW upgrade
Replies: 11
Views: 178

Re: Forum SW upgrade

one more thing i'm wondering about the forum. recently the push towards https has been growing even more. My browser is warning me when logging on on this site that it's not encrypted. Is it much work (and/or cost) for you to enable https? if not, might also be worth considering :).
by racemaniac
Sat Jun 17, 2017 11:25 am
Forum: General discussion
Topic: STM32F103 performance when using non blocking DMA
Replies: 18
Views: 205

Re: STM32F103 performance when using non blocking DMA

With the speed tests, I think @stevestrongs code is the worst possible case. e.g You would not normally write code like that, unless you had a small buffer of known length and wanted absolutely the best speed. I think in normal operation, something like memcpy or perhaps my code, is more likely to ...
by racemaniac
Sat Jun 17, 2017 9:05 am
Forum: General discussion
Topic: STM32F103 performance when using non blocking DMA
Replies: 18
Views: 205

Re: STM32F103 performance when using non blocking DMA

what could also be an interesting test, is a bigger stm32. the cbt6 only has 1 DMA controller, but the bigger ones have 2. If i do work on both, each get 1/3rd of the memory bus, so that will probably have a bigger impact on the cpu (unless for those models they also increased the capacity of the me...
by racemaniac
Sat Jun 17, 2017 8:17 am
Forum: General discussion
Topic: STM32F103 performance when using non blocking DMA
Replies: 18
Views: 205

Re: STM32F103 performance when using non blocking DMA

Maybe a small modification of the memcopy would show different result: uint8_t * rxBufPtr = rxBuffer2; uint8_t * txBufPtr = txBuffer2; for(int j = 0; j < 10000; j++) { for(int i = 0; i < 32; i ++) // split 256 byte write into 32 * 8 bytes write { *txBufPtr++ = *rxBufPtr++; *txBufPtr++ = *rxBufPtr++...
by racemaniac
Sat Jun 17, 2017 8:05 am
Forum: Postbag
Topic: Racemaniac's postbag
Replies: 50
Views: 1469

Re: Racemaniac's postbag

Interesting. What PC software do you use with it? I have a 100Mhz Analsyer like this http://www.ebay.com.au/itm/New-USB-Logic-100MHz-16Ch-Logic-Analyzer-for-ARM-FPGA-/151745053900 But it only supports 100Mhz on 2 channels. I sometimes wish it also did analogue, but I have a scope so I cant justify ...