Search found 1264 matches

by victor_pv
Tue Jun 27, 2017 6:23 pm
Forum: Projects
Topic: Anyone tried to make a 3D Printer controller?
Replies: 219
Views: 16217

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

I think these purple board make good candidates too, because of their small footprint, although they lack some peripherals included in the black boards: http://www.ebay.com/itm/STM32F4-Discovery-STM32F407VGT6-ARM-Cortex-M4-32bit-MCU-Core-Development-Board-/262675840220?hash=item3d28b33cdc:g:t-cAAOSw...
by victor_pv
Tue Jun 27, 2017 3:35 am
Forum: General discussion
Topic: Non blocking SPI DMA - Added callback to the SPI DMA functions (dmaSend, dmaTransfer...)
Replies: 65
Views: 1380

Re: Non blocking SPI DMA - Added callback to the SPI DMA functions (dmaSend, dmaTransfer...)

I just tested with my test sketch and can use the callbacks successfully with both SPI1 and SPI2 with the code in the post above, which is based in the latest from Roger's repo. For my test I used my old wav player test code, it uses FreeRTOS 900. DMA is running 3 peripherals, SPI1, SPI2, and a time...
by victor_pv
Mon Jun 26, 2017 3:08 pm
Forum: General discussion
Topic: STM32F103 performance when using non blocking DMA
Replies: 23
Views: 285

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: 388

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: 83

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: Non blocking SPI DMA - Added callback to the SPI DMA functions (dmaSend, dmaTransfer...)
Replies: 65
Views: 1380

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: Non blocking SPI DMA - Added callback to the SPI DMA functions (dmaSend, dmaTransfer...)
Replies: 65
Views: 1380

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: 219
Views: 16217

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: 3649

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: 701

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