CX3 State Diagram?

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

cross mob
GeLe_3002426
Level 1
Level 1
First question asked First solution authored First reply posted

Trying to debug a camera application and would be helpful if we had a state diagram.

As a base, we are using the example firmware SDK in: /cyfx3sdk/firmware/cx3_examples/cycx3_uvc_ov5640

Could somebody please confirm if the example application (cycx3_ov5640.c) has the same state diagram as that depicted at AN75779 (http://www.cypress.com/file/123506/download​)  pg 18?

I suspect not as the UART debug reports states greater than the 15 shown in this document.

Can somebody please post or provide this state diagram so that the community can work off this?

0 Likes
1 Solution
Anonymous
Not applicable

Please refer "section 1.9 Fixed-Function GPIF II Interface on CX3" of CX3 TRM. The CX3 TRM can be found at http://www.cypress.com/file/125181/download

View solution in original post

0 Likes
2 Replies
Anonymous
Not applicable

Please refer "section 1.9 Fixed-Function GPIF II Interface on CX3" of CX3 TRM. The CX3 TRM can be found at http://www.cypress.com/file/125181/download

0 Likes

Thanks - but still does not solve a few issues

A) the state diagram you linked is un-numbered. In reference to the diagram I linked, these are nearly identical, but with a few more states. Assume that these are the correct state numbers in AN75779?

B) Also, see some states that are not listed in the diagram - in this code:

CyU3PGpifGetSMState(&SMState);

CyU3PDebugPrint(4, "\n\rAplnStrt:SMState = 0x%x", SMState);

I get:

AplnStrt:SMState = 0x84

Where is this in the state diagram?

0 Likes