TMR2 confusing changes
Posted: 11 Feb 2019 13:00
Not directly related to this beta version, i spotted several issues around TMR2 on the 18F27K42 , i have the habit of using the Timer Calculator and i had the strangest effects until i carefully read the datasheet of this chip and it turns out to be rather different . First thing is that we need to configure a clocksource, next confusion comes from the T2CON register which has been changed. I have not tested that yet but suspect other peripherals may suffer from similar changes.