• AVR Freaks

Helpful ReplyMCC dsPIC33CH512MP508 missing SPI option

Author
StefanR101
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2018/03/25 09:41:29
  • Location: 0
  • Status: offline
2019/09/29 12:43:48 (permalink)
0

MCC dsPIC33CH512MP508 missing SPI option

Hello,

I've using MPLAB Code Configurator (MCC) for mapping the peripherals and the specific SPI2 Output Pin (SDO2) is missing on RD8, even if in the datasheet is specified that the pin is supposed to be hardware tied to SPI2 module.
Can be changed after I generate the code to be SDO2 ? ( I've already made the PCB ...)
I've attached some pictures.

https://imgur.com/a/n6LZRKG

Thank You!
#1
du00000001
Just Some Member
  • Total Posts : 3076
  • Reward points : 0
  • Joined: 2016/05/03 13:52:42
  • Location: Germany
  • Status: offline
Re: MCC dsPIC33CH512MP508 missing SPI option 2019/09/30 08:50:36 (permalink)
0
Show us the pin matrix, not the package overview !
 
BTW - you didn't specify whether you're trying to configure the master or the slave.

PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
#2
StefanR101
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2018/03/25 09:41:29
  • Location: 0
  • Status: offline
Re: MCC dsPIC33CH512MP508 missing SPI option 2019/09/30 08:59:38 (permalink)
0
  The configuration is supposed to be in Master mode.
  https://i.imgur.com/7EBDvEX.jpg
#3
du00000001
Just Some Member
  • Total Posts : 3076
  • Reward points : 0
  • Joined: 2016/05/03 13:52:42
  • Location: Germany
  • Status: offline
Re: MCC dsPIC33CH512MP508 missing SPI option 2019/09/30 09:21:15 (permalink) ☄ Helpfulby StefanR101 2019/09/30 09:28:06
0
Fancy.
Looks like the secondary etc. functions of all pins beyond RD7 are missing in MCC.
So you'll have to modify the files generated by MCC. This can be done.
 
 

PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
#4
StefanR101
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2018/03/25 09:41:29
  • Location: 0
  • Status: offline
Re: MCC dsPIC33CH512MP508 missing SPI option 2019/09/30 09:28:01 (permalink)
0
That's good news actually.
I'll modify the generated files.
 
Thank You!
#5
Jump to:
© 2019 APG vNext Commercial Version 4.5