| Electronic Components Datasheet Search |
|
HT46RB50 Datasheet(PDF) 23 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46RB50 Datasheet(HTML) 23 Page - Holtek Semiconductor Inc |
|
23 / 53 page ![]() HT46RB50 Rev. 1.20 23 November 1, 2006 Serial Interface Serial interface function has four basic signals included. They are SDI (serial data input), SDO (serial data output), SCK (serial clock) and SCS (slave select pin). Note: SCS can be named SCS in the design note. D 7 / D 0 D 6 / D 1 D 5 / D 2 D 4 / D 3 D 3 / D 4 D 2 / D 5 D 1 / D 6 D 0 / D 7 S D O D 7 / D 0 D 6 / D 1 D 5 / D 2 D 4 / D 3 D 3 / D 4 D 2 / D 5 D 1 / D 6 D 0 / D 7 S D I C L K S C S S B C R D E F A U L T S B D R D E F A U L T N o t e : " U " m e a n s u n c h a n g e d . C K S M 1 M 0 S B E N M L S C S E N W C O L T R F D 7 D 6 D 5 D 4 D 3 D 2 D 1 D 0 0 1 1 0 0 0 0 0 D 7 D 6 D 5 D 4 D 3 D 2 D 1 D 0 U U U U U U U U S B C R : S E R I A L B U S C O N T R O L R E G I S T E R S B D R : S E R I A L B U S D A T A R E G I S T E R Two registers (SBCR and SBDR) unique to serial inter- face provide control, status, and data storage. · SBCR: Serial bus control register Bit7 (CKS) clock source selection: fSIO=fSYS/4, select as 0 Bit6 (M1), Bit5 (M0) master/slave mode and baud rate selection M1, M0: 00 ® MASTER MODE, BAUD RATE= fSIO 01 ® MASTER MODE, BAUD RATE= fSIO/4 10 ® MASTER MODE, BAUD RATE= fSIO/16 11 ® SLAVE MODE · Bit4 (SBEN) ® serial bus enable/disable (1/0) ¨ Enable: (SCS dependent on CSEN bit) Disable ® enable: SCK, SDI, SDO, SCS=0 (SCKB= ²0²) and waiting for writing data to SBDR (TXRX buffer) Master mode: write data to SBDR (TXRX buffer) start transmission/reception automatically Master mode: when data has been transferred, set TRF Slave mode: when an SCK (and SCS dependent on CSEN) is received, data in TXRX buffer is shifted-out and data on SDI is shifted-in. ¨ Disable: SCK (SCK), SDI, SDO, SCS floating Bit3 (MLS) ® MSB or LSB (1/0) shift first control bit Bit2 (CSEN) ® serial bus selection signal en- able/disable (SCS), when CSEN=0, SCSB is float- ing. Bit1 (WCOL) ® this bit is set to 1 if data is written to SBDR (TXRX buffer) when data is transferred, writing will be ignored if data is written to SBDR (TXRX buffer) when data is transferred. Bit0 (TRF) ® data transferred or data received used to generate an interrupt. Note: data receiving is still working when the MCU enters HALT mode. · SBDR: Serial bus data register Data written to SBDR ® write data to TXRX buffer only Data read from SBDR ® read from SBDR only Operating Mode description: Master transmitter: clock sending and data I/O started by writing SBDR Master clock sending started by writing SBDR Slave transmitter: data I/O started by clock received Slave receiver: data I/O started by clock received |
|
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 |
| 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 |