The max period is now 50ms, so that it overflows the 16bit timer when set to the max period. Many thanks to @marianomd for finding the issue and the proposed fix!
The max period is now 50ms, so that it overflows the 16bit timer when set to the max period. Many thanks to @marianomd for finding the issue and the proposed fix!