[En-Nut-Discussion] STM32F SPI drivers and chip select

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Wed Feb 20 15:06:45 CET 2013


>>>>> "Henrik" == Henrik Maier <hmnews at proconx.com> writes:

    Henrik> Hi STM32 Developers, I am currently allocating the pins on a
    Henrik> hardware to I/O and like to do a quick check regards the STM32F
    Henrik> SPI drivers:

    Henrik> The driver seems to use "Software NSS mode". Am I correct that
    Henrik> any GPIO pin can be used as chip select, not only the dedicated
    Henrik> NSS pin.

The code comments suggest so

Henrik> Would there be any (future) benefit to use the NSS pins

If somebody extends the driver to use hardware NSS, you can only use the
extension if you use the NSS pin.

Bye

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------


More information about the En-Nut-Discussion mailing list