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
Thank you.
Abhi
SDI/MISO pin in DAC application
Moderator: Benj
- Bachman
- Posts: 116
- Joined: Sun Sep 07, 2014 11:37 am
- Location: Hungary
- Has thanked: 9 times
- Been thanked: 53 times
- Contact:
Re: SDI/MISO pin in DAC application
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.
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.
- AbhijitR
- Posts: 299
- Joined: Fri Nov 07, 2014 12:48 pm
- Location: Pune, India
- Has thanked: 280 times
- Been thanked: 79 times
- Contact:
Re: SDI/MISO pin in DAC application
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
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