Silicon Laboratories SI4421 manual Si4421 INTERRUPT HANDLING

Page 28
Si4421

Si4421

INTERRUPT HANDLING

In order to achieve low power consumption there is an advanced event handling circuit implemented. The device has a very low power consumption mode, so called sleep mode. In this mode only a few parts of the circuit are working. In case of an event, the device wakes up, switches into active mode and an interrupt signal generated on the nIRQ pin to indicate the changed state to the microcontroller. The cause of the interrupt can be determined by reading the status word of the device (see Status Read Command, page 27).

Several interrupt sources are available:

RGIT – TX register empty interrupt: This interrupt generated when the transmit register is empty. Valid only when the el (enable internal data register) bit is set in the Configuration Setting Command (page 15), and the transmitter is enabled in the Power Management command.

FFIT – the number of bits in the RX FIFO reached the preprogrammed level: When the number of received data bits in the receiver FIFO reaches the threshold set by the f3…f0 bits of the FIFO and Reset Mode Command (page 20) an interrupt is fired. Valid only when the ef (enable FIFO mode) bit is set in the Configuration Setting Command and the receiver is enabled in the Power Management Command (page 15).

POR – power on reset interrupt: An interrupt generated when the change on the VDD line triggered the internal reset circuit or a software reset command was issued. For more details, see the Reset Modes section (page 34).

RGUR – TX register under run: The automatic baud rate generator finished the transmission of the byte in the TX register before the register write occurred. Valid only when the el (enable internal data register) bit is set in the Configuration Setting Command and the transmitter is enabled in the Power Management command.

FFOV – FIFO overflow: There are more bits received than the capacity of the FIFO (16 bits). Valid only when the ef (enable FIFO mode) bit is set in the Configuration Setting Command and the receiver is enabled in the Power Management command

WKUP wake-up timer interrupt: This interrupt event occurs when the time specified by the Wake-Up Timer Command (page 25) has elapsed. Valid only when the ew bit is set in the Power Management Command.

EXT – external interrupt: Follows the level of the nINT pin if it is configured as an external Interrupt pin in the Receiver Control Command (page 17, p16 bit is cleared).

LBD – low battery detector interrupt: Occurs when the VDD goes below the programmable low battery detector threshold level (v3…v0 bits in the Low Battery and Microcontroller Clock Divider Command, page 26). Valid only when the eb (enable low battery detector) bit is set in the Power Management Command.

If any of the sources becomes active, the nIRQ pin will change to logic low level, and the corresponding bit in the status byte will be HIGH.

Clearing an interrupt actually implies two things:

Releasing the nIRQ pin to return to logic high

Clearing the corresponding bit in the status byte

This may be completed with the following interrupt sources:

RGIT: both the nIRQ pin and status bit remain active until the register is written (if under-run does not occur until the register write), or the transmitter and the TX latch are switched off.

FFIT: both the nIRQ pin and status bit remain active until the FIFO is read (a FIFO IT threshold number of bits have been read), the receiver is switched off, or the RX FIFO is switched off.

POR: both the nIRQ pin and status bit can be cleared by the read status command

RGUR: this bit is always set together with RGIT; both the nIRQ pin and the status bit remain active until the transmitter and the TX latch is switched off.

FFOV: this bit is always set together with FFIT; it can be cleared by the status read command, but the FFIT bit and hence the nIRQ pin will remain active until the FIFO is read fully, the receiver is switched off, or the RX FIFO is switched off.

WKUP: both the nIRQ pin and status bit can be cleared by the read status command

EXT: both the nIRQ pin and status bit follow the level of the nINT pin

LBD: the nIRQ pin can be released by the reading the status, but the status bit will remain active while the VDD is below the threshold.

28

Image 28
Contents FUNCTIONAL BLOCK DIAGRAM FEATURESDESCRIPTION TYPICAL APPLICATIONSDETAILED FEATURE-LEVELDESCRIPTION RF Power Amplifier PAData Filtering and Clock Recovery Si4421Low Battery Voltage Detector Wake-UpTimerData Validity Blocks Crystal OscillatorSi4421 PACKAGE PIN DEFINITIONS NameType FunctionSi4421 Internal Pin ConnectionsName Internal connectionPIN6 Logic Diagram FSK / DATA / nFFS PIN10 Logic Diagram nRES I/ONote These pins can be left floating Si4421Si4421 Typical ApplicationRecommended supply decoupling capacitor values Pin Function vs. Operation ModeAbsolute Maximum Ratings non-operating Si4421 GENERAL DEVICE SPECIFICATIONSRecommended Operating Range DC Characteristics ELECTRICAL SPECIFICATIONSi4421 AC Characteristics Receiver AC Characteristics PLL parametersSi4421 Si4421 AC Characteristics TransmitterAC Characteristics Turn-on/Turnaroundtimings AC Characteristics OthersSi4421 Note 10 By designTiming Specification Si4421 CONTROL INTERFACETiming Diagram Control Register Default Values Control CommandsSi4421 Description of the Control Commands Configuration Setting Command2. Power Management Command Si4421Logic connections between power control bits Si4421Frequency Setting Command 4. Data Rate Command5. Receiver Control Command Si4421VDI Logic Diagram Si44216. Data Filter Command Si44217.FIFO and Reset Mode Command Si44218. Synchron Pattern Command 9. Receiver FIFO Read Command10. AFC Command Si4421Si4421 Bit 5-4rl1 to rl0Frequency Setting Command 11. TX Configuration Control CommandSi4421 12. PLL Setting Command 13. Transmitter Register Write CommandSi4421 15.Low Duty-CycleCommand 14. Wake-UpTimer CommandSi4421 Vlb= 2.25 + V · 0.1 V Clock divider configuration Si4421Si4421 17. Status Read CommandBit Name Si4421 INTERRUPT HANDLING TX REGISTER BUFFERED DATA TRANSMISSION Si4421Si4421 Typical TX register usageSi4421 RX FIFO BUFFERED DATA READ RECOMMENDED PACKET STRUCTURESSi4421 CRYSTAL SELECTION GUIDELINES Bit Rate 2.4 kbpsBit Rate 9.6 kbps Bit Rate 38.4 kbpsSi4421 RX-TXALIGNMENT PROCEDURES Si4421 RESET MODES Sensitive Reset Enabled, Ripple on Vdd FIFO and Reset Mode Command pageSW Reset Command Si4421Si4421 TYPICAL PERFORMANCE CHARACTERISTICS Channel Selectivity and BlockingBER Curves in 433 MHz Band Si4421BER Curves in 868 MHz Band Si4421 434 MHzSi4421 REFERENCE DESIGNS SchematicsEvaluation Board with 50 Ohm Matching Network Frequency Dependent Component ValuesSi4421 PCB Layout Top View Bottom ViewSchematics Si4421Evaluation Board with Resonant PCB Antenna BIFA Frequency Dependent Component ValuesPCB Layout Antenna designed for 868/915 MHz band Si4421Top View Bottom View 16-pinTSSOP Si4421 PACKAGE INFORMATIONSee Detail “A” Section B-B RELATED PRODUCTS AND DOCUMENTS Si4421 Universal ISM Band FSK TransceiverDemo Boards and Development Kits Related ResourcesSi4421