2023-02-07 03:39 AM
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 .
2023-02-15 06:56 AM
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