- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using CX3 based custom board, I have written my firmware image in SPI flash and my board is enumerating as a device in SPI boot mode. But image streaming is not being done(getting black screen).
My DMA and timer getting restarted continuously. I followed this KBA and changed the timer period and I increased the DMA buffer size. Still I am unable to get image in AMCap or Camera app.
Please find the below log for your reference.
Can you help me in this regard?
Thank you,
Shafi.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Shafi,
The progress timer usually overflows when the sensor is not sending data to CX3. Again, it depends on the places where you have actually called the API CyU3PTimerStart (). Can you please probe the FV, LV and PCLK testpoints on CX3 and share the traces with us so that we can have a check.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Can you please share the source code with us for checking? Based on your description and UART logs, I understand that the timer overflowed. But, the below KBA is for commitbuffer failures:
https://community.infineon.com/t5/Knowledge-Base-Articles/FX3-Error-in-CyU3PDmaMultiChannelCommitBuf...
Please confirm if the failure seen is due to timer overflow or commitbuffer failure so that we can debug the issue further.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Sorry I can't share my code but I have found that the reset is not because of commitbuffer failure. I think it is because of timer overflow. Can you tell me how to solve this?
Thank you,
Shafi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Shafi,
The progress timer usually overflows when the sensor is not sending data to CX3. Again, it depends on the places where you have actually called the API CyU3PTimerStart (). Can you please probe the FV, LV and PCLK testpoints on CX3 and share the traces with us so that we can have a check.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jayakrishna,
Now, I am able to stream images with my custom board. The issue was, one particular power rail was not powered up properly.
Thank you for your help,
Shafi.