전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

RM0319 데이터시트(PDF) 241 Page - STMicroelectronics

부품명 RM0319
상세설명  SPEAr320S architecture and functionality
PDF  368 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0319 데이터시트(HTML) 241 Page - STMicroelectronics

Back Button RM0319 Datasheet HTML 237Page - STMicroelectronics RM0319 Datasheet HTML 238Page - STMicroelectronics RM0319 Datasheet HTML 239Page - STMicroelectronics RM0319 Datasheet HTML 240Page - STMicroelectronics RM0319 Datasheet HTML 241Page - STMicroelectronics RM0319 Datasheet HTML 242Page - STMicroelectronics RM0319 Datasheet HTML 243Page - STMicroelectronics RM0319 Datasheet HTML 244Page - STMicroelectronics RM0319 Datasheet HTML 245Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 241 / 368 page
background image
RM0319
Synchronous serial ports (SSP)
Doc ID 022640 Rev 3
241/368
Programming sequence for generating chip select (SSP0_CS2, SSP0_CS3, SSP0_CS4 -
not required for SSP0_SS0);
1.
Program control bits [12:11] in the RAS Select Register to enable SPI_enhanced
mode.
2.
Program the GPIODATA register bits [7:6] with the above values from Table 69 to select
one of the SSP0_CSx pins.
3.
Program SSP0 in master mode.
4.
Enable transmit-receive
Follow steps 2-4 if a different slave is to be selected.
Note:
1
All current transmission/reception must end before enabling CS for a different slave.
2
Enabling "Enhanced mode for SSP0" will disable any other functionality on PL_GPIO[36],
PL_GPIO[35], PL_GPIO[34] EXCEPT SSP0_CSx.
18.5.2
Enabling SSP operation
To enable SSP, you can either:
●
prime the transmit FIFO, by writing up to eight 16-bit values when the SSP is disabled,
-or-
●
allow the transmit FIFO service request to interrupt the CPU.
Once enabled, transmission or reception of data begins on the SSPx MOSI and
SSPx_MISO pins.
Clock ratios
There is a constraint on the ratio of the frequencies of PCLK to SSPCLK. The frequency of
SSPCLK must be less than or equal to that of PCLK. This ensures that control signals from
the SSPCLK domain to the PCLK domain are certain to get synchronized before one frame
duration:
FSSPCLK <= FPCLK.
In the slave operation, the SSPCLKIN signal from the external master is double
synchronized and then delayed to detect an edge. It takes three SSPCLKs to detect an edge
on SSPCLKIN. SSPTXD has less setup time to the falling edge of SSPCLKIN on which the
master is sampling the line. The setup and hold times on SSPRXD with reference to
SSPCLKIN must be more conservative to ensure that it is at the right value when the actual
sampling occurs within the SSPMS. To ensure correct device operation, SSPCLK must be at
least 12 times faster than the maximum expected frequency of SSPCLKIN.
Table 69.
External CS selection
GPIODATA register bit [7]
output value
GPIODATA register bit [6]
output value
External slave select pin
0
0
SSP0_SS0
0
1
SSP0_CS2
1
0
SSP0_CS3
1
1
SSP0_CS4



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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