On the C5510, if you write 0x1f to the ICR register in order to idle the DSP and disable clocks (i.e. CLKGEN bit), how can you detect that this occured? There is a status bit in ISTR, but if JTAG is connected, it will read back as 0xf. That is, JTAG will enable clocks and you can't detect if bit 4 is actually set (can't tell if clocks were disabled). I believe the same holds true for HPI (i.e. will enable clocks and can't determine if bit 4 was ever set).
So, the question is, how can you check if clocks are actually enabled or not? Is the only way to physically measure currents or EMI signature? In other words, is bit4 in ISTR unusable?
Regards,
Eric