SDI/MISO pin in DAC application

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

Moderator: Benj

Post Reply
User avatar
AbhijitR
Posts: 299
Joined: Fri Nov 07, 2014 12:48 pm
Location: Pune, India
Has thanked: 280 times
Been thanked: 79 times
Contact:

SDI/MISO pin in DAC application

Post 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

User avatar
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

Post 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.

User avatar
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

Post 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

Post Reply