Strange bugs pic18f67k22 on FC5 FC6 FC7 FC8
Posted: Sat Oct 19, 2019 12:36 pm
Hello everyone, I saw this problem that is repeated for all versions of FC. I ask for confirmation of the reason!
pic used 18f67k22
I attach two identical programs one with the active 4X PLL and another with the 4X PLL deactivated
The problem is in the reading configuration of the ADC that I am forced to change in one or the other depending on whether the PLL is active! I don't understand a logical sense. Any test in software emulation works but then the program on the micro doesn't work!
The "TEST PLL 4X OFF" program practically always works (PLL on or PLL off always works and the ADC reading is correct).
While the "TEST PLL 4X ON" program only works with the active 4X PLL !! ADC reading blocked at 4095 if you disable the 4x PLL .. why?
Both work on the video emulation test
Thx all
pic used 18f67k22
I attach two identical programs one with the active 4X PLL and another with the 4X PLL deactivated
The problem is in the reading configuration of the ADC that I am forced to change in one or the other depending on whether the PLL is active! I don't understand a logical sense. Any test in software emulation works but then the program on the micro doesn't work!
The "TEST PLL 4X OFF" program practically always works (PLL on or PLL off always works and the ADC reading is correct).
While the "TEST PLL 4X ON" program only works with the active 4X PLL !! ADC reading blocked at 4095 if you disable the 4x PLL .. why?
Both work on the video emulation test

Thx all