Spi driver initialization
Posted: Sat Jun 22, 2013 1:14 pm
Hi.
I've been trying to use spi on STM32VL Discovery. As I was going through some sample codes, some of them just initialize using configuration file and then calling spistart. But some other explicitly set the individual pins using palSetPadMode and then calling the spistart. Do I need to explicitly set the pad modes or does the spistart do it internally?
Thanks in Advance.
I've been trying to use spi on STM32VL Discovery. As I was going through some sample codes, some of them just initialize using configuration file and then calling spistart. But some other explicitly set the individual pins using palSetPadMode and then calling the spistart. Do I need to explicitly set the pad modes or does the spistart do it internally?
Thanks in Advance.