- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sir,
I use the example code rc in PDL,with MB9AF314L(4MHz crystal),it cannot get any interrupt when a remote contrller(in NEC protocol) key pressed .
NOTE:
connect the 'CEC0 pin, GND and VCC'with the infrared receive board
press the 'TV remote control unit' key, and watch the IO terminal.------The receivepn will get the key waveform
Here is the receive waveform from receive pin when a remote key is pressed
Can you help me?
Best Regards
Raymond,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The community is still actived?
Any reply?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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.