Hi there,
I configured my HTU setup to transfer from NHET --> main memory, with frame=16 and element=1, then issue an interrupt to the CPU. However, the behavior is inconsistent and the interrupt to the CPU was never generated.
When stop the execution in the debugger, depend on the run, only 1, 2 or 3 - 64-bit transfer(s) have been completed (never reached 16: no interrupt to CPU), despite the input (edge detection) was fed consistently to satisfy tranfer condition (edge detection). The transferred values are apparently correct, with the WCAP instruction Control Field and Data Field in the assigned buffer.
The register HTUACPE has ERRETC=0x01 and ERRF=1, but I can't really interpret this "Error Element Transfer Counter".
Can someone please shed some light?
Thank you very much!
My initialization code for the HTU is as follow: