Nonlinear dynamics in a photonic integrated circuit for fast chaos generation