Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > cy7c67200 transmission problem

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



cy7c67200 transmission problem
Moderator:
RSKV

Post Reply
Follow this topic



cy7c67200 transmission problem

BSonel posted on 10 Sep 2012 11:08 PM PST
Member
3 Forum Posts

Hello

I am using cy7c67200 as a full speed host controller to communiate with GSM modem.

Host is working in co-processor mode and communicating with master CPU via HPI. 
 

TD_ListDone Interrupt is used inform master CPU of transfer completion. 

Most of the time the transmission is fine, but several times a day master CPU informs, that transmission was lost. I took a closer look at this issue using oscilloscope. I revealed that the Host stops generating TD_ListDone interrupt (which isn't disabled in any way in program, also suspend mode is not used). When reading Endpoint Status Register after failure, there is only a NAK bit set (which is OK, beacuse most of the time modem doesn't have data to transfer).

My driver supports error recovery. but new transmission are initialised in TD_ListDone ISR, so when if it fails, whole transmission stops.  Communication is only using Bulk Endpoints and there are no transmission-free time intervals, it;s running all the time. 

Why the Host stops genrating these interrupts ? I cannot find a valid reason for this beahaviour, is it rather software (driver code, wrong host settings) or hardware problem (device hangs bus or sth.) ?


 


 




Re: cy7c67200 transmission problem

BSonel posted on 14 Sep 2012 04:37 AM PST
Member
3 Forum Posts

 I am attaching some oscillograms, showing transmision being lost.

Channel 1 (Yellow) - HPI_INT line from EZ-OTG to main MCU,

Channel 4 (Green) - debug pin, set at the beggging of HPI_INT ISR, reset at the end,

M (Red) - differential USB bus signal.



Re: cy7c67200 transmission problem

BSonel posted on 20 Sep 2012 11:45 PM PST
Member
3 Forum Posts

I have found a reason behind transmission being lost. The EZ-OTG on-chip processor is resetting itself, but I dont the cause.

Watchdog timer disabled, reset line decoupled. Is it possible, that electromagnetic radiation from GSM modem antenna disturbs EZ-OTG chip operation ? Modem is located rather close to usb chip on pcb.



Re: cy7c67200 transmission problem

Gayathri posted on 20 Sep 2012 03:25 AM PST
Cypress Employee
428 Forum Posts

 Hi,

 

Please create a tech support case at www.cypress.com -> Support -> Technical Support -> Create a case. One of our engineers can assist you in this.

 

Regards,

Gayathri






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20