Hello I need to communicate with a Dual DAC by using SPI. DAC : DAC
I use PIC 18F26K83. I will only transmit data to the DAC, I will not receive anything. This is how I made the connections between my PIC and DAC( see the image attached). So my question is related to PPS mapping and pin configurations: RC7 connected to DIN pin of DAC, RC6 connected to
Do I need to map my pins as inputs also? This is how I did the PPS mapping but I m not really sure:
I used RxyPPS register (Page: 267) in order to set my pins as output sources by using table 17-2 (Page:268)
RC7PPS= 0b00011111 ; //DIN, RC7 = SDIPPS
RC6PPS= 0b00100000; //CS, RC6= SSPPS
RC5PPS= 0b00011110; //SCLK, RC5=SCKPPS
So I believe this is enough for setting them as output. Do I also need to set them as inputs?
I know it does not make sense but I m confused about using RxxxPPS register.