• AVR Freaks

Explorer 16/32 Schematic pin layout mismatch?

Author
LionwoIf777
New Member
  • Total Posts : 14
  • Reward points : 0
  • Joined: 2017/02/06 10:26:44
  • Location: 0
  • Status: offline
2017/04/02 22:38:33 (permalink)
0

Explorer 16/32 Schematic pin layout mismatch?

Hi guys,
 
I have an explorer 16/32 board and a PICMZ322048EFH100
 
I was trying to use one of the on board switches for a simple change notice notification test and couldnt get it working. Which lead to various investigations.
 
Anyway,
 
I ended up setting all the Ports as Digital inputs with pull up, and monitoring Ports A-G, pressing one switch at a time to see which Port registered the change.
 
My results were:
//sw3 - nothing changes
//sw6 - rd13 changes = Pin 80 EBID13/ETXD3/PMD13/RD13
//sw5 - ra7 changes = Pin 90 TRD3/SQID3/RA7
//sw4 - rf8 changes = Pin 58 EBIRDY2/RPF8/SCL3/RF8
 
The explorer board schematic shows:
sw3 should be Pin 83
sw6 should be Pin 84
sw5  should be Pin 92
sw4 should be Pin 80
 
But when those pins are looked up in the PICMZ322048EFH100 reference doc:
Pin 83 = VDD
Pin 84 = VSS
Pin 92 = VSS
Pin 80 EBID13/ETXD3/PMD13/RD13
 
Im not sure if im missing something or the board schematic is wrong, if anyone knows and could clear this up id appreciate it.
post edited by LionwoIf777 - 2017/04/04 18:16:11
#1
LionwoIf777
New Member
  • Total Posts : 14
  • Reward points : 0
  • Joined: 2017/02/06 10:26:44
  • Location: 0
  • Status: offline
Re: Explorer 16/32 Switch pin layout mismatch? 2017/04/04 11:19:25 (permalink)
0
Similarly the board shows:
Pin 49 = Rx for the Serial USB to UART
Pin 50 = Tx for UART to serial USB
 
But configuring those pins for any of the 6 UART is not an option as they are not in the PPS options.
 
Chip documentation shows:
Pin 49 = OSC1/CLKI/RC12
Pin 50 = OSC2/CLKO/RC15
 
The dev board documentation talks about configuring UART 2 to connect to the MCP2221A UART/USB, but no UART is available for those pins.
 
Can someone please give me directions as to what im not understanding about this/ how i can use the dev boards UART/USB.
#2
LionwoIf777
New Member
  • Total Posts : 14
  • Reward points : 0
  • Joined: 2017/02/06 10:26:44
  • Location: 0
  • Status: offline
Re: Explorer 16/32 Switch pin layout mismatch? 2017/04/05 05:51:36 (permalink)
3 (1)
Found the answer. 
 
The PIM doesnt map directly to the Microchips legs.
 
board/PIM board/Microchip
 
It almost maps directly, but a few pins are swapped around.
#3
Kerry_Imming
New Member
  • Total Posts : 5
  • Reward points : 0
  • Joined: 2016/09/19 05:58:10
  • Location: 0
  • Status: offline
Re: Explorer 16/32 Switch pin layout mismatch? 2017/04/26 15:56:45 (permalink)
0
As you found out, you need to look at the PIM schematics.
 
PIM-83 is not connected on PIC32MZ2048EFH100 PIM.  I had to move the S3 function over to S4 to get the demo to work.  (along with other changes)
#4
Jump to:
© 2019 APG vNext Commercial Version 4.5