Oct 29, 2019 #1 F Fan174 Member level 2 Joined Mar 27, 2018 Messages 51 Helped 0 Reputation 0 Reaction score 0 Trophy points 6 Activity points 413 Good evening to all I am trying to flow chart to implement the bit banging method of spi interfacing. I have made it mine I have attached flow chart. Please Help me to make it correct Attachments SPI flow chart.pdf 175.9 KB · Views: 64
Good evening to all I am trying to flow chart to implement the bit banging method of spi interfacing. I have made it mine I have attached flow chart. Please Help me to make it correct
Oct 29, 2019 #2 KlausST Advanced Member level 7 Joined Apr 17, 2014 Messages 25,173 Helped 4,868 Reputation 9,757 Reaction score 5,540 Trophy points 1,393 Activity points 168,428 Hi, not bad. But you have to take care about timing. CLK=LOW and without delay CLK=HIGH may violate the specifications. CS is never set HIGH. ***** Instead of bit bang mode: I recommend to use a modern microcontroller with SPI periferal included. Cheaper, faster, easier... Klaus
Hi, not bad. But you have to take care about timing. CLK=LOW and without delay CLK=HIGH may violate the specifications. CS is never set HIGH. ***** Instead of bit bang mode: I recommend to use a modern microcontroller with SPI periferal included. Cheaper, faster, easier... Klaus
Oct 29, 2019 #3 F Fan174 Member level 2 Joined Mar 27, 2018 Messages 51 Helped 0 Reputation 0 Reaction score 0 Trophy points 6 Activity points 413 KlausST said: Hi, not bad. But you have to take care about timing. CLK=LOW and without delay CLK=HIGH may violate the specifications. CS is never set HIGH. ***** Instead of bit bang mode: I recommend to use a modern microcontroller with SPI periferal included. Cheaper, faster, easier... Klaus Click to expand... Hi Klaus I have one query Let's say I have PIC16F877A with inbuilt SPI and slave device (AT25HP256) I have attached datasheet AT25HP256 How many slave devices (AT25HP256) we can connect at SPI Bus? Attachments AT25HP256_AT25HP512_doc1113.pdf 277.7 KB · Views: 43
KlausST said: Hi, not bad. But you have to take care about timing. CLK=LOW and without delay CLK=HIGH may violate the specifications. CS is never set HIGH. ***** Instead of bit bang mode: I recommend to use a modern microcontroller with SPI periferal included. Cheaper, faster, easier... Klaus Click to expand... Hi Klaus I have one query Let's say I have PIC16F877A with inbuilt SPI and slave device (AT25HP256) I have attached datasheet AT25HP256 How many slave devices (AT25HP256) we can connect at SPI Bus?
Oct 29, 2019 #4 FvM Super Moderator Staff member Joined Jan 22, 2008 Messages 52,422 Helped 14,749 Reputation 29,780 Reaction score 14,101 Trophy points 1,393 Location Bochum, Germany Activity points 298,107 How many slave devices (AT25HP256) we can connect at SPI Bus? Click to expand... As many as independent CS signals can be provided in your design.
How many slave devices (AT25HP256) we can connect at SPI Bus? Click to expand... As many as independent CS signals can be provided in your design.
Oct 29, 2019 #5 KlausST Advanced Member level 7 Joined Apr 17, 2014 Messages 25,173 Helped 4,868 Reputation 9,757 Reaction score 5,540 Trophy points 1,393 Activity points 168,428 Hi, As many as independent CS signals can be provided in your design. Click to expand... and additionally this is independent whether you use inbuilt SPI or bit bang SPI. Klaus
Hi, As many as independent CS signals can be provided in your design. Click to expand... and additionally this is independent whether you use inbuilt SPI or bit bang SPI. Klaus