Download XE166 Derivatives
Transcript
XE166 Derivatives Peripheral Units (Vol. 2 of 2) Universal Serial Interface Channel 19.4 Synchronous Serial Channel (SSC) The synchronous serial channel SSC covers the data transfer function of an SPI-like module. It can handle reception and transmission of synchronous data frames between a device operating in master mode and at least one device in slave mode. The SSC mode is selected by CCR.MODE = 0001B with CCFG.SSC = 1 (SSC mode is available). This chapter contains the following sections: • • • • • • Signal description (see Page 19-131) General SSC issues (see Page 19-139) Master mode operation (see Page 19-142) Slave mode operation (see Page 19-149) Protocol registers (see Page 19-151) Timing considerations (see Page 19-157) 19.4.1 Signal Description A synchronous SSC data transfer is characterized by a simultaneous transfer of a shift clock signal together with the transmit and/or receive data signal(s) to determine when the data is valid (definition of transmit and sample point). SSC Communication Master DOUT TBUF DIN RBUF DX0 Baud Rate Generator Slave Select Generator SCLKOUT SELOx SSC Communication Slave Master Transmit / Slave Receive DIN Master Receive / Slave Transmit DOUT Slave Clock Slave Select DX0 RBUF TBUF SCLKIN DX1 SELIN DX2 fSYS (Slave) fSYS (Master) SSC_Signals_ Figure 19-31 SSC Signals for Full-Duplex Communication In order to explicitly indicate the start and the end of a data transfer and to address more than one slave devices individually, the SSC module supports the handling of slave User’s Manual USIC, V1.0 19-131 V2.1, 2008-08