Page 1 of 1

SDI/MISO pin in DAC application

Posted: Thu Dec 09, 2021 2:02 pm
by AbhijitR
Hello!
good evening

I am using MCP4921 DAC, communicating with PIC on SPI, one of the connections mentioned in the properties window is SDI/MISO (pin C4 in channel 1 of chip PIC18F26K22), may i know if it is possible to use this pin for other application as it is not connected or not used as no data is received from DAC to PIC. I notice this particular PIC do not have remap able pins so i cannot select "unused" or something similar.

Is there any way to use that pin, it is resting for the moment :D

Thank you.

Abhi

Re: SDI/MISO pin in DAC application

Posted: Thu Dec 09, 2021 7:16 pm
by Bachman
Hello!

Yes, you can use it but in this case, only for digital input because the MSSP module. The Flowcode input macro using the PORT register. The PORT register reflects the PIN voltage (over the limit (H) or under the limit (L)), regardless of the pin type, input or output.

Re: SDI/MISO pin in DAC application

Posted: Thu Dec 09, 2021 7:44 pm
by AbhijitR
Hello! Bachman
Good evening

Thank you for the answer, it would be a good news if I could use that pin as output, but unfortunately not. Now I need to think of some other option.

Thank you again for your time.

Abhi