I'm having trouble understanding how use the PPS to assign pins to for SPI communication.
I am using a 16F18326. The assignment of SCK and SDO seem normal, but how do I assign the SDI to a pin?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The Send me a personal message.. I will send you the new PpSTool for GCB. It due for release next week but if you take the release candidate.. It has the tool included.
Pete Everett has developed and it is very very simple. We will formally launch next week.
tool will set the port up with ease.
Evan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The Send me a personal message.. I will send you the new PpSTool for GCB. It due for release next week but if you take the release candidate.. It has the tool included.
Pete Everett has developed and it is very very simple. We will formally launch next week.
tool will set the port up with ease.
Evan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
'Generated by PIC PPS Tool for Great Cow Basic'PPS Tool version: 0.0.3.0'PinManager data: 05/02/2017''Template comment at the start of the config file'#startup InitPPS, 85Sub InitPPS'Module: MSSP1RB5PPS=0x0015'SDO1 > RB5 SSP1DATPPS=0x000C'RB4 > SDI1RB3PPS=0x0014'SCL1 > RB3SSP1CLKPPS=0x000B'RB3 > SCL1 (bi-directional)End Sub'Template comment at the end of the config file
~~~~
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The tool seems to work nicely.
Seems I was getting confused with uni-directional and b-directional pins.
I take it the SS pin does not have to be specified through the PPS settings.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm having trouble understanding how use the PPS to assign pins to for SPI communication.
I am using a 16F18326. The assignment of SCK and SDO seem normal, but how do I assign the SDI to a pin?
The Send me a personal message.. I will send you the new PpSTool for GCB. It due for release next week but if you take the release candidate.. It has the tool included.
Pete Everett has developed and it is very very simple. We will formally launch next week.
tool will set the port up with ease.
Evan
The Send me a personal message.. I will send you the new PpSTool for GCB. It due for release next week but if you take the release candidate.. It has the tool included.
Pete Everett has developed and it is very very simple. We will formally launch next week.
tool will set the port up with ease.
Evan
Meanwhile for record, a working example, this is for the Ethernet Adapater.
~~~~'#option explicit
#chip 16f18855,32
#Config FEXTOSC_OFF, RSTOSC_HFINT32
#Config WRT_OFF, CPD_ON, MCLRE_ON
~~~~
The tool seems to work nicely.
Seems I was getting confused with uni-directional and b-directional pins.
I take it the SS pin does not have to be specified through the PPS settings.
Really pleased the tool worked.
Any changes recommended? Please send via a email.
Correct - SS pin does not have to be specified through the PPS settings.