Does the TWR-K64F120M have an output pin that I can toggle based on the programmable delay block (PDB) counter? I would like to pulse a digital output each time the PDB triggers a DAC channel, e.g.
----------------------------------------------------------------------------------------------------------------------- Note: If this post answers your question, please click the Correct Answer button. Thank you! -----------------------------------------------------------------------------------------------------------------------
You can use the PDB DMA source (DMAMUX0_CHCFG_SOURCE_PDB 48) to trigger a transfer of a fixed value to a port toggle register to cause any GPIO output to change state each time the PDBIF flag is set (it can then not be used to generate an interrupt although the DMA transfer interrupt can be used instead if both DMA and interrupt are needed).