| Electronic Components Datasheet Search |
|
ATPL00B Datasheet(PDF) 70 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATPL00B Datasheet(HTML) 70 Page - ATMEL Corporation |
|
70 / 152 page ![]() Atmel ATPL00B [datasheet] 43028A-ATPL - 9/12 70 7.3 SPI1 buffer operation SPI1 is a byte buffered serial peripheral interface. Data transfers have a selectable additional number of bytes ranging from 0 to 7, SPSTAT1(2:0) is used to select the number of additional bytes. The buffer is composed of the registers SPDAT10 to SPDAT17. The content of SPDAT10 is the first to be transferred. Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 B it 0 SPCTL1 SSIG SPEN DORD MSTR CPOL CPHA PSC1 PSC0 SSIG: /SS1 slave select ignore, if set to '1' MSTR decides whether the device is a master or a slave and /SS1 pin can be used as port pin; if set to '0' and MSTR is set to '1' then the /SS1 pin decides whether the device is a master or a slave SPEN: SPI1 enabled '1' or disabled '0', when the SPI1 is disabled the SPI1 pins can be used as general I/O pins DORD: SPI1 data order '1' - the LSB of the data byte is transmitted first '0' - the MSB of the data byte is transmitted first MSTR: master '1' / slave '0' mode select. See SSIG field CPOL: SPI1 clock polarity '1' – SPICLK1 is high when idle, the leading edge of SPICLK1 is the falling edge and the trailing edge is the rising edge '0' – SPICLK1 is low when idle, the leading edge of SPICLK1 is the rising edge and the trailing edge is the falling edge CPHA: SPI1 clock phase select '1' - data is driven on the leading edge of SPICLK1 and is sampled on the trailing edge '0' - the first data bit is on the MOSI1/MISO1 line before the first SPICLK1 leading edge, data is sampled on the leading edge of SPICLK1 and driven on the trailing edge of SPICLK1 PSC(1:0): SPI1 clock rate select, determines master clock output. 8 different baud rates can be selected using PSC2[SPSTAT1(5)] & PSC(1:0)[SPCTL1(1:0)] When working as slave, PSC(2:0) value is not taken into account, nevertheless this value must be different from “000” PSC(2:0) clock rate “000” fosc/4 “001” fosc/16 “010” fosc/64 “011” fosc/128 “100” fosc/256 “101” fosc/512 “110” fosc/1024 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | 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 |