I have a firmware that has several instructions.
In the main, we have only one repetition structure (for( ; ; )).
If I measure the cycle of this for( ; ; ) with an oscilloscope, I would get some known value (represented on microcontroller datasheet, for example)?
e.g.:
for( ; ; ){
GPIO2 = true;
.
.
.
GPIO2 = false;
}
How can I say which value I must measure with the osciloscope?
I am asking it because I wanna measure if my firmware has a lot of instruction. If it's enought or it's full of instructions.
I must find this ideal value on datasheet? It's the best way to measure if my code has instructions enough?
In the main, we have only one repetition structure (for( ; ; )).
If I measure the cycle of this for( ; ; ) with an oscilloscope, I would get some known value (represented on microcontroller datasheet, for example)?
e.g.:
for( ; ; ){
GPIO2 = true;
.
.
.
GPIO2 = false;
}
How can I say which value I must measure with the osciloscope?
I am asking it because I wanna measure if my firmware has a lot of instruction. If it's enought or it's full of instructions.
I must find this ideal value on datasheet? It's the best way to measure if my code has instructions enough?