求教版主使用s08 SPI接口时,
SPIC1_SPE = 1; // 0 SPI system inactive; 1 SPI system enabled
SPIC1_MSTR = 1; // 0 SPI module configured as a slave SPI device
// 1 SPI module configured as a master SPI device
SPIC1_SSOE = 1; // 1 Automatic SS output
SPIC2_MODFEN=1; // 0 Mode fault function disabled, master SS pin reverts to general-purpose I/O not controlled by SPI
// 1 Mode fault function enabled, master SS pin acts as the mode fault input or the slave select output
SPIBR = 0X33; // 设置通讯波特率
请问:MCU作为主模式,采用4线SPI接口,当向SPID中放置要发送的数据后,/ss PIN是否自动产生低电平,当8为数据发送完成后,/ss PIN 是自动变成高电平呢?还是处于低电平呢?作者: ahugirl 时间: 2010-4-21 23:32