COMPONENT MACRO RESET TIMER
Posted: Mon Apr 29, 2024 1:41 pm
Hello,
I am attempting to Reset a Timer when going thru a Interrupt routine.
The logic i am using seems to be correct as i can stop the counter, change a bit flag and such, but the counter just does not reset. I am hoping someone in this group can tell me what i might be doing incorrectly.
I am really new to actually using flowcode, am not a programmer, but trying to learn.
Also, need to get the most accurate count that i can, so if there is any other method. I would like to be in the nanosecond range.
I am building an ultrasonic guiding system using a TDC1000 chip. The chip is doing all the needed upfront work I am just needing to pickup the time interval between a start pulse and a stop pulse. The transmitting signal is going to be 2 inches away from the receiving transducer, so there is not much time to spare between pulses.
For Proto-typing, i am using a BL00032-1 DSP, a bl069-1 LCD display on portB Low port and a BL0145 PB used to simulate an interrupt port. The PB port will be replaced with the TDC1000 chip start stop signal when that board gets completed.
I am attempting to Reset a Timer when going thru a Interrupt routine.
The logic i am using seems to be correct as i can stop the counter, change a bit flag and such, but the counter just does not reset. I am hoping someone in this group can tell me what i might be doing incorrectly.
I am really new to actually using flowcode, am not a programmer, but trying to learn.
Also, need to get the most accurate count that i can, so if there is any other method. I would like to be in the nanosecond range.
I am building an ultrasonic guiding system using a TDC1000 chip. The chip is doing all the needed upfront work I am just needing to pickup the time interval between a start pulse and a stop pulse. The transmitting signal is going to be 2 inches away from the receiving transducer, so there is not much time to spare between pulses.
For Proto-typing, i am using a BL00032-1 DSP, a bl069-1 LCD display on portB Low port and a BL0145 PB used to simulate an interrupt port. The PB port will be replaced with the TDC1000 chip start stop signal when that board gets completed.