How is dynamic mode switching achieved in CY8CLEDAC03x?

Question: How is dynamic mode switching achieved in CY8CLEDAC03x?

 

Answer:

 

The CY8CLEDAC03x can seamlessly switch between all operating modes:

1. It can switch between LE and LEZPC, or TE and TEZPC modes based on presence or absence of phase cut on a cycle-by-cycle basis.

2. It can switch from LE or LEZPC to TE mode and TE or TEZPC to LE mode if it detects a clear signature of the other type of phase cut for approximately 16 consecutive AC half-cycles. It waits 16 AC half-cycles to avoid random dimmer detect switching due to dimmer misbehavior or noise. This allows for mode switching only if the dimmer has genuinely changed its mode of operation.