-
Couldn't load subscription status.
- Fork 119
Open
Description
See below. The if condition is flipped so the frequency returned is the opposite of what you'd expect.
msdk/Libraries/PeriphDrivers/Source/SDHC/sdhc_me10.c
Lines 87 to 94 in ef6c81d
| unsigned int MXC_SDHC_Get_Input_Clock_Freq(void) | |
| { | |
| if (MXC_GCR->pclk_div & MXC_F_GCR_PCLK_DIV_SDHCFRQ) { | |
| return HIRC96_FREQ >> 1; // Div by 2 | |
| } else { | |
| return 50000000; // UG specifies a hard-coded 50Mhz low-power oscillator | |
| } | |
| } |
It's also a little weird that the definition is called HIRC96_FREQ , since it's actually 120Mhz if I'm not wrong.
Metadata
Metadata
Assignees
Labels
No labels