Update and configure an existing MHC based MPLAB Harmony v3 project to MCC based project: Step 2

Step 2.1: Verify the UART, I2C, DMA, and TMR peripheral configurations

1

Select UART6 PLIB and verify the UART Configuration Options.

verify_uart6.png
Figure 1

2

Select I2C1 PLIB and verify the I2C Configuration Options.

verify_i2c1.png
Figure 2

3

Select TMR1 PLIB and verify the Timer Configuration Options.

verify_tmr1.png
Figure 3

4

Open DMA Configuration under Plugins: and verify the DMA Configuration Options.

verify_dma.png
Figure 4

Verify DMA Channel configurations.

verify_dma_channel.png
Figure 5

Step 2.2: Verify the Switch and LED pin configurations

1

Open the MCC Pin Configuration under Plugins: to verify the pin configurations.

open_pin_configuration.png
Figure 6

2

Select the Pin Settings tab and sort Order the entries by Ports as shown in Figure 7.

verify_pins.png
Figure 7

a

Verify I2C1 Pins: Scroll down to the Pin #95 and check the PORT pin RA14 Function is set to SCL1. Scroll down to the Pin #96 and check the PORT pin RA15 Function is set to SDA1.

b

Verify UART6 Pins: Scroll down to the Pin #79 and check the PORT pin RF2 Function is set to U6TX.

c

Verify GPIO Pins: Verify the following GPIO pin configurations.

  • SW1: Scroll down to the Pin #131 and check the PORT pin RJ4 Custom Name is set to SW1, Function is set to GPIO, Direction is set to In, Change Notification and Pull Up is Selected.
  • SW2: Scroll down to the Pin #132 and check the PORT pin RJ5 Custom Name is set to SW2, Function is set to GPIO, Direction is set to In, Change Notification and Pull Up is Selected.
  • LED1: Scroll down to the Pin #134 and check the PORT pin RJ7 Custom Name is set to LED1, Function is set to GPIO, Direction is set to Out, and Latch is set to High.



Next Step >

© 2022 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.