the blow is the time setting
#define RC_DIV APB_CLOCK/16000 ///< set RC frequency about 16KHz
#define RC_FREQ 16000
#define STARTBITTIME 9000//4.4mSec
#define STARTBITWIDTH (STARTBITTIME/1000*RC_FREQ)/1000
#define REPEATTIME 4500//2.2mSec
#define REPEATWIDTH (REPEATTIME*RC_FREQ)/1000/1000
#define MINPULSETIME 560//560uSec
#define MINPULSEWIDTH (MINPULSETIME*RC_FREQ)/1000/1000
#define THRESHOLDTIME 1600//1.6mSec
#define THRESHOLDWITH (THRESHOLDTIME*RC_FREQ)/1000/1000
The community is still actived?
As per datasheet of MB9A310A Series and 002 04843_FM3_PERIPHERAL_MANUAL_Communication_Macro_Part_TRM about the remote control issue. The part number (type-1) you are using is not in the list supporting remote control function, so that means rc function can not realized with your current device.