DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

AT91SAM9G46B-CU 查看數據表(PDF) - Atmel Corporation

零件编号
产品描述 (功能)
生产厂家
AT91SAM9G46B-CU
Atmel
Atmel Corporation 
AT91SAM9G46B-CU Datasheet PDF : 1277 Pages
First Prev 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 Next Last
52.3.9 USB High Speed Host Port (UHPHS) and Device Port (UDPHS)
52.3.9.1 UHPHS/UDPHS: USB Does Not Start after Power-up
The USB may not start properly at first use after power-up.
Booting out of the internal ROM fixes this issue because the workaround below is applied in the ROM Code.
Problem Fix/Workaround
There are two possible workarounds:
1. Apply a hardware reset (NRST) after power-up
or:
2. Activate the PLLUTMI twice, following the procedure below:
a. Start The UTMI PLL an wait for the PLL lock bit
b. Disable the UTMI PLL and wait 10 µ seconds minimum
c. Restart the UTMI PLL and wait for the PLL Lock bit
Below is a possible implementation of the workaround:
/* First enable the UTMI PLL */
AT91C_BASE_PMC->CKGR_UCKR |= (AT91C_CKGR_UCKR_PLLCOUNT & (0x3 << 20)) |
AT91C_CKGR_UCKR_UPLLEN;
tmp =0;
while (((AT91C_BASE_PMC->PMC_SR & AT91C_PMC_SR_LOCKU) == 0) && (tmp++ <
DELAY));
/* Disable the PLLUTMI and wait 10µs min*/
AT91C_BASE_PMC->CKGR_UCKR &= ~AT91C_CKGR_UCKR_UPLLEN;
tmp = 0;
while(tmp++ < DELAY2); // DELAY2 must be defined to fit the 10 µs min;
/* Re- enable the UTMI PLL and wait for the PLL lock status*/
AT91C_BASE_PMC->CKGR_UCKR |= (AT91C_CKGR_UCKR_PLLCOUNT & (0x3 << 20)) |
AT91C_CKGR_UCKR_UPLLEN;
tmp =0;
while (((AT91C_BASE_PMC->PMC_SR & AT91C_PMC_SR_LOCKU) == 0) && (tmp++ <
DELAY));
SAM9G46 Series [DATASHEET]
Atmel-11028G-ATARM-SAM9G46-Datasheet_08-Dec-15
1259

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]