cancel
Showing results for 
Search instead for 
Did you mean: 

In the design, I am using STM8AF6286 controller and want to connect 2 slaves over 1 SPI but with 2 separate chip selects. But STM8AF6286 having single chip select pin. what should I do? is there any other controller in 32 pin, QFN package available?

KBhav.1
Associate
 
3 REPLIES 3

Could you use GPIO to do the selection?​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
KBhav.1
Associate

Thank you for your reply.

I have 2 GPIO left.. but is it ok to use GPIO for SPI control?

Cristian Gyorgy
Senior III

As a master, you may use just any GPIO pin to select the slaves.