Skip to main content
Graduate II
February 7, 2023
Question

we connected STM32F051 to ASM330 over SPI . The communication works only with Chip select line being toggled LOW as a GPIO line the SPI is not able to set Chip select Low . There is a 10K ohm Pull-Up resistor on the Chip Select Line . What is the sug

  • February 7, 2023
  • 1 reply
  • 1245 views

Hi ,

We connected STM32F051 to ASM330 over SPI .

The communication works only with Chip select line being toggled LOW as a GPIO line the SPI is not able to set Chip select Low . There is a 10K ohm Pull-Up resistor on the Chip Select Line . What is the suggested solution for the Chip select line to work with SPI and not to use Chip select as GPIO .

    This topic has been closed for replies.

    1 reply

    ST Employee
    February 15, 2023

    Hi @ck.1​ ,

    If the master cannot force the SPI CS due to the pull-up resistor, I'm afraid you have to use a GPIO resource.

    In theory, you can disable the pull-up via reg command (datasheet p.38), but you need to be able to communicate first with the chip in some way..

    -Eleon