Questions about SPI and DMA
Posted: Thu Nov 07, 2013 9:21 pm
Hello
I wrote spi code of following structure:
spiSelect(...);
spiExchange(...);
spiUnselect(...);
Now I saw in the ARMCM3-STM32F100-DISCOVERY example code of the following structure:
spiSelectI(...);
spiStartSendI(...);
spiUnselectI(...);
Now my questions are: Are I'm using DMA automatically with my code (STM32F3 series MCU) and where are the differences in operation between the functions I am using and the macros which are used by the example code?
Thanks a lot for answers!
Florian
I wrote spi code of following structure:
spiSelect(...);
spiExchange(...);
spiUnselect(...);
Now I saw in the ARMCM3-STM32F100-DISCOVERY example code of the following structure:
spiSelectI(...);
spiStartSendI(...);
spiUnselectI(...);
Now my questions are: Are I'm using DMA automatically with my code (STM32F3 series MCU) and where are the differences in operation between the functions I am using and the macros which are used by the example code?
Thanks a lot for answers!
Florian