Search found 1262 matches

by victor_pv
Mon Jun 26, 2017 3:08 pm
Forum: General discussion
Topic: STM32F103 performance when using non blocking DMA
Replies: 23
Views: 270

Re: STM32F103 performance when using non blocking DMA

I don't have much time, but I do have a host of other F103 MCUs, up to the RFT6. If you post the full sketch in github and what connections I need to do (like a loop in the spi miso mosi, or whatever else, short of a logic analyzer at 36mhz as I dont have one) I can run it in different mcus in the s...
by victor_pv
Sat Jun 24, 2017 9:15 pm
Forum: General discussion
Topic: Combining Blink & Count to the bootloader
Replies: 33
Views: 364

Re: Combining Blink & Count to the bootloader

I am thinking it may be easier to: 1.- Take maple mini and wipe it clean. 2.-Load bootloader. 3.-Load blink or whatever example sketch. 4.-Download the flash until the end of actual code with st-link and there you have a merged bin that can be uploaded. If the question is how to do this for every va...
by victor_pv
Sat Jun 24, 2017 9:10 pm
Forum: General discussion
Topic: Issue with FreeRTOS example on mini maple clone
Replies: 2
Views: 80

Re: Issue with FreeRTOS example on mini maple clone

Which example are you using, which version of RTOS, and finally which core?
If you post links to what you are using on github it would be the most helpful.
by victor_pv
Sat Jun 24, 2017 9:02 pm
Forum: General discussion
Topic: Planning to add callback to the SPI DMA functions (dmaSend, dmaTransfer...)
Replies: 63
Views: 1349

Re: Planning to add callback to the SPI DMA functions (dmaSend, dmaTransfer...)

Made some necessary changes to be able to build it. I did not test the new functions, only the old (original) DMA ones, they seem to work. Thanks Steve, I just finished compiling it and found similar errors and corrected them too. I'm uploading the new. It's pretty much the same changes you had to ...
by victor_pv
Fri Jun 23, 2017 7:21 pm
Forum: General discussion
Topic: Planning to add callback to the SPI DMA functions (dmaSend, dmaTransfer...)
Replies: 63
Views: 1349

Re: Planning to add callback to the SPI DMA functions (dmaSend, dmaTransfer...)

Resurrecting this thread to add the code. I tested the functions extensively and the only problem I ever found was when using SPI1 at 36Mbit with DMA, as posted above. I verified problem would happen whether using callback or not. Now, the version I am posting is not the one I tested. I had to redo ...
by victor_pv
Fri Jun 23, 2017 1:34 pm
Forum: Projects
Topic: Anyone tried to make a 3D Printer controller?
Replies: 216
Views: 16160

Re: Anyone tried to make a 3D Printer controller?

STM did their own port of Marlin to the HAL for a demo board they also released: http://www.st.com/en/evaluation-tools/steval-3dp001v1.html Source code: https://github.com/St3dPrinter/Marlin4ST I haven't looked at it much, but saw it's based in Marlin 1.1.0, so not too old. Also it's for an F4 MCU, ...
by victor_pv
Thu Jun 15, 2017 9:18 pm
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 219
Views: 3627

Re: [STM32GENERIC] SDIO DMA

Yes it is weird. Where did the first 0x680001d2 - 0x68000008 = 458 bytes go. Anyhow when not aligned we can just do a regular write instead of dma write. Sorry I have been busy quite a few days, just trying to catch up. Bill does that in his library. If it detects non-aligned buffer, it does the tr...
by victor_pv
Wed Jun 14, 2017 2:58 am
Forum: General discussion
Topic: VGA Space invaders on bluepill
Replies: 45
Views: 689

Re: VGA Space invaders on bluepill

Fore reference about color VGA, this due project provides vga output with color: https://hackaday.io/project/9383-pacman-arduino-due-ili9341-and-vga Looking at the files, it does so using several pins for each code with different divider resistor values: https://github.com/DrNCXCortex/Pacman-Arduino...
by victor_pv
Wed Jun 14, 2017 2:56 am
Forum: Builds and Announcements
Topic: SPI.dmaSendAsync() has been added to SPI
Replies: 18
Views: 212

Re: SPI.dmaSendAsync() has been added to SPI

Roger, I had finished writing non-blocking DMA with callback as planned in another thread a while back, but just needed to clean up the code and upload. It added 2 more functions to set the callback functions (1 for send, 1 for transfer/receive). When the callback is Null, it blocks, when is not Nul...
by victor_pv
Sat Jun 03, 2017 5:19 pm
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 219
Views: 3627

Re: [STM32GENERIC] SDIO DMA

My feeling is it should work at 50MHz SDIO when the Sdcard set to HighSpeed mode (CMD6), and maybe the "gpio loading cell" activated.. We work here with overclocked stuff so the stm experts will not help with that, sure :) Did you add the CMD6 code? I started writing it but didn't finish, I believe...