Hi,
I am using TMS570LS3137 FREERTOS to capture the different frequencies in different N2HET pins that value displayed on Hyperterminal within one task,
below i explained wat i did in HALCOGen for this
In HALCOGen
1. disable the all drivers and enable only SCI2 and HET1 driver.
2. Select the LINE1 High and HET Low in interrupt assignment.
3. Select the baudrate , tx tx interrupt in SCI2.
4. select the pin numbers in HET1 capture0-7 block.
5. generate the code
In CCS
1. create the task, initialize the SCI and HET.
2. capture the freaquency value by using below function
hetSIGNAL_t capGetSignal(hetRAMBASE_t * hetRAM, uint32_t cap);
Probelms:
Here SCI is working fine but wen i use capture function return value duty is 0xFFFFFFFF. if i change the frequency also getting same.
I am new to this MCU please help me what i need to do measure the frequency
Regards,
chethan kumar