does anyone know how to make Caravel halt? I want ...
# caravel
m
does anyone know how to make Caravel halt? I want to measure the power used by a chip and I don't want it running for the measurement.
e
Maybe using nop instruction in a while loop would make it stable during the measurement ?
t
@Matt Venn: Use the
caravel_hkdebug.py
to access the housekeeping SPI, and set register
0x0b
to value
1
(reset). Set it back to value
0
to start running again.
1
Note that the "reset" option in caravel_hkdebug toggles the reset register, but does not leave it in the reset state.
m
thanks Tim!
t
You also should be able to measure just
vddd1
and not the other 1.8V rails and that should just be your design I thinl.
m
ah, yes. I forgot it was another power rail
We might have joined them all together on tt demo boards thou