This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LC4357: Capture the frequency from N2het

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

hi 

...I am trying to capture the frequency using N2HET1 pin .. that value displayed on Hyperterminal .

Here SCI is working fine but wen i use capture function return value duty is 0x00000000.

i also enable the het pin in pinmux and select cap0 ..

uint32_t capGetSignal1(hetRAMBASE_t * hetRAM, uint32 cap)
{
uint32 pwmDuty = (hetRAM->Instruction[(cap << 1U) + 25U].Data) >> 7U;
uint32 pwmPeriod = (hetRAM->Instruction[(cap << 1U) + 26U].Data) >> 7U;
return pwmDuty;
}

use this function to capture the pwmDuty