Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pin Layout Pinguino32 Micro
23-02-2012, 03:57 PM,
#1
Photo  Pin Layout Pinguino32 Micro
I've tried finding the pinning of this board. Only P8 and P19 didn't work.
Hopefully it is a start.

Reply
23-02-2012, 04:55 PM,
#2
RE: Pin Layout Pinguino32 Micro
Are you trying one by one - the "formal" pin mapping for the devices can be found at http://www.pinguino.cc/download/doc/Mapping/

(23-02-2012, 03:57 PM)Henk van Beek Wrote: I've tried finding the pinning of this board. Only P8 and P19 didn't work.
Hopefully it is a start.

Reply
23-02-2012, 06:06 PM,
#3
RE: Pin Layout Pinguino32 Micro
Unfortunately the Pinguino Micro is too new to be on the page linked to by acmbc68. The only place I have found it is on the Olimex website. A pdf version is at :-

PIC32-PINGUINO-MICRO schematic in PDF format.

Looking at the latest version of digitialw.c (r268 19 Feb 2012) P8 would appear to correspond to RB13 and P19 correspond to RD10. Referring to the Olimex Schematic linked to above gives :-

P8 >> RB13 >> IC Pin 28 >> MMC_#SS (which is connected to the SD/MMC connector pin 2)

and

P19 >> RD10 >> IC Pin 44 >> SCL (which is connected to UEXT connector pin 5).

Have you tried these connections - I suspect their linking to these particular connectors is for historic reasons and compatibility with software developed for other boards.

Regards

Mark
Board = PIC32-Pinguino-OTG Rev C
OS = Linux Unbuntu 11.10 till 26 Apr 2012
OS = Linux Unbuntu 12:04 from 27 Apr 2012
Reply
23-02-2012, 10:13 PM,
#4
RE: Pin Layout Pinguino32 Micro
I agree concerning P19
But, P8 >> RB14 >> IC Pin 29 >> Conn2 - 7
Reply
23-02-2012, 10:28 PM, (This post was last modified: 23-02-2012, 10:31 PM by mf01.)
#5
RE: Pin Layout Pinguino32 Micro
I do not have a Pinguino32 Micro so cannot check but what you are saying for P8 does not seem to be consistent with the digitalw.c file. Looking at the portmask and pinmask entries for P8 for the Pinguino32 micro in digitalw.c I see entries of 1 and 0x2000 respectively with corresponding to Register B (which we agree) and 0x2000 corresponding to bit 13 (remembering that both arrays start with element 0 (P0) and 0x01 = bit 0). Unless I am misreading the digitalw.c file P9 = RB14 = IC pin 29 = conn 2 - 7.

Regards

Mark
Board = PIC32-Pinguino-OTG Rev C
OS = Linux Unbuntu 11.10 till 26 Apr 2012
OS = Linux Unbuntu 12:04 from 27 Apr 2012
Reply
24-02-2012, 11:11 AM,
#6
RE: Pin Layout Pinguino32 Micro
Hi Guys,
digitalw.c for PIC32-Micro has not been yet updated.
Please, don't trust it.
Henk, can you take a look at digitalw.c (last svn version) PIC32-220 IO map to see how it works and maybe update the Micro's part ?
Thank you.
Régis


(23-02-2012, 10:28 PM)mf01 Wrote: I do not have a Pinguino32 Micro so cannot check but what you are saying for P8 does not seem to be consistent with the digitalw.c file. Looking at the portmask and pinmask entries for P8 for the Pinguino32 micro in digitalw.c I see entries of 1 and 0x2000 respectively with corresponding to Register B (which we agree) and 0x2000 corresponding to bit 13 (remembering that both arrays start with element 0 (P0) and 0x01 = bit 0). Unless I am misreading the digitalw.c file P9 = RB14 = IC pin 29 = conn 2 - 7.

Regards

Mark

It is easier to complain than it is to do, but it is better to do than it is to complain.
Reply
24-02-2012, 04:33 PM,
#7
RE: Pin Layout Pinguino32 Micro
Answer to Mf01:

You are right for the Pinguino32_Otg
I am right for the Pinguino32_Micro which is called "PIC32_PINGUINO"
in the file "digitialw.c".
Reply
24-02-2012, 05:15 PM,
#8
RE: Pin Layout Pinguino32 Micro
Hi Henk,

Noting the "health warning" from Regis, I think we may be looking at different versions of the digitalw.c file.

In the latest trunk version (svn r268) there is a section for PIC32_PINGUINO_MICRO which appears to be identical to that for PIC32_PINGUINO_OTG and different to that for PIC32_PINGUINO.

But given the comments from Regis, this may be academic anyway ;-).

Regards

Mark
Board = PIC32-Pinguino-OTG Rev C
OS = Linux Unbuntu 11.10 till 26 Apr 2012
OS = Linux Unbuntu 12:04 from 27 Apr 2012
Reply
24-02-2012, 05:21 PM,
#9
RE: Pin Layout Pinguino32 Micro
Regis,
I can't even figure it out where "PIC32_PINGUINO" is defined.
I don't know how to begin participating . . .
Reply
24-02-2012, 05:39 PM,
#10
RE: Pin Layout Pinguino32 Micro
Henk,
Boards and Proc. names are defined at the compile/link time (see your Makefile).
Here is the latest version of digitalw.c that you could update for the Micro.
This file should replace the one you have in p32/include/pinguino/core
I added some new defines to help checking/modifying it.
Have a look and tell me if you need some more info.
Régis






(24-02-2012, 05:21 PM)Henk van Beek Wrote: Regis,
I can't even figure it out where "PIC32_PINGUINO" is defined.
I don't know how to begin participating . . .



Attached Files
.c   digitalw.c (Size: 8.72 KB / Downloads: 18)
It is easier to complain than it is to do, but it is better to do than it is to complain.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)