chipKIT® Development Platform

Inspired by Arduino™

LATx register port mapping

Created Tue, 22 May 2012 19:34:03 +0000 by jcobreros


jcobreros

Tue, 22 May 2012 19:34:03 +0000

Hello, I'm new to the max32, and I'm trying to do fast I/O operations using the LATx registers. The problem is I'm having a hard time figuring out the port mapping for the registers. The PIC32 datasheet has a list, but it doesn't say the port number, only the name (T3CK/AC2TX/RC2...), and most of them don't match the ones on the max32 board reference. Am I missing something? How do I relate the each register bit to a PIC port or max32 port? I hope you guys can help me. Thanks!


dangeljs

Tue, 22 May 2012 21:50:16 +0000

This is from the diligent website on the Max 32:

http://www.digilentinc.com/Data/Products/CHIPKIT-MAX32/chipKIT%20Max32%20Pinout%20Table.xls

The register pins are identifed with RX# where x is the port (A,B,C, etc) and # is the bit number in the register. For example what you wrote before RC2 is register C bit 2 in the "T3CK/AC2TX/RC2..."


jcobreros

Tue, 22 May 2012 22:14:41 +0000

oh man, thank you!