2.1.3 Linking LUTs

Linking LUTs means taking the output of one LUT and using it as an input on another LUT. By doing this, it is possible to solve logical expressions with up to five inputs using two LUTs. LUTn can only LINK to LUTn+1 and the last LUT can LINK to the first LUT. The LUT output of LUTn can be linked to any of the inputs of the other LUTn+1. When creating the truth table to determine what needs to be written in the TRUTH register for each LUT, the truth tables for both LUTs may be done as if the LUTs were not linked.

Figure 2-12. Linking LUTs

In Atmel Start it is possible to find application notes and code examples using CCL and linked LUTs.

  • Quadrature Decoding using CCL with TCA and TCB