所需E币: 3
时间: 2019-12-25 14:59
大小: 88.8KB
应用时钟串口IIEB+HM>AN200SPIUsingtheRabbitClockedSerialPortsSerialPeripheralInterface(SPI)TheSPIisafour-wirefull-duplexsynchronousserialdatalinkthatisimplementedinmanymicrocontrollersandperipheraldevices.TheSPIwasoriginallydevelopedbyMotorola1toenableagluelessmicrocontrollerinterfacewithindustry-standardserialdevicessuchasserialEEPROMs,dataconverters,liquidcrystaldisplays,aswellasotherperipheralsandmicrocontrollers.TheSPIconsistsofshiftregistersthatseriallytransmitandreceivedataatthesametime.ForserialcommunicationtotakeplacewithinaSPI-basedsystem,onedevicehastoactasamasterandatleastoneotherdevicehastoactasaslave.Inthis……