[Fx2lib-devel] Bad GPIF Code
Status: Beta
Brought to you by:
mulicheng
From: Eric W. <er...@wi...> - 2009-03-09 22:56:56
|
Hi, I have noticed that my GPIF code created by GPIF Designer is not acting properly. I'm getting data sampled when I should be getting nothing. Attached is my GPIF designer file where I am trying to sample data from an imager using the frame valid and line valid signals as triggers. Also attached is a sample of what the imager output is like (ImageWaves.jpg). I have PIXCLK feeding IFCLK, FRAME_VALID (FV) feeding RDY0, LINE_VALID (LV) feeding RDY1, and the data attached to FD[7:0]. I can get valid data sampled through the GPIF, but I am also getting non-data sampled from when FV and or LV is not active. Here are two cuts of imager data from Cyconsole: 0180 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 0190 10 10 10 10 10 10 10 10 10 10 10 FF 00 00 80 85 01A0 84 7D 84 85 83 7D 83 86 82 7E 82 86 83 7E 84 88 And 00A0 7F 7E 85 7F 7F 7E 85 7E 80 7D 84 7E 80 7D 85 7C 00B0 81 7D 82 7E 80 7E FF 00 00 9D 10 10 10 10 10 10 00C0 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 The data following F0 00 00 80 and preceding F0 00 00 9D is valid imager data, 10 is the default imager output when FV and or LV is not active. FF 00 00 80 is start of line, FF 00 00 9D is end of line. No matter what I have tried I keep getting data sampled when FV and or LV is low. I am working with the 56 pin CY7C68014A so I do not have access to the GSTATE bits for debug. I would appreciate it if anyone could help me out. Thanks, Eric Winsor |