4.2.5.2. OSD Color Space
Bitmap images as well as external OSDs are passed to the OSD core in 8-bit RGB format. However, all video processing in the ADV8003
takes place in YCbCr. The OSD core features a CSC to enable conversion of the OSD data from RGB to YCbCr. The OSD core CSC can
convert into either full of limited range YCbCr.
4.2.6.
OSD Timers
ADV8003 OSD supports up to eight hardware timers. One of these timers (user-selectable in the OSD firmware) is used by the OSDTimer
component of Blimp OSD, which can be inserted within any OSD design (consult the Blimp OSD manual for a detailed description of how
to do this). Blimp OSD will automatically handle a number of OSD timers and will map all of them to one hardware timer. If the OSD
design flow with the Blimp OSD tool is followed, the user does not need to know any low-level details about the timers. However, since
they can also be used as general purpose system timers, its low-level functionality will be described in this section. Note that the HW
timer being used by Blimp OSD (user-selectable as mentioned) will not be available to be used as general purpose timer.
Any of these eight timers can trigger an interrupt on the INT0 pin. This interrupt can then be handled by the MCU, and the timer which
generated it can be found out by polling the timer registers.
These timers can be configured through the Timer register map. This map is only accessible through the SPI slave interface (address
0x0B). For more information on the SPI slave interface, refer to
below.
sys_clock_freq[23:0], SPI Device Address 0x0B (TIMER), Address 0x00[7:0]; Address 0x01[7:0]; Address 0x02[7:0]
System clock frequency, unit is KHz, the default value is 157.5 MHz.
Function
sys_clock_freq[23:0]
0x02673C
0xXXXXXX
This register is used to generate a 1 KHz pulse, which all eight timers are based on to measure a 1 ms interval. If the system clock
frequency is changed, this register can be changed to guarantee the 1 KHz accuracy. It is also possible to modify this register if a smaller
time interval than 1ms needs to be measured.
For example:
The default value of sys_clock_freq is 0x0278D0, that is, 162000 (162 MHz).
If it is changed to 16200, the minimum interval will be 0.1 ms.
If it is changed to 1620, the minimum interval will be 0.01ms.
timer1_enable, SPI Device Address 0x0B (TIMER), Address 0x03[0]
Timer 1 Enable
Rev. B, August 2013
Figure 76: OSD Menu Bar Component
Description
Default
System Clock Frequency
Section
4.2.8.2. The registers used to configure the timers are described
213
ADV8003 Hardware Manual
Need help?
Do you have a question about the ADV8003 and is the answer not in the manual?