Power Down Mode; Emulation - Texas Instruments TMS570LC4357 Technical Reference Manual

Tms570lc43 series 16/32-bit risc flash microcontrollers
Table of Contents

Advertisement

www.ti.com
18.2.10.6 Interrupt Offset Register
CRC Controller only generates one interrupt request to interrupt manager. A interrupt offset register is
provided to indicate the source of the pending interrupt with highest priority.
interrupt vector address of each interrupt condition in an ascending order of priority.
18.2.10.7
Error Handling
When an interrupt is generated, host CPU should take appropriate actions to identify the source of error
and restart the respective channel in DMA and CRC module. To restart a CRC channel, the user should
perform the following steps in the ISR:
1. Write to software reset bit in CRC_CTRL register to reset the respective PSA Signature Register.
2. Reset the CHx_MODE bits to 00 in CRC_CTRL register as Data capture mode.
3. Set the CHx_MODE bits in CRC_CTRL register to desired new mode again.
4. Release software reset.
The host CPU should use byte write to restart each individual channel.

18.2.11 Power Down Mode

CRC module can be put into power down mode when the power down control bit PWDN is set. The
module wakes up when the PWDN bit is cleared.

18.2.12 Emulation

A read access from a register in functional mode can sometimes trigger a certain internal event to follow.
For example, reading an interrupt offset register triggers an event to clear the corresponding interrupt
status flag. During emulation when SUSPEND signal is high, a read access from any register should only
return the register contents to the bus and should not trigger or mask any event as it would have in
functional mode. This is to prevent debugger from reading the interrupt offset register during refreshing
screen and cause the corresponding interrupt status flag to get cleared. Timeout counters are stopped to
generate timeout interrupts in emulation mode. No Peripheral Master bus error should be generated if
reading from the unimplemented locations.
SPNU563A – March 2018
Submit Documentation Feedback
Table 18-3. Interrupt Offset Mapping
Offset Value
0
1h
2h
3h-8h
9h
Ah
Bh-10h
11h
12h
13h-18h
19h
1Ah
1Bh-20h
21h
22h
23h-24h
Copyright © 2018, Texas Instruments Incorporated
Table 18-3
Interrupt Condition
Phantom
Ch1 CRC Fail
Ch2 CRC Fail
Reserved
Ch1 Compression Complete
Ch2 Compression Complete
Reserved
Ch1 Overrun
Ch2 Overrun
Reserved
Ch1 Underrun
Ch2 Underrun
Reserved
Ch1 Timeout
Ch2 Timeout
Reserved
Cyclic Redundancy Check (CRC) Controller Module
Module Operation
shows the offset
637

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS570LC4357 and is the answer not in the manual?

Table of Contents

Save PDF