Author |
Message |
Topic: PIC18f87k90 external crystal (?) problem [Solved] |
PavelM
Replies: 13
Views: 37300
|
Forum: General CCS C Discussion Posted: Fri Jan 28, 2022 3:33 am Subject: PIC18f87k90 external crystal (?) problem [Solved] |
Hello everyone again.
Returning to the topic of capacitors. I changed the 22pF capacitors to 12pF capacitors and it did not work properly.
But, when I found out why it does not work correctly, I eve ... |
Topic: PIC18f87k90 external crystal (?) problem [Solved] |
PavelM
Replies: 13
Views: 37300
|
Forum: General CCS C Discussion Posted: Mon Jan 24, 2022 7:15 am Subject: PIC18f87k90 external crystal (?) problem [Solved] |
While I don't use that PIC or the HMI....
Assuming the 2 PCBs are the same, except for xtal/caps,
is the 5V VDD well filtered and have you 'bypass' caps as required ?
does that PIC have 2 sets of ... |
Topic: PIC18f87k90 external crystal (?) problem [Solved] |
PavelM
Replies: 13
Views: 37300
|
Forum: General CCS C Discussion Posted: Mon Jan 24, 2022 5:27 am Subject: PIC18f87k90 external crystal (?) problem [Solved] |
You gave us the generic data sheet for the crystal.
What is the full part number for the crystal that you received ?
YIC 14.745E1
That is what is written on the crystal. |
Topic: PIC18f87k90 external crystal (?) problem [Solved] |
PavelM
Replies: 13
Views: 37300
|
Forum: General CCS C Discussion Posted: Mon Jan 24, 2022 5:05 am Subject: PIC18f87k90 external crystal (?) problem [Solved] |
Ttelmah
It’s not that I was really chasing the transfer speed or speed of MC itself, I just thought that to work with this quartz, I just need to change one quartz to another, but it seems that I n ... |
Topic: PIC18f87k90 external crystal (?) problem [Solved] |
PavelM
Replies: 13
Views: 37300
|
Forum: General CCS C Discussion Posted: Mon Jan 24, 2022 4:45 am Subject: PIC18f87k90 external crystal (?) problem [Solved] |
What happens if you disable the PLL and WDT, and run the PIC
off the fundamental frequency of the crystal ? Example:
//#FUSES HSM
//#FUSES PLLEN
//#FUSES WDT
//#FUSES WDT128
#use delay(c ... |
Topic: PIC18f87k90 external crystal (?) problem [Solved] |
PavelM
Replies: 13
Views: 37300
|
Forum: General CCS C Discussion Posted: Mon Jan 24, 2022 2:24 am Subject: PIC18f87k90 external crystal (?) problem [Solved] |
Hello, I would like to share the problem and ask for advice on this forum.
Compiler version 5.101
There is PIC18f87k90 and Weintek HMI.
Initially, I made communication between them and everything ... |
Topic: Modbus RTU |
PavelM
Replies: 1
Views: 12386
|
Forum: General CCS C Discussion Posted: Wed Oct 06, 2021 7:43 am Subject: Modbus RTU |
Ok, never mind, guess I'm dumb.
Tested with bit variable - LED on screen is blinking with some delay, which i manually put in code, so i guess, I'm trying to work with wrong memory area, need to doub ... |
Topic: Modbus RTU |
PavelM
Replies: 1
Views: 12386
|
Forum: General CCS C Discussion Posted: Wed Oct 06, 2021 6:44 am Subject: Modbus RTU |
Hello, i'm trying to communicate with HMI Weintek MT6070iH through Modbus RTU. My device is PIC18F87k90 - slave, HMI - master.
PCH Compiler v. 5.101.
https://i.postimg.cc/Lqh11xDq/modbus-wire-01.png ... |
|