• AVR Freaks

AnsweredHot!SPI2: pin selection for SCK2 in 33EP256MC506 via MCC

Author
_dex
Junior Member
  • Total Posts : 104
  • Reward points : 0
  • Joined: 2008/03/19 13:57:34
  • Location: 0
  • Status: offline
2020/02/11 04:02:55 (permalink)
0

SPI2: pin selection for SCK2 in 33EP256MC506 via MCC

Hello I have MCC 3.95.0 and 1.166.0 library.
When I take SPI1 via MCC then in the Pin Manager Grid View I see the SCK1 row for this Pin, even the SCK1 is not remappable, it is fixed to PIN 35 PORTA.3 - All fine in order with Datasheet.
But for SPI2 there is no a row for SCK2 where I can remap the SCK2. I need SPI2 due to the fact that  I can use PPS and remap the SCK. Nothing strange in DS , it says SCK2 is remappable. Am I missing something or does MCC missing the SCK2 row.?
post edited by _dex - 2020/02/14 01:49:20

Attached Image(s)

#1
pr.mchp
Starting Member
  • Total Posts : 41
  • Reward points : 0
  • Joined: 2015/03/23 06:20:48
  • Location: 0
  • Status: offline
Re: SPI2: pin selection for SCK2 in 33EP256MC506 via MMC 2020/02/11 20:20:46 (permalink) ☼ Best Answerby _dex 2020/02/14 07:40:54
5 (1)
This issue has already been identified and should be rectified in the next release.
Thanks for the feedback.
#2
_dex
Junior Member
  • Total Posts : 104
  • Reward points : 0
  • Joined: 2008/03/19 13:57:34
  • Location: 0
  • Status: offline
Re: SPI2: pin selection for SCK2 in 33EP256MC506 via MMC 2020/02/18 07:11:05 (permalink)
0
I have observed the same problem for SPI3 resources, and actually this applies probably for all uC, I saw it on PIC24FJ1024 as well, I mean missing SS/CS pin row ing Grid-view for SPI2 and SPI3 resources. SPI1 is ok.
 
BTW when I use this resources do I have to take care of this SS/CS pin personally or does the library make it when I call Exchange_buffer functions?( I have already asked about that in other topic on MCC forum, but unlucky there was no answer)
#3
pr.mchp
Starting Member
  • Total Posts : 41
  • Reward points : 0
  • Joined: 2015/03/23 06:20:48
  • Location: 0
  • Status: offline
Re: SPI2: pin selection for SCK2 in 33EP256MC506 via MMC 2020/02/18 22:06:06 (permalink) ☄ Helpfulby _dex 2020/02/19 03:50:37
5 (1)
Hi dex
As informed earlier, we have identified the cause for the issue related to missing rows in SPI. This shall be rectified in the next release.
 
Regarding the SS usage:
MCC provides the flexibility for the user to select the SS pin and the same will get reflected in the generated pinmanager.c file. Depending on the application needs, the user has to manually control this pin in the application. 
 
Thanks for your feedback.
#4
RDS Cliff
Junior Member
  • Total Posts : 64
  • Reward points : 0
  • Joined: 2016/09/23 11:50:05
  • Location: 0
  • Status: offline
Re: SPI2: pin selection for SCK2 in 33EP256MC506 via MMC 2020/03/31 22:52:05 (permalink)
0
For me, it is SPI1 that is missing the clock line.  Not fixed in library v1.166.1.
 
Drove me batty trying to figure out how MCC broke working code.  I was using library v1.125.
#5
pr.mchp
Starting Member
  • Total Posts : 41
  • Reward points : 0
  • Joined: 2015/03/23 06:20:48
  • Location: 0
  • Status: offline
Re: SPI2: pin selection for SCK2 in 33EP256MC506 via MMC 2020/04/01 00:49:04 (permalink)
0
The above committed fix is scheduled for next release which is v1.167.
#6
Jump to:
© 2020 APG vNext Commercial Version 4.5