Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
IFCLK (internal/external) - Design aspects to considers
Question: What are the design aspects that need to be considered when using IFCLK (internal/external)
1. Please check if the external IFCLK source is present before the firmware sets IFCONFIG.7 = 0. This is necessary in order to provide synchronization for the internal endpoint FIFO logic. IFCLK should be free running.
2. In your fw.c file,
replace #define _IFREQ 48000
#define _IFREQ “your IFCLK frequency in KHz units”
# define _IFREQ 12000 //here the IFCLK frequency is 12MHz
This macro has to be placed before you include
This is because the SYNCDELAY calculations include the IFCLK value and an incorrect IFCLK value will give an incorrect synchronization delay.
3. Check if the slwr/slrd and data are meeting the setup and hold time requirements with respect to IFCLK