FX3 Freeze on GPIF External Clock Settings Data Flowing Without Running

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
cnlohr
Level 3
Level 3
10 replies posted 10 sign-ins 5 replies posted

I have a basic setup working great with the FX3 when operating in synchronous master mode with internal clock settings.  But, my data source always has the clock running from the start, so PCLK is always receiving a clock and data.

GPIF Settings:

(Master/Slave) Either causes crash
(Synchronous)
(External Clock)

The moment the GPIF bus is loaded, the processor freezes.  Sometimes it gets as far as calling a `CYU3P_PIB_INTR_DLL_UPDATE` before freezing.  It's always after load.  I've tried springboarding into a loop of DATA_IN that doesn't actually write the data but nothing I do seems to prevent the device from freezing except discontinuing the clock.

Is there a way to suppress the PCLK pin until everything else is setup and ready to roll, like the state machine is started?  Or anything else I can do to prevent the chip from seizing up when unsolicited data is flowing in?

BTW - as soon as I switch around to internal clock writing out, everything works 100% as expected.

0 Likes
10 Replies