Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Problems with 26MHz Clock and maybe old stepping

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



Problems with 26MHz Clock and maybe old stepping
Moderator:
RSKV

Post Reply
Follow this topic



Problems with 26MHz Clock and maybe old stepping

diwo posted on 03 Jan 2013 2:23 AM PST
Member
6 Forum Posts

First of all I wanted to wish everyone here a happy new year!

However new year -> new problems!

I have got my board with the FX3 now and have detected a problem with the clock or the UART baudrate.

I am using a 26MHz clock and not a 19,2 MHz crystal. The FSLC-Pins are "101" as described in the datasheet. I can load software to the FX3 via USB and via J-Link Debugger.

However the UART does not work, because the baudrate is not correct. It should be 115200 Baud but it is 156000 Baud (measured with a scope). This is 115200 * (26/19.2). This looks like the baudrate is calculated on a 19.2MHz base.

To find a solution, I have modified the startup code a little bit to:

 

CyU3PSysClockConfig_t clkCfg;
uint32_t sysclk;
CyU3PPartNumber_t partnumber;

/* Initialize the device */
 

clkCfg.setSysClk400 = CyTrue;
clkCfg.cpuClkDiv = 2;
clkCfg.dmaClkDiv = 2;
clkCfg.mmioClkDiv = 2;
clkCfg.useStandbyClk = CyTrue;
clkCfg.clkSrc = CY_U3P_SYS_CLK;

status = CyU3PDeviceInit (&clkCfg);
if (status != CY_U3P_SUCCESS)
{
    goto handle_fatal_error;
}

status = CyU3PDeviceGetSysClkFreq (&sysclk);
if (status != CY_U3P_SUCCESS)
{
    goto handle_fatal_error;
}
 
partnumber = CyU3PDeviceGetPartNumber();

 

However this makes no difference to CyU3PDeviceInit (NULL).

The CyU3PDeviceGetSysClkFreq returns a SysClock of 403.2 MHz. This should be 416 MHz with a 26 MHz clock. Looks like the configuration pins are not detected correctly, but I have checked them several times.

At least the partnumber is returned correctly as CYPART_USB3014.

I have also a problem with the default VID/PID of the part. This is not 04B4/00F3 but 1480/0000. I have found an article that this is the case with an old revision of the chip. As mentioned, I have modified the Inf-File for this VID/PID. Though my board is pretty new, the chips seem to be pretty old. They are labeled:
 
CYUSB3014-BZX
I      1149
A    33 PHI
CYP657132

Do I have to expect other problems with this revision? When I am ordering new chips, how can I find out, that I get actual parts?




Re: Problems with 26MHz Clock and maybe old stepping

RSKV posted on 16 Jan 2013 11:20 PM PST
Cypress Employee
655 Forum Posts

Hi Diwo,

I missed your post some how....

Date code on the chip indicates that it is from a older lot.

This one is expected to have some problems. So it is better to get a new one. You should be getting the newer one with production quality from Cypress if you order it now.

Now I think you can order free samples from Cypress and replace the one on the board.

Thanks,

sai kirshna.



Re: Problems with 26MHz Clock and maybe old stepping

RSKV posted on 16 Jan 2013 12:02 AM PST
Cypress Employee
655 Forum Posts

FYI,

FX3 chips with date code any later than 1201 are of production quality, Rev D.

Regards,

Sai Krishna.






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.