数据搜索系统,热门电子元器件搜索 |
|
HT37B90 数据表(PDF) 58 Page - Holtek Semiconductor Inc |
|
HT37B90 数据表(HTML) 58 Page - Holtek Semiconductor Inc |
58 / 80 page HT37B90/HT37B70/HT37B50/HT37B30 Rev.1.00 58 June22,2017 Clockpolarity=rising(SCK)orfalling(SCK):1or0(maskoption). Modes Operations Master 1. Select CKS andselectM1,M0=00,01,10 2. Select CSEN,MLS(thesameastheslave) 3. Set SBEN 4. Writingdatato SBDR ® dataisstoredin TXRX buffer ® output SCK (and SCS)signals ® goto step 5 ® (SIO internal operation ® data stored in TXRX buffer, and SDI data is shifted into TXRX buffer ® datatransferred,datain TXRX bufferislatchedinto SBDR) 5. Check WCOL; WCOL=1 ® clear WCOL andgotostep4; WCOL=0 ® gotostep6 6. Check TRF orwaitingfor SBI (serialbusinterrupt) 7. Readdatafrom SBDR 8. Clear TRF 9. Gotostep4 Slave 1. CKS don ¢tcareandselectM1,M0=11 2. Select CSEN,MLS(thesameasthemaster) 3. Set SBEN 4. Writing data to SBDR ® data is stored in TXRX buffer ® waiting for master clock signal (and SCS): SCK ® gotostep5 ® (SIO internaloperations ® SCK (SCS)received ® outputdatain TXRX buffer and SDI data is shifted into TXRX buffer ® data transferred, data in TXRX buffer is latched into SBDR) 5. Check WCOL; WCOL=1 ® clear WCOL,gotostep4; WCOL=0 ® gotostep6 6. Check TRF orwaitfor SBI (serialbusinterrupt) 7. Readdatafrom SBDR 8. Clear TRF 9. Gotostep4 OperationofSerialInterface WCOL: master/slave mode, set while writing to SBDR when data is transferring (transmitting or receiving) and this writing will then be ignored. WCOL function can be enabled/disabled by mask option. WCOL is set by SIO andclearedbyusers. Data transmission and reception are still working when the MCU enterstheHALT mode. CPOL is used to select the clock polarity of SCK. It is a maskoption. MLS:MSBor LSB firstselection. CSEN: chip select function enable/disable, CSEN=1 ® SCS signal function is active. Master should output SCS signal before SCL signal is set and slave data transfer- ring should be disabled (or enabled) before (after) SCS signal is received. CSEN= 0, SCS signal is not needed, SCS pin (master and slave) should be floating. CSEN has 2 options: CSEN mask option is used to enable/dis- able software CSEN function. If CSEN mask option is disabled, the software CSEN is always disabled. If CSEN mask option is enabled, software CSEN function canbeused. SBEN= 1 ® serial bus standby; SCS (CSEN= 1) = 1; SCS= floating (CSEN= 0); SDI= floating; SDO= 1; mas- ter SCK= output 1/0 (dependent on CPOL mask option), slave SCK=floating. SBEN= 0 ® serial bus disabled; SCS=SDO=1, SDI=SCK= floating in master mode, SDI=SDO=SCK= floating, SCS=1inslavemode. TRF is set by SIO and cleared by users. When data transfer (transmission and reception) is completed, TRF issettogenerate SBI (serialbusinterrupt). |
类似零件编号 - HT37B90 |
|
|
链接网址 |
隐私政策 |
ALLDATASHEETCN.COM |
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 |