| 전자부품 데이터시트 검색엔진 |
|
HT16L21 데이터시트(PDF) 21 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT16L21 데이터시트(HTML) 21 Page - Holtek Semiconductor Inc |
|
21 / 36 page ![]() Rev. 1.00 21 November 16, 2011 HT16L21 SPI Serial Interface SPI Operation Thedevicealsoincludesa3-wireSPIserialinterface.TheSPIoperationsaredescribedasfollows: • TheCSBpinisusedtoactivatethedatatransfer.WhentheCSBpinisatahighlevel,theSPIoperationwillbe resetandstopped.IftheCSBpinchangesstatefromhightolow,datatransmissionwillstart. • ThedataistransferredfromtheMSBofeachbyteandisshiftedintotheshiftregisteroneachCLKrisingedge. • Theinputdataisautomaticallylatchedintotheinternalregisterforeach8-bitinputdataaftertheCSBsignal goeslow. • Forreadoperations,theMCUshouldassertahighpulseontheCSBpintochangethedatatransferdirection frominputmodetooutputmodeontheDIOpinaftersendingthecommandbyteandthesettingvalues.Ifthe MCUsetstheCSBsignaltoahighlevelagainafterreceivingtheoutputdata,thedatadirectionontheDIOpin willbechangedintoinputmodeandthereadoperationwillend. • Forareadoperation,thedataisoutputontheDIOpinattheCLKfallingedge. • FordisplayRAMdataread/writeoperationsusingtheSPIinterface,theread/writecontrolbitiscontainedin theDisplayDataInputCommand.RefertotheDisplayDataInputCommanddescriptionformoredetails. SPI Interface Write Operation Byte Write Operation • Single Command Type ASingleCommandwriteoperationisactivatedbytheCSBsignalgoinglow.The8-bitcommandbyteis shiftedfromtheMSBintotheshiftregisterateachCLKrisingedge. BIT7 CSB CLK DIO Command byte BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0 SPI Single Command Type Write Operation • Compound Command Type Foracompoundcommand,an8-bitcommandbyteisfirstshiftedintotheshiftregisterfollowedbyan8-bit commandsetting.NotethattheCLKhighpulsewidth,afterthecommandbytehasbeenshiftedin,must remainatthislevelforatleast2μsafterwhichthecommandsettingdatacanbeconsecutivelyshiftedin. CSB CLK DIO Command byte Command setting Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 2μs(min) Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit7 Bit0 Bit0 SPI Compound Command Type Write Operation |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |