- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I used Serial interface using GPIF II .
I connected two boards back to backand connect pin15 and pin14 by a jumper. one board send data out and another one recieve it.
I did another test : I send constant data(x0EF) by streamer EP 0x01, and tried to get it in another streamer EP 0x81, it has shift by each stop and start in bulk in streamer: 0xbf, 0xfd, 0xfe, 0xef, 0x7f, 0xf7,.... and it goes to zero even when I don't sent anything. it is WORD_SIZE based and all time it takes zeros as data.I want data after SOF. But when I change bi8:9 (sof to sof - sof to eof) in CY_U3P_PIB_GPIF_SERIAL_IN_CONFIG , I got error 997.
My questions are:
1- How can I get stream data without shift(Synchronized with SOF)?
2- How can I receive whatever that i sent(data with each SOF), not more than that?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please test the attached firmware
usbtogpif - FX3 Transmitter
gpiftousb - FX3 Receiver
Hardware setup
The results will be as follows
Bulk OUT from transmitter
Bulk IN from reciever
Please check at your end and let me know the results
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please share the configuration settings of the following registers so that i can reproduce the same at my end (shifting problem on every start and stop)
1) CY_U3P_PIB_GPIF_CONFIG
2) CY_U3P_PIB_GPIF_SERIAL_IN_CONFIG */
3) CY_U3P_PIB_GPIF_SERIAL_OUT_CONFIG
Please mention the settings for both the firmware running on two FX3.
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
for serial input:
0x8000C380, /* CY_U3P_PIB_GPIF_CONFIG */
0x00007C83, /* CY_U3P_PIB_GPIF_SERIAL_IN_CONFIG */
0x00001F82, /* CY_U3P_PIB_GPIF_SERIAL_OUT_CONFIG */
for serial output:
0x8000C380, /* CY_U3P_PIB_GPIF_CONFIG */
0x00007c82, /* CY_U3P_PIB_GPIF_SERIAL_IN_CONFIG */
0x00001F83, /* CY_U3P_PIB_GPIF_SERIAL_OUT_CONFIG */
By these setting, I get shifted data.
and for serial input, when I change CY_U3P_PIB_GPIF_SERIAL_IN_CONFIG = 0x00007D83 to get SOF to SOF, I get error 997.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
As per the last response in thread Re: Serial IN Interface in GPIF II i will update you on the sof-sof settings as i am able to reproduce the same at my end
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content