M88RS2000 Driver User’s Manual Revision History Changes Revision Revision Number Date Page Number Description 11/23/2009 Initial release Montage Technology Confidential and Proprietary...
M88RS2000 with a variety of embedded processors and embedded operating systems appropriate for their platform. Files Of The Driver The M88RS2000 driver is written in standard ANSI C. It consists of source files and header files. For more details, please refer to Table 1. Table 1. Driver’s Files List...
-- Define the 2-wire bus’s slave address. Applications can access and control the M88RS2000 through a 2-wire bus. The bus speed is up to 400KHz. Users should realize the belowing functions of 2-wire bus interface based on the users' OS 2-wire bus drivers.
Page 6
M88RS2000 Driver User’s Manual 3.1.1.2 Tuner Part’s Address The M88RS2000 operates tuner part’s registers through C0H for write operation and C1H for read operation. 3.1.2 Functions Need To Be Finished By Users 3.1.2.1 2-wire Bus 3.1.2.1.1 Write Operation With a Stop Signal...
MT_FE_RET mt_fe_dmd_set_reg (U8 addr, U8 data) Description: This function writes demodulator register. Arguments: addr -- Sub-address of demodulator register; data -- Data to be written. Return: MT_FE_RET Operation 3.1.3.2 Read MT_FE_RET mt_fe_dmd_get_reg (U8 addr, U8 *p_buf) Description: Montage Technology Confidential and Proprietary...
Page 8
The operation opens the 2-wire bus repeater twice. This means that below operations need two stop signals. If there's only one stop signal, the sentence should change to: val |= 0x04; Macro Definitions Corresponding file: − mt_fe_def.h -- Include macro definitions, variable type defines and APIs. Montage Technology Confidential and Proprietary...
Page 9
HIGH; • MT_FE_PIN_LEVEL_HIGH -- LNB voltage is 13V when the level is HIGH, and LNB voltage is 18V when the level is LOW. 3.2.4.4 The Level Of Pin VSEL When LNB Standby MT_FE_PIN_VSEL_LEVEL_WHEN_LNB_STANDBY Montage Technology Confidential and Proprietary...
Page 10
Note: After the system boots up, users should call this function to initialize the M88RS2000. LNB & DiSEqC After M88RS2000 is initialized, users should connect cables and set the correct LNB status. If there's more than one cable, users should set up LNB and DiSEqC controlling devices to select the specific cable.
Page 11
-- Send or receive DiSEqC messages. Return: MT_FE_RET 3.4.3.1 MT_FE_DiSEqC_MSG This structure sets the DiSEqC message format. typedef struct _MT_FE_DiSEqC_MSG data_send[8]; // max 8 bytes to be sent size_send; // actual bytes to be sent Montage Technology Confidential and Proprietary...
Page 12
= 4; /*Data size to be sent*/ msg.is_enable_receive = FALSE; /*Do not receive the reply messages*/ if(18V) msg.data_send[3] |= 0x02; /*Bit 1 set 1*/ if(22K on) msg.data_send[3] |= 0x01; /*Bit 0 set 1*/ mt_fe_rs2k_DiSEqC_send_receive_msg(msg); Montage Technology Confidential and Proprietary...
Page 13
Blind Scan (Optional) This step is optional. If the satellite TP parameters are unknown, users can use the blind scan operation to search the TPs. 3.5.1 Register Callback Function MT_FE_RET mt_fe_rs2k_register_notify (void (*notify)(MT_FE_MSG msg, void* p_param)) Descriptions: Montage Technology Confidential and Proprietary...
Page 14
2150MHz. Users can modify the frequency band according to the requirement. 3.5.2.2 MT_FE_BS_TP_INFO This structure defines the structure to store blind scan initialized data and results. typedef struct _MT_FE_BS_TP_INFO bs_times; // blind scan times Montage Technology Confidential and Proprietary...
Page 15
Note: Select blind scan times. If user does care about the blind scan speed, 1 time blind scan is a better choice. Otherwise user can select 3(or 2, more than 3 is not recommended) times blind scan, and some weak signals or special signals can be found. 2. bs_tp_info.bs_algorithm = MT_FE_BS_ALGORITHM_B; Montage Technology Confidential and Proprietary...
MT_FE_RET mt_fe_rs2k_connect (U32 freq_KHz, U16 sym_rate_KSs, MT_FE_RS2K_CODE_RATE_SEL code_rate, MT_FE_LOCK_STATE *p_lock_state); Descriptions: This function is used to lock a specific channel (TP). If locked, M88RS2000 will set to the channel (TP) and output the TS with a defined MPEG TS output mode. Arguments: freq_KHz -- TP frequency;...
Page 17
M88RS2000 Driver User’s Manual MtFeLockState_Unlocked, // TP state unlocked MtFeLockState_Waiting // TP state waiting, wait for the lock process finished (Not used in M88RS2000, reserved for other project use.) } MT_FE_LOCK_STATE; 3.6.1.2 MT_FE_RS2K_CODE_RATE_SEL This enumeration sets code rate parameter. If the correct code rate parameter is unknown, user can set MtFeRs2kCodeRateSel_Undef or MtFeRs2kCodeRateSel_All and the receiver will set the correct parameter automatically.
Page 18
This function gets signal strength by signal gain. This is a reference function. User can modify it if need. Arguments: *p_strength -- Reference strength. Return: MT_FE_RET 3.7.1.5 Get Code Rate MT_FE_RET mt_fe_rs2k_get_FEC (MT_FE_CODE_RATE *code_rate); Descriptions: This function gets signal code rate information. Arguments: MT_FE_CODE_RATE *code_rate -- Signal FEC indicator. Montage Technology Confidential and Proprietary...
Get Driver’s Version Number MT_FE_RET mt_fe_rs2k_get_driver_version (U32* p_version); Descriptions: This function gets the driver’s version number. Arguments: U32 *p_version -- Driver’s version number. Return: MT_FE_RET Software Reset MT_FE_RET mt_fe_rs2k_soft_reset (void); Descriptions: This function can soft reset the receiver. Montage Technology Confidential and Proprietary...
Need help?
Do you have a question about the M88RS2000 and is the answer not in the manual?
Questions and answers