XE8806A SEMTECH [Semtech Corporation], XE8806A Datasheet - Page 120

no-image

XE8806A

Manufacturer Part Number
XE8806A
Description
Ultra Low-Power Low-Voltage
Manufacturer
SEMTECH [Semtech Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
XE8806AMI026TLF
Manufacturer:
MAXIM
Quantity:
230
Part Number:
XE8806AMI026TLF
Manufacturer:
Semtech
Quantity:
10 000
16.7 Interrupts or polling
In receive mode, there are two possibilities to detect condition 1 or 2: the detection of the condition can generate
an interrupt or the registers can be polled (reading and checking the RegUsrtCond1 and RegUsrtCond2 registers
for the status of USRT communication).
16.8 Function description
The bit UsrtEnable in RegUsrtCtrl is used to enable the USRT interface and controls the PB[4] and PB[5] pins.
This bit puts these two port B lines in the open drain configuration requested to use the USRT interface.
If no external pull-ups are added on PB[4] and PB[5], the user can activate internal pull-ups by setting PBPullup[4]
and PBPullup[5] in RegPBPullup.
The bits UsrtEnWaitS0, UsrtEnWaitCond1, UsrtWaitS0 in RegUsrtCtrl are used for transmitter/receiver control
of USRT interface.
Figure 16-3 shows the unconditional clock stretching function which is enabled by setting UsrtEnWaitS0.
When UsrtEnWaitS0 is 1, the S0 line will be maintained at 0 after its falling edge (clock stretching). UsrtWaitS0 is
then set to 1, indicating that the S0 line is forced low. One can release S0 by writing to the RegUsrtBufferS1
register.
The same can be done in combination with condition 1 detection by setting the UsrtEnWaitCond1 bit. Figure 16-4
shows the conditional clock stretching function, which is enabled by setting UsrtEnWaitCond1.
© Semtech 2006
S0
UsrtWaitS0
write Reg UsrtBufferS1
Figure 16-3: S0 Stretching (UsrtEnWaitS0=1)
16-5
XE8806A/XE8807A
www.semtech.com

Related parts for XE8806A