| Electronic Components Datasheet Search |
|
IC-GF Datasheet(PDF) 19 Page - IC-Haus GmbH |
|
|
|||||||||||||||||||||||||||||
IC-GF Datasheet(HTML) 19 Page - IC-Haus GmbH |
|
19 / 30 page ![]() iC-GF TRANSCEIVER Rev F1, Page 19/30 SPI MODE In SPI mode the iC-GF is configured and operated us- ing the on-chip registers. Additionally there is a status register, where chip events are logged. If any of the status bits is set to high, the low-active open-drain pin NDIAG is activated, e.g. for interrupt generation for mi- cro controllers. The SPI mode is activated when the pin INV1 is left open and the filter time (cf. Electrical Characteristic No. 614) has elapsed. This enables com- munication with the iC-GF via an SPI protocol using pins MISO, MOSI, SCLK and NCS. After power-up, the output switches remain at high impedance for ca. 50 ms. During this time, the SPI interface can be used to set the desired output configuration. Switch enable There are three different ways of enabling/disabling the output switches in SPI mode: pin mode, register mode and mixed mode. In pin mode (TXEN = "11") or register mode (TXEN = "00") the OEN pin acts as a common enable for both switching channels. The OEN regis- ter on the other hand enables or disables each switch separately. Switch enable OEN pin TXEN(1:0) OEN(1:0) Qx2 Qx1 0 00/11 XX disabled disabled 1 00/11 01 disabled enabled 1 00/11 10 enabled disabled 1 XX 11 enabled enabled X XX 00 disabled disabled 0 01 0X disabled disabled 0 01 1X enabled disabled 0 10 X0 disabled disabled 0 10 X1 disabled enabled 1 01 01 disabled enabled 1 01 10 enabled disabled 1 10 01 disabled enabled 1 10 10 enabled disabled Table 5: Switch enable, QCFGx =/ "00" In mixed mode (TXEN = "01" or "10") the OEN pin acts as an enable only for the channel for which the TXEN bit is set to "1". The OEN register enables or disables each switching channel separately. Table 5 summarises these configurations. Switch control Each switch can be operated by the OUTD register or the input pin TX. The register TXEN selects register OUTD or the pin TX for switch control. A "0" in the register TXEN sets the corresponding switch to be controlled by the relevant bit of the register OUTD. TXEN(1:0) Addr. 0x00; bit (5:4) R/W 01 x0 Channel 1 controlled by OUTD(0) x1 Channel 1 controlled by TX 0x Channel 2 controlled by OUTD(1) 1x Channel 2 controlled by TX Table 6: Transmit enable OUTD(1:0) Addr. 0x00; bit (1:0) R/W 00 x0 Channel 1: push-pull low resp. high/low-side off x1 Channel 1: push-pull high resp. high/low-side on 0x Channel 2: push-pull low resp. high/low-side off 1x Channel 2: push-pull high resp. high/low-side on Table 7: Output data with INV = "00" Switch configuration The configuration of the switches is determined by the registers QCFG1 and QCFG2; either as high-side, low- side, push-pull or high impedance (disabled). QCFG1(1:0) Addr. 0x01; bit (5:4) R/W 11 00 disabled 01 low-side switch 10 high-side switch 11 push-pull Table 8: Switch configuration Channel 1 QCFG2(1:0) Addr. 0x01; bit (7:6) R/W 11 00 disabled 01 low-side switch 10 high-side switch 11 push-pull Table 9: Switch configuration Channel 2 INV inverts the corresponding switching channel. INV(1:0) Addr. 0x03; bit (5:4) R/W 00 x0 Switching channel 1 not inverted x1 Switching channel 1 inverted 0x Switching channel 2 not inverted 1x Switching channel 2 inverted Table 10: Invert Ouput Table 11 summarises the above configurations for chan- nel 1. |
|
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 |