Overview
C-2
C.1
Overview
DSP/BIOS has been enhanced to provide seamless support for the core
timers and Level 2 Interrupt Controller (L2IC) present within the OMAP
2320. The CLK module functionality is now driven by the core timers. The
HWI module APIs can define and manipulate level 2 interrupts in addition
to level 1 interrupts.
The OMAP 2320 is part of a series of next generation "OMAP 4" devices.
This series encompasses the 23xx and 24xx devices.
C.2
OMAP 2320 and the CLK Module
Changes and enhancements have been made to the DSP/BIOS CLK
module to enable the use of OMAP 2320 core timers. The OMAP 2320
has 2 core timers, which can be use to drive the low- and high- resolution
DSP/BIOS clock functionality.
C.2.1
Static Configuration
By default, the low-resolution CLK function (see CLK_getltime) is
enabled and assigned to core Timer 0. Alternately, you can configure
Timer 1 for this function. To change the configuration, add the following
line to your Tconf configuration file:
bios.CLK.TIMERSELECT = "Timer 1"; // "Timer 0" or "Timer 1"
You can disable the low-resolution CLK function using the following
Tconf script commands:
bios.CLK.ENABLECLK = 0;
bios.PRD.USECLK = 0;
By default, the high-resolution CLK function (see CLK_gethtime) is
enabled and derived from the low-resolution timer. You can disable this
function with the following configuration script command:
bios.CLK.ENABLEHTIME = 0; // 0 (disabled) or 1 (enabled)