Search found 890 matches

by victor_pv
Sun Feb 26, 2017 4:30 pm
Forum: General discussion
Topic: Planning to add callback to the SPI DMA functions (dmaSend, dmaTransfer...)
Replies: 36
Views: 277

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

How do you guys suggest to manage the DMA channels allocation? As far as I know currently the core doesn't keep any kind of data on what channels are enabled and for what peripheral, I guess that would require an additional library, that keeps that data, and manage allocation and releasing channels....
by victor_pv
Sun Feb 26, 2017 1:23 am
Forum: General discussion
Topic: Planning to add callback to the SPI DMA functions (dmaSend, dmaTransfer...)
Replies: 36
Views: 277

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

First shot at separating the setting up of the DMA transfer, and the firing of the transfer. Basically I just separated the code that was previously in dmaSend in two parts, dmaSensdSet configured the transfer, except for the length, and enabling the channel. Next you call dmaSendRepeat (I dont real...
by victor_pv
Sat Feb 25, 2017 10:51 pm
Forum: General discussion
Topic: Planning to add callback to the SPI DMA functions (dmaSend, dmaTransfer...)
Replies: 36
Views: 277

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

From what I have found, they have not integrated any DMA functions in the normal SPI library. There is another library, DmaSpi, which is the one that has DMA capabilities: https://github.com/crteensy/DmaSpi That one works similar to what Steve was working on, it queues transfers with a series of pro...
by victor_pv
Thu Feb 23, 2017 7:05 pm
Forum: STM32F4 Boards
Topic: STM32 ST-Link "no target connected" Error
Replies: 9
Views: 4636

Re: STM32 ST-Link "no target connected" Error

I am using original stlink v2 programmer. And I am using your's STM32_Arduino folder under arduino. I am not able to flash maple mini with that. I you use the stlink utility, is it able to connect to the target successfully? I know that for a while we were using some other tool (I believe texane) t...
by victor_pv
Thu Feb 23, 2017 5:15 pm
Forum: STLink
Topic: ST-LINK V2-1 does not work with Windows 10
Replies: 9
Views: 128

Re: ST-LINK V2-1 does not work with Windows 10

I have Windows 10 x64 in one computer, I have used successfully stlink clones, and the stlink in a discovery F7.

I have a nucleo F401 or 411, I will test it later and let you know. Could be just an issue with a certain version of the drivers?
by victor_pv
Thu Feb 23, 2017 3:47 pm
Forum: General discussion
Topic: Planning to add callback to the SPI DMA functions (dmaSend, dmaTransfer...)
Replies: 36
Views: 277

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

indeed :). It would still be nice to be able to configure that you won't reuse the dma channel for something else and get the cheaper dma setup (likely the most often usecase since so far dma is hardly used anyway ^^) If I understand right, you are suggesting to add functions that could repeat a dm...
by victor_pv
Thu Feb 23, 2017 3:41 pm
Forum: General discussion
Topic: [SOLVED] should we wait till Tx empty before calling dev->regs->DR again? or not ? spi_tx issue
Replies: 21
Views: 188

Re: [SOLVED] should we wait till Tx empty before calling dev->regs->DR again? or not ? spi_tx issue

Btw, which revision of RM0008 are u using? My one is " DocID13902 Rev 15 ", and the mentioned info is on page 731 instead of 743. The first link on the google search, shows "DocID13902 Rev 16" http://www.st.com/content/ccc/resource/technical/document/reference_manual/59/b9/ba/7f...
by victor_pv
Thu Feb 23, 2017 2:51 am
Forum: General discussion
Topic: Planning to add callback to the SPI DMA functions (dmaSend, dmaTransfer...)
Replies: 36
Views: 277

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

indeed :). It would still be nice to be able to configure that you won't reuse the dma channel for something else and get the cheaper dma setup (likely the most often usecase since so far dma is hardly used anyway ^^) If I understand right, you are suggesting to add functions that could repeat a dm...
by victor_pv
Thu Feb 23, 2017 2:46 am
Forum: STM32F4 Boards
Topic: STM32 ST-Link "no target connected" Error
Replies: 9
Views: 4636

Re: STM32 ST-Link "no target connected" Error

We had reports some time ago that Texane Stlink does not work with all STLink hardware. Specifically the built in STlink on some STM boards. So I changed the repo back to using STM's own exe CLI on windows. As far as I'm know, Texane Stlink is not actively being developed or supported, so I dont th...
by victor_pv
Wed Feb 22, 2017 8:22 pm
Forum: General discussion
Topic: [SOLVED] should we wait till Tx empty before calling dev->regs->DR again? or not ? spi_tx issue
Replies: 21
Views: 188

Re: [SOLVED] should we wait till Tx empty before calling dev->regs->DR again? or not ? spi_tx issue

Thanks for pointing to the info, i knew i was missing something. It means there is no bug, just the spec not conforming with my expectations. I will add the read in the transfer function, remove the read from the write function and test it with display and sd fat. Ok, if you upload the changes to g...

Go to advanced search