Electronic Components Datasheet Search
  Indian  ▼
ALLDATASHEET.IN

X  

SH89F52P/044PR Datasheet(PDF) 62 Page - SINOWEALTH Electronic Ltd

Part # SH89F52P/044PR
Description  8051 Microcontroller with 10bit ADC
PDF  105 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SINOWEALTH [SINOWEALTH Electronic Ltd]
Direct Link  https://en.sinowealth.com
Logo SINOWEALTH - SINOWEALTH Electronic Ltd

SH89F52P/044PR Datasheet(HTML) 62 Page - SINOWEALTH Electronic Ltd

Back Button SH89F52P/044PR Datasheet HTML 58Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 59Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 60Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 61Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 62Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 63Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 64Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 65Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 66Page - SINOWEALTH Electronic Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 62 / 105 page
background image
SH88F516(SH88F54/SH89F52)
62
9.2.6 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 and the clock phase CPHA. 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. The clock phase and polarity should be identical for the master and the communicating slave.
SPEN (Internal)
SCK (CPOL=0)
SCK (CPOL=1)
MOSI (from Master)
bit6
MSB
bit5
bit4
bit3
bit2
bit1
LSB
MISO (from Slave)
bit6
MSB
bit5
bit4
bit3
bit2
bit1
LSB
SS (to Slave)
SCK Cycle Number
1
2
3
4
5
6
7
8
Capture Point
Data Transmission Format (CPHA = 0)
If CPHA = 0, the first SCK edge is the capture strobe. Therefore the slave must begin driving its data before the first SCK edge,
and a falling edge on the SS
———
pin is used to start the transmission. The SS
———
pin must be toggled high and then low between each
byte transmitted. So SSDIS bit is invalid when CPHA = 0.
SPEN (Internal)
SCK (CPOL=0)
SCK (CPOL=1)
MOSI (from Master)
bit6
MSB
bit5
bit4
bit3
bit2
bit1
LSB
MISO (from Slave)
SCK Cycle Number
1
2
3
4
5
6
7
8
Capture Point
bit6
MSB
bit5
bit4
bit3
bit2
bit1
LSB
(to Slave)
SS
Data Transmission Format (CPHA = 1)
If CPHA = 1, the master begins driving its MOSI pin on the first SCK edge. Therefore the slave uses the first SCK edge as a start
transmission signal. So the user must put the SPDAT before the second edge of the first SCK. The SS
———
pin can remain low
between transmissions. This format may be preferred in systems with only one master and only one slave.
Byte1
Byte2
Byte3
MISO/MOSI
Master SS
Slave SS
(CPHA = 0)
Slave SS
(CPHA = 1)
CPHA/SS
———
Timing
Note: Before SPI is configured as Slave mode and CPOL bit in SPCON is cleared, the P1.7/SCK pin must be set to input mode
and enable pull-high resistor before SPEN bit in SPSTA is set to logic ‘1’.



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