- Sun Jul 17, 2022 9:37 am
#57779
rhetorical(ish) question: what's the difference between sync loss and not cranking?
your log has 0 sync loss, but oscillates between cranking at 129rpm and not cranking with a pattern of cranking for 0.3 ish seconds followed by not cranking for about half that duration.
I suspect what is happening is that the decoder is timing out waiting for teeth for the long 120 odd crank degrees between batches of teeth.
The Jeep2000 decoder has
MAX_STALL_TIME = (3333UL * 60); //Minimum 50rpm. (3333uS is the time per degree at 50rpm). Largest gap between teeth is 60 degrees.
whereas your trigger has near 120 degrees between batches of teeth - what is your MAX_STALL_TIME?
your log has 0 sync loss, but oscillates between cranking at 129rpm and not cranking with a pattern of cranking for 0.3 ish seconds followed by not cranking for about half that duration.
I suspect what is happening is that the decoder is timing out waiting for teeth for the long 120 odd crank degrees between batches of teeth.
The Jeep2000 decoder has
MAX_STALL_TIME = (3333UL * 60); //Minimum 50rpm. (3333uS is the time per degree at 50rpm). Largest gap between teeth is 60 degrees.
whereas your trigger has near 120 degrees between batches of teeth - what is your MAX_STALL_TIME?