Skip to main content
KBhav.1
Associate
June 11, 2020
Question

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?

  • June 11, 2020
  • 3 replies
  • 1102 views

..

    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    June 11, 2020

    Could you use GPIO to do the selection?​

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    KBhav.1
    KBhav.1Author
    Associate
    June 11, 2020

    Thank you for your reply.

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

    Cristian Gyorgy
    Associate II
    June 13, 2020

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