Nov 23, 2012 #1 M myatham Member level 3 Joined Sep 7, 2009 Messages 58 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,288 Location India Activity points 1,746 Hi, Is there any limit how many chip selects an SPI module in a microcontroller supports if i use GPIOs for chip select pins?
Hi, Is there any limit how many chip selects an SPI module in a microcontroller supports if i use GPIOs for chip select pins?
Nov 23, 2012 #2 Tahmid Advanced Member level 6 Joined Jun 17, 2008 Messages 4,756 Helped 1,798 Reputation 3,588 Reaction score 1,656 Trophy points 1,413 Location Berkeley, California Activity points 30,584 The limit is the number of GPIO pins you can use - that which you have available or by increasing count by using shift register, port expander, etc. Just don't place the devices too far away. Hope this helps. Tahmid.
The limit is the number of GPIO pins you can use - that which you have available or by increasing count by using shift register, port expander, etc. Just don't place the devices too far away. Hope this helps. Tahmid.
Nov 23, 2012 #3 D doraemon Super Moderator Staff member Joined Jun 21, 2009 Messages 1,255 Helped 292 Reputation 592 Reaction score 303 Trophy points 1,363 Location Japan Activity points 12,950 Hello! Just don't place the devices too far away Click to expand... Would be good to explain what you mean by too far away. Is it 20 cm? 1m? 100 m? 1km? Dora.
Hello! Just don't place the devices too far away Click to expand... Would be good to explain what you mean by too far away. Is it 20 cm? 1m? 100 m? 1km? Dora.
Nov 23, 2012 #4 Tahmid Advanced Member level 6 Joined Jun 17, 2008 Messages 4,756 Helped 1,798 Reputation 3,588 Reaction score 1,656 Trophy points 1,413 Location Berkeley, California Activity points 30,584 20cm would be ok. The longer you want, the slower you need to use it. Take a look here: https://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=60979 Last edited: Nov 23, 2012
20cm would be ok. The longer you want, the slower you need to use it. Take a look here: https://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=60979