Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Meet the PIC32-PINGUINO-MICRO
22-03-2012, 06:27 PM,
#11
RE: Meet the PIC32-PINGUINO-MICRO
Tochi,

Also coming from Arduino, when I first saw the state of development of the Pinguino, I also thought "bummer".

But, things ain't always as they seem:

- The Pinguino32 is a MUCH more powerful platform than the Arduino
- Given the current state of development (Arduino has several years headstart), Pinguino development is inherently "closer to the metal" than Arduino - and Microchip has a free version of their MPLAB X if you want to use the HW for things the Pinguino platform can't (yet) handle
- Some "curses" are actually blessings in disguise - The "having to press a couple of buttons" to enter bootloader mode is a case in point. Sure, real easy to update code on the Arduino for testing, etc....

That is, until you realise that plugging in USB (whether you *wanted* to enter bootloader or not) RESETS the board. Try using USB to update parameters on a PRODUCTION board like this. Not fun. Much easier to have full control and only have the board go into bootloader when you WANT TO.

Cheers,

Augusto

(04-01-2012, 04:05 PM)tochinet Wrote: Two months later, and ... no activity / response from the admins /active users whatsoever. How sad ...

BTW, I also realise (due to one of the last contrib to the site) that for loading a sketch on Pinguino, you need to press manually both reset and user button in some specific way. Gone the ease of Arduino as well. Sorry Pinguino, I won't join this boat. Just ordered a Nano clone instead. Sad to have to stay with 8-bit Atmel, but it's the only _reliable_ platform today. Still I hope to go ARM Cortex some day in 2012... (STM32, Energy Micro or similar).

My last word here : admin, please react and advocate for Pinguino ... Some people DO read these posts on the forums ...

Reply
05-04-2012, 09:46 AM, (This post was last modified: 05-04-2012, 01:44 PM by LubOlimex.)
#12
RE: Meet the PIC32-PINGUINO-MICRO
Something I've noticed and would like to mention here. If you select PIC32 PINGUINO MICRO from preferences -> board, you might have trouble identifying which processor pin/port corresponds to which PINGUINO IDE pin number. The two ways to deal with this is either to check the file C:\PinguinoX.2\p32\include\pinguino\core\digitalw.c (the ifdef part) where the LED1 would be PINGUINO pin 32 (from the schematic I see it is PIC32 port G6 which from digitalw.c i see is pin 32). The other way is instead of selecting PIC32 PINGUINO MICRO from preferences -> board select PIC32 Pinguino_OTG. Then check this contribution by Mark in the wiki http://wiki.pinguino.cc/images/7/7f/PIC3...n_2012.pdf .

I also added a table for Pinguino IDE pins and their corresponding pins/ports on the PIC32 in the manual.

Regards,
Lub/OLIMEX
Reply
05-05-2012, 04:40 PM, (This post was last modified: 06-05-2012, 04:32 PM by KiloOne.)
#13
BEWARE RTCC use requires osc and caps
BEWARE -- It is not immediately apparent from the MICRO user manual that in order to use the RTCC function of the Pic processor, you need to add a 32khz crystal and two 27pf caps on CON1 1-2.

The OTG board has these components installed already on the OTG board.
PIC32-Pinguino-OTG Rev C and PIC32-PINGUINO-MICRO rev.B
Win XP SP3
r381 x.3 Big Grin
AND spi.c {} error fixed
AND sdmmc.c pin error fixed
AND diskio.c fixed, MICRO can't use the RTCC
AND analog.c fixed for MICRO
Reply
06-05-2012, 03:56 PM,
#14
RE: Meet the PIC32-PINGUINO-MICRO
Maybe a 32kHz xtal?

John
Reply
06-05-2012, 04:32 PM,
#15
RE: Meet the PIC32-PINGUINO-MICRO
Ooops, 'm' and 'k' are so close together on keyboard Dodgy
PIC32-Pinguino-OTG Rev C and PIC32-PINGUINO-MICRO rev.B
Win XP SP3
r381 x.3 Big Grin
AND spi.c {} error fixed
AND sdmmc.c pin error fixed
AND diskio.c fixed, MICRO can't use the RTCC
AND analog.c fixed for MICRO
Reply
16-01-2013, 11:44 PM,
#16
RE: Meet the PIC32-PINGUINO-MICRO
What about right pinout opf Micro Rev.b?
The schematic is a mess, how do I access pin SCL1/IC3/PMCS2/PMA15/INT3/RD10 ?
Pin 1 or 3 or 2 or 15 or 3 or 10????
Reply
17-01-2013, 05:13 PM,
#17
RE: Meet the PIC32-PINGUINO-MICRO
Hi jumpjack,

SCL = pin SCL1/IC3/PMCS2/PMA15/INT3/RD10 (PIC32MX440F256H pin 44) is available on the UEXT connector pin 5.

From your other posts the other pin you are likely to be interested in is SDA = pin #U1CTS/SDA1/IC2/INT2/RD9 (PIC32MX440F256H pin 43 ) is available on the UEXT connector pin 6.

SDA2 and SCL2 are also available on the UEXT connector but will need pull-up resistors if you wish to use the second I2C channel.

There does appear to be a convention used in the Olimex schematics that labels ON lines are connected but have nothing to do with labels within boxes. Hope this helps.

Regards
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
17-01-2013, 05:31 PM,
#18
RE: Meet the PIC32-PINGUINO-MICRO
(17-01-2013, 05:13 PM)mf01 Wrote: Hi jumpjack,

SCL = pin SCL1/IC3/PMCS2/PMA15/INT3/RD10 (PIC32MX440F256H pin 44) is available on the UEXT connector pin 5.

From your other posts the other pin you are likely to be interested in is SDA = pin #U1CTS/SDA1/IC2/INT2/RD9 (PIC32MX440F256H pin 43 ) is available on the UEXT connector pin 6.

SDA2 and SCL2 are also available on the UEXT connector but will need pull-up resistors if you wish to use the second I2C channel.

There does appear to be a convention used in the Olimex schematics that labels ON lines are connected but have nothing to do with labels within boxes. Hope this helps.

Regards

thanks, but I seleced those pins randomly: I'd actually need FULL pin mapping.
Reply
17-01-2013, 05:58 PM,
#19
RE: Meet the PIC32-PINGUINO-MICRO
Hi jumpjack,

I am not sure what you mean by FULL pin mapping. The physical connections are documented in the Olimex documentation (schematic and board manual) which also includes some details of the mapping of the Pinguino IDE PIN numbers. If you are looking for a full cross reference between the various numbering and reference schemes then I am not sure such a thing exists.

This PIC32-Pinguino_OTG_Xref_Table is one I generated with help from other users for the PIC32 OTG board and could be a suitable starting point for a similar table for the PIC32 Micro in that it already has all the PIC32MX440F256H IC pins.

Regards
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
17-01-2013, 06:33 PM,
#20
RE: Meet the PIC32-PINGUINO-MICRO
(17-01-2013, 05:58 PM)mf01 Wrote: could be a suitable starting point for a similar table for the PIC32 Micro in
This is my point: I only find specifications SIMILAR to PIC32-MICRO's ones!
And I can't use trial-and-error method to figure out which pins to use: I want to log a 0-5V voltage, if I put it on wrong pin I'll burn the chip!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)