Jump to content
  • 0

wrong AtoD pins on uC32


btb4198

Question

ok, so it seem like A0 on J7 is really A2 and A5 is really A7. I got example code from Microchip for both A2 and A5 but they seem to only work for pins A0 and A7. 

so something is really wrong ...

I tried this with two different uC32 boards and it is the sample for both.

can some one check in to this ?

A2 should be 3rd one down on J7, that is on the outside row and A5 should be the last one on the outside row at the end of the uC32  board on J7 right ?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Hello,

What you are saying is not quite correct. 

In order to clarify the matter, please take a look at the UC32 reference manual:

https://reference.digilentinc.com/_media/chipkit_uc32:chipkit_uc32_rm.pdf

At page 11 you can see the start of a large table which describes the board's pins.Each line corresponds to a signal on the board. The first column is the chipkit pin number/name. This is what you can see on the board's silkscreen. The second column is related to the connector where the signal can be found and the fourth column is the PIC32 signal name.

Looking at the table we can easily see that chipkit pin A0 (silkscreen) is connected to PIC32 pin AN2 and chipkit pin A7 is connected to AN5 however this is just a way of naming the pins. If you are working with MPIDE then you will use the chipkit pins and if you are working with MPLAB you will use the PIC32 pins. The chipkit pins are emphasized because the UC32 was designed to be used with MPIDE. This does not mean that the pin numbers are wrong.

Sergiu

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...