Skip to main content
Yali Mobilities
Associate III
February 24, 2021
Solved

how to select and unselect DSPI slave select lines

  • February 24, 2021
  • 1 reply
  • 803 views

while using the DSPI example in spc58ec_disp , i couldn't see that the "spi_lld_select" and "spi_lld_unselect " functions usage to control the slave pin. and it didn't had any effect while i used the functions. how could i use the functions to control the chip select line.

    This topic has been closed for replies.
    Best answer by zambrano.luigi

    Hi,

    if the DSPI is configured in Slave mode, its Chip Select (and Clock) must be driven by a DSPI master.

    Regards,

    Luigi

    1 reply

    zambrano.luigi
    zambrano.luigiBest answer
    ST Employee
    February 25, 2021

    Hi,

    if the DSPI is configured in Slave mode, its Chip Select (and Clock) must be driven by a DSPI master.

    Regards,

    Luigi