[riot-users] About SPIs on NUCLEO-F411 and STM32F4xx in general

Dylan Laduranty dylanladuranty at gmail.com
Mon Feb 5 09:46:26 CET 2018


Hi Iliyan !

> Is it just a question of adding a second (or third) one in the file, as
long as GPIOs don't overlap with other periphery

Yes that's it  ! You should only define your second and third SPI within
your periph_conf.h file. SPI will be then initiliaze in
drivers/periph_common/init.c

Regards


2018-02-03 1:18 GMT+01:00 Iliyan Stoyanov <ilf.stoyanov at gmail.com>:

> Hello,
>
> I have a question about the amount of usable SPIs on the NUCLEO-F411
> board. By default the MPU supports 5 SPI, however there is only one SPI
> described in the periph_conf.h. Is it just a question of adding a second
> (or third) one in the file, as long as GPIOs don't overlap with other
> periphery, or is it more complicated than that. It is a generic question
> actually, in case I decide to make my own custom board but want to use some
> MPU that is well supported either from F1 or F4 series.
>
> I actually don't have a nucleo-f411 at hand, but I'm going to get 1 or 2,
> so I can play around with the F4s but I just want to know how complicated
> would be to use 3 SPIs on the board for example.
>
> Thanks
>
> _______________________________________________
> users mailing list
> users at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/users
>
>


-- 
Dylan Laduranty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/users/attachments/20180205/b0c35e3d/attachment.html>


More information about the users mailing list