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
18F46K20 problem
Moderator: Benj
-
- Posts: 56
- Joined: Mon Aug 11, 2014 3:57 pm
- Has thanked: 18 times
- Been thanked: 17 times
- 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
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
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
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 56
- Joined: Mon Aug 11, 2014 3:57 pm
- Has thanked: 18 times
- Been thanked: 17 times
Re: 18F46K20 problem
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....
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....
-
- Posts: 56
- Joined: Mon Aug 11, 2014 3:57 pm
- Has thanked: 18 times
- Been thanked: 17 times
Re: 18F46K20 problem
Hi Benj,
i can confirm that there is a problem with 18F46k20 problably setting oscillator (PLL).
i can confirm that there is a problem with 18F46k20 problably setting oscillator (PLL).
- 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
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?
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?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 56
- Joined: Mon Aug 11, 2014 3:57 pm
- Has thanked: 18 times
- Been thanked: 17 times
Re: 18F46K20 problem
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
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
