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.
PIC18F45K80 RC4 I/O
Moderator: Benj
-
- Posts: 18
- Joined: Tue Aug 23, 2016 8:03 am
- Has thanked: 3 times
- Been thanked: 2 times
- Contact:
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: PIC18F45K80 RC4 I/O
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?
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
-
- Posts: 18
- Joined: Tue Aug 23, 2016 8:03 am
- Has thanked: 3 times
- Been thanked: 2 times
- Contact:
Re: PIC18F45K80 RC4 I/O
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.
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 228 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: PIC18F45K80 RC4 I/O
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.
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.
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: 18
- Joined: Tue Aug 23, 2016 8:03 am
- Has thanked: 3 times
- Been thanked: 2 times
- Contact:
Re: PIC18F45K80 RC4 I/O
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.
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.
- celebriums
- Posts: 125
- Joined: Sun Sep 25, 2016 3:50 pm
- Has thanked: 71 times
- Been thanked: 33 times
- Contact:
Re: PIC18F45K80 RC4 I/O
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]
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]