result from TSI_DATA register,store it to other memory space and then refresh the TSI
scan channel index(TSI_DATA[TSICH]) for next loop. When DMA transfer is done,
TSI_GENCS[EOSF] is cleared automatically.
48.5.11 Out-of-range interrupt
If enabled, TSI will scan the electrode specified by TSI_DATA[TSICH] as soon as the
trigger arrives. The TSI_GENCS[OUTRGF] flag generates a TSI interrupt request if the
TSI_GENCS[TSIIE] bit is set and GENCS[ESOR] bit is cleared. With this configuration,
after the end-of-electrode scan, the electrode capacitance will be converted and stored to
the result register TSI_DATA[TSICNT], the out-of-range interrupt is only requested if
there is a considerable capacitance change defined by the TSI_TSHD. For instance, if in
low power mode the electrode capacitance does not vary, the out-of-range interrupt does
not interrupt the CPU. This interrupt will not happen in noise detection mode. It is worthy
to note that when the counter value reaches 0xFFFF is treated as an extreme case the out-
of-range will not happen. Also in noise detection mode, the out-of-range will not assert
either.
48.5.12 Wake up MCU from low power modes
In low power modes, once enabled by TSI_GENCS[STPE] and TSI_GENCS[TSIIE],
TSI can bring MCU out of its low power modes(STOP, VLPS, etc) by either end of scan
or out of range interrupt, that is, if TSI_GENCS[ESOR] is set, end of scan interrupt is
selected and otherwise, out of range is selected.
48.5.13 DMA function support
Transmit by DMA is supported only when TSI_DATA[DMAEN] is set. A DMA transfer
request is asserted when all the flags based on TSI_GENCS[ESOR] settings and
TSI_GENCS[TSIIE] are set. Then the on-chip DMA controller detects this request and
transfers data between memory space and TSI register space. After the data tranfer, DMA
DONE is asserted to clear TSI_GENCS[EOSF] automatically. This function is normally
used by DMA controller to get the conversion result from TSI_DATA[TSICNT] upon a
end-of-scan event and then refresh the channel index(TSI_DATA[TSICH]) for next
trigger.
Functional description
Kinetis KE1xZ256 Sub-Family Reference Manual, Rev. 3, 07/2018
1306
NXP Semiconductors
Summary of Contents for Kinetis KE1xZ256
Page 2: ...Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 2 NXP Semiconductors...
Page 178: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 178 NXP Semiconductors...
Page 356: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 356 NXP Semiconductors...
Page 410: ...Interrupts Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 410 NXP Semiconductors...
Page 604: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 604 NXP Semiconductors...
Page 634: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 634 NXP Semiconductors...
Page 674: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 674 NXP Semiconductors...
Page 820: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 820 NXP Semiconductors...
Page 1030: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1030 NXP Semiconductors...
Page 1052: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1052 NXP Semiconductors...
Page 1066: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1066 NXP Semiconductors...
Page 1268: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1268 NXP Semiconductors...
Page 1314: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1314 NXP Semiconductors...
Page 1316: ...Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1316 NXP Semiconductors...