Dear All,
I am trying to use NTM88 to develop a long duration carrier wave LF decoding function.
for example:
I want to decode carrier wave with 0.4 sec on.
But it's not working everytime.
Here is my LF setting and code.
1.LF setting:
void Init_LF(void){
LFCTL1 = 0x40;
Delay_ms(3u);
LFCTL1 = 0x02;
LFCTL2 = 0x00;
LFCTL3 = 0x34;
LFCTL4 = 0x80;
LFIDL = 0;
LFIDH = 0;
LFS_LFIAK = 1;
LFCTL1_LFEN = 1;
}
2.Code:
PTADD_PTADD1 = SET;
PTAD_PTAD1 = CLEAR;
UINT8 Carrier(void){
UINT16 cnt;
cnt=0;
Delay_ms(1u);
while(LFCTL3_LFDO){
__RESET_WATCHDOG();
Delay_ms(1u);
cnt++;
PTAD_PTAD1 = SET;
if(cnt>400){
break;
}
}
PTAD_PTAD1 = CLEAR;
Thanks.
已解决! 转到解答。
Dear Eden,
Our TPMS SW expert has prepared a demo project and app note to cover the different uses of the LF modes, including the use-case mentioned by you.
It will be a few weeks before they can be published on the public website, but meanwhile we can provide an early access to customers requesting it. She has thus granted access to you.
To get the software, you need to follow the link below and then sign in:
Under the restricted download section, you will see a zip named “NTM88 LF Modes” that contains the demo project and user guide.
Best regards,
Tomas
Dear Eden,
Our TPMS SW expert has prepared a demo project and app note to cover the different uses of the LF modes, including the use-case mentioned by you.
It will be a few weeks before they can be published on the public website, but meanwhile we can provide an early access to customers requesting it. She has thus granted access to you.
To get the software, you need to follow the link below and then sign in:
Under the restricted download section, you will see a zip named “NTM88 LF Modes” that contains the demo project and user guide.
Best regards,
Tomas