SCPS286 July 2025 TPLD2001
ADVANCE INFORMATION
The TPLD2001 has six 8-bit and two 16-bit counters/delay generators, supporting a maximum DATA value of 255 and 65535, respectively. The counter count can be read and the data can be updated in-system using the User Registers. When reading the current count, two consecutive read transactions are required for accurate data read. It is recommended to put the counter in a reset state when updating the counter data registers to prevent glitches during loading of the data. Two clock pulses are required to release the counter from reset after writing new counter data.
For further flexibility, the clock source for each of these macro-cells can be configured as the internal oscillator (OSC0, OSC1, or OSC2), a divided clock derived from an oscillator (OSC0/8, /64, /512, /4096, /32768, /262144, or OSC1/8, /64, /512, or OSC2/4), or an external clock source coming from the connection mux. Note that the counter/delay macro-cell is rising edge triggered, that is the counter will decrement on the rising edge of the CLK input.
For unused counter macro-cells, set the clock selection (CLK_SEL) to External CLK from CMX to reduce excess current draw.
Users may use the counter/delay generator macro-cell in the following modes: delay, one-shot, frequency comparator, counter, edge detector, delayed edge detector.