PIC18F45K80 RC4 I/O

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

Moderator: Benj

msahin1976
Posts: 18
Joined: Tue Aug 23, 2016 8:03 am
Has thanked: 3 times
Been thanked: 2 times
Contact:

PIC18F45K80 RC4 I/O

Postby msahin1976 » Fri Jul 20, 2018 2:14 pm

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.

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8604
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2476 times
Been thanked: 3558 times
Contact:

Re: PIC18F45K80 RC4 I/O

Postby medelec35 » Sat Jul 21, 2018 12:27 pm

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

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

msahin1976
Posts: 18
Joined: Tue Aug 23, 2016 8:03 am
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: PIC18F45K80 RC4 I/O

Postby msahin1976 » Mon Jul 23, 2018 7:34 am

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.
Attachments
Test Project.fcfx
(288.06 KiB) Downloaded 65 times

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

Re: PIC18F45K80 RC4 I/O

Postby Benj » Mon Jul 23, 2018 10:05 am

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.

msahin1976
Posts: 18
Joined: Tue Aug 23, 2016 8:03 am
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: PIC18F45K80 RC4 I/O

Postby msahin1976 » Mon Jul 23, 2018 11:56 am

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.
These users thanked the author msahin1976 for the post:
Benj (Mon Jul 23, 2018 12:23 pm)
Rating: 5%
 

User avatar
celebriums
Posts: 115
Joined: Sun Sep 25, 2016 3:50 pm
Has thanked: 69 times
Been thanked: 32 times
Contact:

Re: PIC18F45K80 RC4 I/O

Postby celebriums » Mon Jul 30, 2018 9:51 pm

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]