Hello,
I am using TI570LS0432 controller.
I have been able to generate PWM signal of 1KHz using NHET instructions CNT and MCMP on NHET[31].
Now, i want to readback the same generated signal from another NHET[22] in below manner:
1. I have used one PCNT instruction with hr_lr = 0 (HIGH) for reading the ON-PULSE(i.e.type=01'b) of the signal on pin NHET[22].
2. Another PCNT instruction with hr_lr = 1 (LOW) for reading the count period between HIGH-to-HIGH edge (i.e.type=11'b) of the signal on pin NHET[22+1]. Taken reference from HALCOGEN
My Query:
1. Does it mean - that to read ON-time and PERIOD from NHET[22], an internal HR Share will be used of NHET[23] (input type) too. And in practical NHET[23] could still be used for GPIO purpose.
2. I want to configure the HETINTENAS register for PCNT based interrupt generation on NHET[22]. Could anyone explain the exact bit meaning of HETINTENAS in case of above stated example.
I will really be thankful if my query could be addressed.
Regards,
Rahul