



That's not completely accurate. The SPI bus doesn't have "the" CS pin; multiple devices (slaves) can share a single SPI bus, and each device gets its own CS pin/signal. Consequently, you have to configure the CS pin to use for each slave yourself.I saw in documentation that the CS pin for SPI2 is GPIO16
This can work if the UART peripheral isn't initialized (connected to the pin) while the pin is used by the SPI and vice versa.However, GPIO16 is used for TXD of CP2102. I'm wondering if i can use the same pin for SPI and UART.
Users browsing this forum: No registered users and 3 guests