Electronic Components Datasheet Search |
|
MSC1200 Datasheet(PDF) 30 Page - Texas Instruments |
|
MSC1200 Datasheet(HTML) 30 Page - Texas Instruments |
30 / 92 page MSC1200 MSC1201 MSC1202 SBAS317E − APRIL 2004 − REVISED MAY 2006 www.ti.com 30 SPI The MSC120x implement a basic SPI interface that includes the hardware for simple serial data transfers. Figure 17 shows a block diagram of the SPI. The peripheral supports master and slave modes, full duplex data transfers, both clock polarities, both clock phases, bit order, and slave select. The timing diagram for supported SPI data transfers is shown in Figure 18. The I/O pins needed for data transfer are Data In (DIN), Data Out (DOUT) and serial clock (SCK). The slave select (SS) pin can also be used to control the output of data on DOUT. The DIN pin is used for shifting data in for both master and slave modes. The DOUT pin is used for shifting data out for both master and slave modes. The SCK pin is used to synchronize the transfer of data for both master and slave modes. SCK is always generated by the master. The generation of SCK in master mode can be done either in software (by simply toggling the port pin), or by configuring the output on the SCK pin via PASEL (SFR F2h). A list of the most common methods of generating SCK follows, but the complete list of clock sources can be found by referring to the PASEL SFR. D Toggle SCK by setting and clearing the port pin. D Memory Write Pulse (WR) that is idle high. Whenever an external memory write command (MOVX) is executed, a pulse is seen on P3.6. This method can be used only if CPOL is set to ‘1’. D Memory Write Pulse toggle version. In this mode, SCK toggles whenever an external write command (MOVX) is executed. D T0_Out signal can be used as a clock. A pulse is generated on SCK whenever Timer 0 expires. The idle state of the signal is low, so this can be used only if CPOL is cleared to ‘0’. D T0_Out toggle. SCK toggles whenever Timer 0 expires. D T1_Out signal can be used as a clock. A pulse is generated whenever Timer 1 expires. The idle state of the signal is low, so this can be used only if CPOL is cleared to ‘0’. D T1_Out toggle. SCK toggles whenever Timer 1 expires. SPI /I2C Data Write SPICON I2CCON I2C Stretch Control Counter Start/Stop Detect SPI /I2C Data Read Pad Control DOUT P1.2 P1.4 P3.6 P1.3 Logic DOUT TX_CLK RX_CLK SS SCK/SCL CNT_CLK CNT INT I2C INT DIN CLKS (refer to PASEL, SFR F2h) SS SCK DIN Figure 17. SPI/I2C Block Diagram |
Similar Part No. - MSC1200 |
|
Similar Description - MSC1200 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
Family Site : ic2ic.com |
icmetro.com |