cancel
Showing results for 
Search instead for 
Did you mean: 

Data transmission (using DMA)

doron sandroy
Associate II
Posted on January 05, 2017 at 13:02

Hi ALL

I need to Data transmission using DMA

from 1 qpio strim off data

I work whit the device stm32F407vgt 

#data-transmission-(using-dma)
6 REPLIES 6
Seb
ST Employee
Posted on January 05, 2017 at 13:49

Hmm... little detail, fuzzy answer 

If using a DMA, it would mean a high data rate of low core frequency.

In case it is a single wire transmission, UART (or USART) with DMA would be recommended.

There are other single wire protocol, however this one is by far the most popular as serial interface, can communicate with wireless modules (2 wires RX/TX) etc...

Good luck!

doron sandroy
Associate II
Posted on January 05, 2017 at 16:18

Hi and thanks

the problem is i need to transmission data from 1 QPIO above of 2Mhz

I understand that is possible.

can u send my example.

thanks.

Khouloud GARSI
Lead II
Posted on January 05, 2017 at 19:10

Hi

sandroy.doron

,

You can finddifferent examples

inside the

http://www.st.com/content/st_com/en/extended-query.html?querycriteria=productId=SC2004$$associatedTo=SS1577

library (v 1.0) .

If you will use the UART and DMA to transmit data, you can refer tothe example under the path below:

STM32Cube_FW_F4_V1.0\Projects\STM32F4-Discovery\Examples\UART.

This will help you to correctly configure your peripherals.

Regards,

Khouloud.

Posted on January 05, 2017 at 19:24

Your problem isn't well stated. If your English isn't strong, diagram it and attach an illustration. Perhaps show the specific pin you want to use, and the signal you want to see on the pin.

What is a QPIO?

Let's assume you want to copy a pattern table to a GPIO Pin to generate an arbitrary waveform.

ie DMA to GPIO, this has been covered on the forum on multiple occasions, I've posted examples.

To get specific speeds you'd use a TIM to drive the requests. On the F4 you'd need to use DMA2 to copy from memory to GPIOx->BSRR. You would need an array of 32-bit values indicating which of the 16 pins on the GPIO Pin Bank you want going high or low.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
doron sandroy
Associate II
Posted on January 08, 2017 at 18:28

Hi

Turvey.Clive.002

can u send my example

Posted on January 08, 2017 at 23:33

 ,

 ,

 ,

 ,
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..