Page 1 of 1

18F46K20 problem

Posted: Mon Jan 27, 2020 2:56 pm
by gonzogonzo
Hello,
these days I am using Flowcode with pic 18F46K20 and, although in simulation it works as expected, not as much in the real world; instead the circuit works correctly with the 18F46K22. The problem that occurs is a non-operation of what is connected to PIN RA4 (DHT22) and what I suspect is that the settings of the project chip seem somewhat different from the norm ....
Thanks

Re: 18F46K20 problem

Posted: Mon Jan 27, 2020 3:31 pm
by Benj
Hello,

Have you started with something simple like this to confirm the configuration of the new chip?
https://www.matrixtsl.com/wiki/index.ph ... ED_flasher

Re: 18F46K20 problem

Posted: Tue Jan 28, 2020 3:08 pm
by gonzogonzo
Hi Benj,
thanks for reply; there is not a problem with clock but only when use RA4 with DHT22 (no communication) and only changing chip and relative setting all work ok with same program. I suspect a problem because windows setting appear a little strange respect chip of same family.
I made some test next week....

Re: 18F46K20 problem

Posted: Sun Feb 09, 2020 11:36 am
by gonzogonzo
Hi Benj,
i can confirm that there is a problem with 18F46k20 problably setting oscillator (PLL).

Re: 18F46K20 problem

Posted: Mon Feb 10, 2020 11:31 am
by Benj
Hello,

Do you think the problem is hardware related or do you want me to investigate to check the Flowcode config settings are correct for the device?

Re: 18F46K20 problem

Posted: Mon Feb 10, 2020 3:16 pm
by gonzogonzo
Hi Benj,
problem is related to oscillator setting 18F46K20 in Flowcode when used PLLx4 (hardware is in production and ok); this is also confirmed by importing hex file in several software device programming that show not correct oscillator setting.
If You can investing on this problem and save my life :)