If you are concerned about the possibility of a master trying to do something to a slave while the slave is being programmed (because the same MISO, MOSI, and SCLK pins are involved), one way of dealing with that is to add isolation resistors between the SPI master and SPI slave so that any hard logic (eg, a programmer) connected to that port will have electrical priority. Preferably, if you need to do an external reset, drive it from a port pin on the master OR bus the reset line around to all the chips in the system so that they reset at the same time. IF you can have a master trying to communicate with a slave while a slave is resetting, then you have a serious system design flaw. ISP is only used for a programmer to talk to the MCU. In the context of a microcontroller, SPI is used to talk between a master and one or more slaves. I think that you are confusing SPI and ISP.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |