Page 1 of 1

dsPIC30F6014A - C15 pin

Posted: Wed May 31, 2023 1:12 pm
by egearabaci
Hi all,

I got a problem with the C15 pin of dsPIC30F6014A controller. In the datasheet, if I'm not wrong, it says C15 pin can be used as I/O applications but I can not use this pin as Output pin. I did not try if it can be used as Input. Tried it with different PCBs with same controller dsPIC30f6014A, same result.

Do you guys know anything about it?

Thank you,
Ege

Re: dsPIC30F6014A - C15 pin

Posted: Wed May 31, 2023 2:42 pm
by p.erasmus
Hi,

I havent check the datasheet and it a long time since I last worked with a 6014 but as I recall it could be that pin is a open drain pin so then you need to connect it ot some sort of source ,just check the pin specs again

Re: dsPIC30F6014A - C15 pin

Posted: Wed May 31, 2023 4:46 pm
by BenR
Hello,

It could be down to your configuration settings. Can you post your project file?

Re: dsPIC30F6014A - C15 pin

Posted: Fri Jun 02, 2023 7:17 am
by egearabaci
I attached the project file. I am just trying to change the C15 pin there is nothing more in code.

Re: dsPIC30F6014A - C15 pin

Posted: Fri Jun 02, 2023 12:36 pm
by p.erasmus
Hi,
Looking at the datasheet C15 is also the CLK0 pin therefore I would expect that you need to run the corrcet settings and Oscilltor to beable to use C15 as an IO pin
just saying