Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ATPL00B Datasheet(PDF) 66 Page - ATMEL Corporation

Part # ATPL00B
Description  FSK Power Line Communications SoC
PDF  152 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATPL00B Datasheet(HTML) 66 Page - ATMEL Corporation

Back Button ATPL00B Datasheet HTML 62Page - ATMEL Corporation ATPL00B Datasheet HTML 63Page - ATMEL Corporation ATPL00B Datasheet HTML 64Page - ATMEL Corporation ATPL00B Datasheet HTML 65Page - ATMEL Corporation ATPL00B Datasheet HTML 66Page - ATMEL Corporation ATPL00B Datasheet HTML 67Page - ATMEL Corporation ATPL00B Datasheet HTML 68Page - ATMEL Corporation ATPL00B Datasheet HTML 69Page - ATMEL Corporation ATPL00B Datasheet HTML 70Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 66 / 152 page
background image
Atmel ATPL00B [datasheet]
43028A-ATPL - 9/12
66
Table 7-1.
SPI0 port map
ADD8051C3A Port
Alternate Function
P5.0
/SS0
P5.1
SPICLK0
P5.2
MOSI0
P5.3
MISO0
SPICLK, MOSI and MISO are typically tied together between two or more SPI devices. Data flows from master to slave
on the MOSI (Master Out Slave In) pin and flows from slave to master on the MISO (Master In Slave Out) pin. The
SPICLK signal is output in the master mode and is input in the slave mode. If the SPI system is disabled, i.e. SPEN
(SPCTL.6) = 0 (reset value), these pins can be used as general purpose I/O pins.
SS is an optional slave select pin. In a typical configuration, an SPI master asserts one of its port pins to select one SPI
device as the current slave. An SPI slave device uses its SS pin to determine whether it is selected or not. The SS is
ignored if any of the following conditions are true:
The SPI0 system is disabled, i.e. SPEN (SPCTL.6) = 0 (reset value)
SPI0 is enabled but SS pin is not needed in such system, i.e. SSIG(SPCTL.7) = 1; in this case SS pin can be
used as general purpose pin on P5.
7.1.2
SPI clock phase, polarity and operation
There are four combinations (CPHA, CPOL) for sampling and shifting activities on data and clock lines in the SPI.
Master can switch between any of them at any time thus having ability to communicate with slaves supporting data
transfer using different modes.
In order to have successful data transfer between SPI devices, proper selection of the SPI clock phase and polarity is
crucial. It is important to note that some of these configurations offer less capabilities than others. Clock Phase Bit
CPHA allows user to specify the edges for sampling and shifting data. Clock Polarity bit CPOL allows user to set the
clock polarity Figure 7-2 and Figure 7-3 show transfers with different values of CPHA and CPOL.
The SPI clock preescaler selection uses the PSC1-PSC0 bits in the SPCTL register and PSC2 in SPSTAT register.
Master selects one of the available baud rates for the SPI communication. SPI Clock Preescaler bits do not have affect
on the part acting as a slave, since it uses SPI clock supplied by the master.
When microcontroller operates as a slave with CPHA=‟0‟, some restrictions are present.
SSIG must be „0‟ and the SS pin must be negated and reasserted between each successive byte transfer.
If the SPDAT register is written while SS is active (low), a write collision error results.
Microcontroller‟s behavior is undefined if CPHA is „0‟ and SSIG is „1‟.
On the other hand, slave having CPHA=‟1‟ may set SSIG to „1‟. If SSIG = 1, the SS pin may remain active low between
successive transfers (can be tied low at all times). This format is sometimes preferred in systems having a single fixed
master
and a single slave driving the MISO data line. Microcontroller configured as a master with CPHA=‟0‟ does not
need to negate and reassert slave‟s SS line in order to send and receive byte(s) of data.
In SPI, transfers are always initiated by the master. If the SPI is enabled (SPEN = 1) and microcontroller is configured
as SPI master, writing to the SPI data register by the master will start the SPI clock generator and data transfer. The
data will start to appear on MOSI about one half SPI bit-time to one SPI bit-time after data is written to SPDAT.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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