18F46K20 problem

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
gonzogonzo
Posts: 56
Joined: Mon Aug 11, 2014 3:57 pm
Has thanked: 18 times
Been thanked: 17 times
Contact:

18F46K20 problem

Post 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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: 18F46K20 problem

Post 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

gonzogonzo
Posts: 56
Joined: Mon Aug 11, 2014 3:57 pm
Has thanked: 18 times
Been thanked: 17 times
Contact:

Re: 18F46K20 problem

Post 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....

gonzogonzo
Posts: 56
Joined: Mon Aug 11, 2014 3:57 pm
Has thanked: 18 times
Been thanked: 17 times
Contact:

Re: 18F46K20 problem

Post by gonzogonzo »

Hi Benj,
i can confirm that there is a problem with 18F46k20 problably setting oscillator (PLL).

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: 18F46K20 problem

Post 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?

gonzogonzo
Posts: 56
Joined: Mon Aug 11, 2014 3:57 pm
Has thanked: 18 times
Been thanked: 17 times
Contact:

Re: 18F46K20 problem

Post 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 :)

Post Reply