Moteur de recherche de fiches techniques de composants électroniques
  French  ▼
ALLDATASHEET.FR

X  

AT89C5130A-M Fiches technique(PDF) 94 Page - ATMEL Corporation

No de pièce AT89C5130A-M
Description  8-bit Flash Microcontroller with Full Speed USB Device
Download  184 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricant  ATMEL [ATMEL Corporation]
Site Internet  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89C5130A-M Fiches technique(HTML) 94 Page - ATMEL Corporation

Back Button AT89C5130A-M Datasheet HTML 90Page - ATMEL Corporation AT89C5130A-M Datasheet HTML 91Page - ATMEL Corporation AT89C5130A-M Datasheet HTML 92Page - ATMEL Corporation AT89C5130A-M Datasheet HTML 93Page - ATMEL Corporation AT89C5130A-M Datasheet HTML 94Page - ATMEL Corporation AT89C5130A-M Datasheet HTML 95Page - ATMEL Corporation AT89C5130A-M Datasheet HTML 96Page - ATMEL Corporation AT89C5130A-M Datasheet HTML 97Page - ATMEL Corporation AT89C5130A-M Datasheet HTML 98Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 94 / 184 page
background image
94
AT89C5130A/31A-M
4337C–USB–02/05
Figure 41. Full-duplex Master/Slave Interconnection
Master Mode
The SPI operates in Master mode when the Master bit, MSTR (1), in the SPCON register
is set. Only one Master SPI device can initiate transmissions. Software begins the trans-
mission from a Master SPI module by writing to the Serial Peripheral Data Register
(SPDAT). If the shift register is empty, the byte is immediately transferred to the shift
register. The byte begins shifting out on MOSI pin under the control of the serial clock,
SCK. Simultaneously, another byte shifts in from the Slave on the Master’s MISO pin.
The transmission ends when the Serial Peripheral transfer data flag, SPIF, in SPSTA
becomes set. At the same time that SPIF becomes set, the received byte from the Slave
is transferred to the receive data register in SPDAT. Software clears SPIF by reading
the Serial Peripheral Status register (SPSTA) with the SPIF bit set, and then reading the
SPDAT.
Slave Mode
The SPI operates in Slave mode when the Master bit, MSTR (2), in the SPCON register is
cleared. Before a data transmission occurs, the Slave Select pin, SS, of the Slave
device must be set to’0’. SS must remain low until the transmission is complete.
In a Slave SPI module, data enters the shift register under the control of the SCK from
the Master SPI module. After a byte enters the shift register, it is immediately transferred
to the receive data register in SPDAT, and the SPIF bit is set. To prevent an overflow
condition, Slave software must then read the SPDAT before another byte enters the
shift register (3). A Slave SPI must complete the write to the SPDAT (shift register) at
least one bus cycle before the Master SPI starts a transmission. If the write to the data
register is late, the SPI transmits the data already in the shift register from the previous
transmission.
Transmission Formats
Software can select any of four combinations of serial clock (SCK) phase and polarity
using two bits in the SPCON: the Clock POLarity (CPOL (4)) and the Clock PHAse
(CPHA4). CPOL defines the default SCK line level in idle state. It has no significant
effect on the transmission format. CPHA defines the edges on which the input data are
sampled and the edges on which the output data are shifted (Figure 42 and Figure 43).
The clock phase and polarity should be identical for the Master SPI device and the com-
municating Slave device.
8-bit Shift Register
SPI
Clock Generator
Master MCU
8-bit Shift Register
MISO
MISO
MOSI
MOSI
SCK
SCK
VSS
VDD
SS
SS
Slave MCU
1.
The SPI module should be configured as a Master before it is enabled (SPEN set). Also
the Master SPI should be configured before the Slave SPI.
2.
The SPI module should be configured as a Slave before it is enabled (SPEN set).
3.
The maximum frequency of the SCK for an SPI configured as a Slave is the bus clock
speed.
4.
Before writing to the CPOL and CPHA bits, the SPI should be disabled (SPEN =’0’).


Numéro de pièce similaire - AT89C5130A-M

FabricantNo de pièceFiches techniqueDescription
logo
ATMEL Corporation
AT89C5130A-M ATMEL-AT89C5130A-M Datasheet
2Mb / 186P
   8-bit Flash Microcontroller with Full Speed USB Device
AT89C5130A-M ATMEL-AT89C5130A-M Datasheet
1Mb / 188P
   8-bit Flash Microcontroller with Full Speed USB Device
AT89C5130A-M ATMEL-AT89C5130A-M_06 Datasheet
2Mb / 186P
   8-bit Flash Microcontroller with Full Speed USB Device
AT89C5130A-M ATMEL-AT89C5130A-M_08 Datasheet
1Mb / 188P
   8-bit Flash Microcontroller with Full Speed USB Device
AT89C5130A-M ATMEL-AT89C5130A-M_14 Datasheet
1Mb / 188P
   Maximum Core Frequency 48 MHz in X1 Mode, 24 MHz in X2 Mode
More results

Description similaire - AT89C5130A-M

FabricantNo de pièceFiches techniqueDescription
logo
ATMEL Corporation
AT89C5130A-M ATMEL-AT89C5130A-M_08 Datasheet
1Mb / 188P
   8-bit Flash Microcontroller with Full Speed USB Device
AT89C5131A-L ATMEL-AT89C5131A-L Datasheet
2Mb / 184P
   8-bit Flash Microcontroller with Full Speed USB Device
AT89C5131A-L ATMEL-AT89C5131A-L_07 Datasheet
1Mb / 186P
   8-bit Flash Microcontroller with Full Speed USB Device
AT89C5130A-M ATMEL-AT89C5130A-M_06 Datasheet
2Mb / 186P
   8-bit Flash Microcontroller with Full Speed USB Device
AT89C5131 ATMEL-AT89C5131 Datasheet
2Mb / 176P
   8-bit Flash Microcontroller with Full Speed USB Device
AT89C5131A-L ATMEL-AT89C5131A-L_06 Datasheet
2Mb / 185P
   8-bit Flash Microcontroller with Full Speed USB Device
AT83C5134 ATMEL-AT83C5134 Datasheet
1Mb / 171P
   8-bit Microcontroller with Full Speed USB Device
logo
NEC
UPD78F0730MC-CAB-AX NEC-UPD78F0730MC-CAB-AX Datasheet
426Kb / 2P
   8-Bit Microcontroller with Full-Speed USB 2.0
logo
Sanyo Semicon Device
LC87F1A32A SANYO-LC87F1A32A_09 Datasheet
181Kb / 26P
   8-bit 1-chip Microcontroller with Full-Speed USB
LC87F1M16A SANYO-LC87F1M16A Datasheet
199Kb / 32P
   8-bit 1-chip Microcontroller with Full-Speed USB
More results


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


Fiches technique Télécharger

Go To PDF Page


Lien URL




Politique de confidentialité
ALLDATASHEET.FR
ALLDATASHEET vous a-t-il été utile ?  [ DONATE ] 

À propos de Alldatasheet   |   Publicité   |   Contactez-nous   |   Politique de confidentialité   |   Echange de liens   |   Fabricants
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