![Microchip Technology PIC16F15244 Curiosity Nano Hardware User'S Manual Download Page 26](http://html1.mh-extra.com/html/microchip-technology/pic16f15244-curiosity-nano/pic16f15244-curiosity-nano_hardware-users-manual_1786043026.webp)
4.2.2
Mechanical Switch
The PIC16F15244 Curiosity Nano board has one mechanical switch. This is a generic user-configurable switch.
When the switch is pressed, it will drive the I/O line to ground (GND).
Tip:
There is no externally connected pull-up resistor on the switch. To use the switch, make sure that an
internal pull-up resistor is enabled on pin RC2.
Table 4-2. Mechanical Switch
PIC16F15244 Pin
Description
Shared Functionality
RC2
User switch (SW0)
4.2.3
I2C Pullups
An I2C bus requires pull-up resistors to function. Should no other device on the I2C bus have them, the
PIC16F15244 Curiosity Nano provides footprints for two 0402 SMD resistors (not mounted) so that the pull-ups can
be soldered on. These resistors will pull the I2C lines to VCC_TARGET.
Figure 4-4. PIC16F15244 Curiosity Nano I2C resistor footprints
I2C SDA
RB4
I2C SCL
RB6
Note:
The PIC16F15244 also has internal pull-ups that can be enabled as an alternative to soldering.
Table 4-3. PIC16F15244 Curiosity Nano I2C pins
PIC16F15244 Pin
Description
Shared Functionality
RB4
I2C SDA
RB6
I2C SCL
4.2.4
On-Board Debugger Implementation
PIC16F15244 Curiosity Nano features an on-board debugger that can be used to program and debug the
PIC16F15244 using ICSP. The on-board debugger also includes a virtual serial port (CDC) interface over UART and
debug GPIO. MPLAB
®
X IDE can be used as a front-end for the on-board debugger for programming and debugging.
can be used as a front-end for the CDC and debug GPIO.
4.2.4.1
On-Board Debugger Connections
The table below shows the connections between the target and the debugger section. All connections between the
target and the debugger are tri-stated as long as the debugger is not actively using the interface. Hence, since there
are little contaminations of the signals, the pins can be configured to anything the user wants.
For further information on how to use the capabilities of the on-board debugger, see
.
PIC16F15244 Curiosity Nano
Hardware User Guide
©
2020 Microchip Technology Inc.
User Guide
DS50003045A-page 26