Page 1 of 1

PIC18F45K80 RC4 I/O

Posted: Fri Jul 20, 2018 2:14 pm
by msahin1976
I'm using FlowCode version 6. I can't control RC4 output. It doesn't work as digital I/O.

This pin is dedicated to I2C and SPI communication, but I use neither of them.

Re: PIC18F45K80 RC4 I/O

Posted: Sat Jul 21, 2018 12:27 pm
by medelec35
Hi msahin1976,
Have you tried with any other outputs to see if only RC4 is affected?
For example you may have watchdog enabled or wrong oscillator setting so hardware may not work with any ports?
Can you post a flowchart, so I an have a look at your settings. Are you using internal or external oscillator?

Re: PIC18F45K80 RC4 I/O

Posted: Mon Jul 23, 2018 7:34 am
by msahin1976
Hi Martin,
Actually, this project is going on and the other parts of the project are working. I test most of the other digital IOs' and they are working properly.
I didn't set a watchdog and the external oscillator is working properly.

You can see a copy of this project at the attachment.

Re: PIC18F45K80 RC4 I/O

Posted: Mon Jul 23, 2018 10:05 am
by Benj
Hello,

I can't specifically see anything in your program and the device datasheet says RC4 should work the same as the rest of the IO pins.

Is it your own board or are you working with a 3rd party board? Have you tried confirming with a multimeter that there is no open or short on your board? Might be worth re-flowing the solder connection for pin RC4.

Re: PIC18F45K80 RC4 I/O

Posted: Mon Jul 23, 2018 11:56 am
by msahin1976
Dear Benj,
It's our own board and I checked the signals directly on the MCU pin by an oscilloscope.

Also, I checked if there is any short circuit or not and found nothing. I 'll check again.

Re: PIC18F45K80 RC4 I/O

Posted: Mon Jul 30, 2018 9:51 pm
by celebriums
Murat Şahin (The Thief of Human Labor)
Trying to improve my code is useless. I was unfairly thrown out of work.

You have not returned my codes. You have not received these codes fairly. You stole my furniture.

Now you gave it back with your own hands. And you told me it was not ethical.

The whole world will learn the injustice done to me.


The end of selfishness and immorality is divine justice.

Your helplessness provided you a cure here.

You have not received the penalty you deserve, but electronic equipment will punish you.


Dear Benj
Now I will present these codes to the MatrixTSL family.
Using the processor HOLTEK1632 and DSPIC33EP128MC506 and I designed it. Can we make the HOLTEK1632 integration component? I ran those codes with digital ports 1 and 0.



Unshared information does not multiply.

[URL] https://cdn-shop.adafruit.com/datasheet ... 2cv120.pdf [/ URL]
[URL] http://www.sadiksume.com/en/my-projects ... ostergisi/ [URL]