John Chris
Senior Member
Hi there,
By placing an HSERIN command within a loop, one can effectively get away from the limitation imposed on the 'timeout' value (limited to approximately ~32s (65k ms) at 8 MHz).
My question is, as I have implemented the looping in the code shown below, what is the estimated magnitude of the delay time between HSERIN commands ? (I could test this using a timer and sertxd to the terminal windows, however, it seems to me that the time required to execute the additional debug code is not insignificant in comparison with the time I would be trying to measure)
Code:
AwaitDataRequest:
INC counter_c
IF counter_c <= 4 THEN
HSERIN [timeout_SYS_data_prompt,AwaitDataRequest],0,nb_SYS_data_prompt
ELSE
RETURN
ENDIF
...
RETURN
Thanks,
Chris
________
By placing an HSERIN command within a loop, one can effectively get away from the limitation imposed on the 'timeout' value (limited to approximately ~32s (65k ms) at 8 MHz).
My question is, as I have implemented the looping in the code shown below, what is the estimated magnitude of the delay time between HSERIN commands ? (I could test this using a timer and sertxd to the terminal windows, however, it seems to me that the time required to execute the additional debug code is not insignificant in comparison with the time I would be trying to measure)
Code:
AwaitDataRequest:
INC counter_c
IF counter_c <= 4 THEN
HSERIN [timeout_SYS_data_prompt,AwaitDataRequest],0,nb_SYS_data_prompt
ELSE
RETURN
ENDIF
...
RETURN
Thanks,
Chris
________
Last edited by a moderator: