Microchip PIC18F46J50 MPLAB Development Solution

Publisher:GoldenDreamLatest update time:2011-05-27 Keywords:Microchip Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Microchip's PIC18F46J50 series is a low-voltage Universal Serial Bus (USB) microcontroller product series with excellent computing performance and rich feature sets. It is an ideal choice for many high-performance, low-cost applications. This article introduces the main features of the PIC18F46J50 series, the block diagrams of the PIC18F2XJ50 (28 pins) and PIC18F4XJ50 (44 pins), the main features of the PIC18F MPLAB Starter Development Kit, the application block diagram and the programmer/debugger block diagram, and the detailed circuit diagram of the MPLAB Starter Development Kit.

PIC18F46J50 Family Data Sheet

This series is a new low-voltage Universal Serial Bus (USB) microcontroller product series that retains the main traditional advantages of all PIC18 microcontrollers (i.e. excellent computing performance and rich feature sets) while offering extremely high cost-performance. These features make the PIC18F46J50 series an ideal choice for many high-performance, low-cost applications.

MCU features:

• Maximum allowable input voltage is 5.5V (pins used for digital functions only)

• Low power, high speed CMOS flash memory technology

• Its architecture facilitates C compiler optimization and generation of reentrant code

• Power management features:

- Operation: CPU working, peripherals working, SRAM working

- Idle: CPU not working, peripherals working, SRAM working

- Sleep: CPU does not work, peripherals do not work, SRAM works

- Deep sleep: CPU does not work, peripherals do not work, SRAM does not work, current consumption is typically 100 nA

• Interrupt priority

• Self-programmable under software control

• 8 x 8 single-cycle hardware multiplier

• Extended Watchdog Timer (WDT):

- Programmable period from 4 ms to 131s

• Single-supply In-Circuit Serial Programming™ (ICSP™) via two pins

• In-Circuit Debug (ICD) with 3 breakpoints via two pins

• Operating voltage range is 2.0V to 3.6V

• On-chip 2.5V regulator

• Flash program memory is rated for at least 10,000 erase/write cycles and has a minimum 20-year data retention

Universal Serial Bus (USB) features:

• Compliant with USB V2.0 specification

• Full-speed (12 Mbps) and low-speed (1.5 Mbps) operation

• Supports control, interrupt, isochronous and bulk transfers

• Supports up to 32 endpoints (16 in each direction)

• The USB module can use any RAM location on the device as a USB endpoint buffer

• On-chip USB transceiver

Flexible oscillator structure:

• High-precision internal oscillator for USB

• Two external clock modes with frequencies up to 48 MHz

• Internal 31 kHz oscillator, adjustable internal oscillator, 31 kHz to 8 MHz or 48 MHz (with PLL)

• Secondary oscillator using Timer1 (operating at 32 kHz)

• Fail-Safe Clock Monitor (FSCM):

- Safely shuts down the device when the clock stops

• Programmable reference clock output generator

Peripheral features:

• Peripheral Pin Select:

- Allows many peripherals to independently map I/O

- Continuous hardware integrity checks and safety interlocks prevent accidental configuration changes

• Hardware Real-Time Clock and Calendar (RTCC):

- Provides clock, calendar and alarm functions

• High current sink/source: 25 mA/25 mA (PORTB and PORTC)

• 4 programmable external interrupts

• 4 input change interrupts

• Two Enhanced Capture/Compare/PWM (ECCP) modules:

- 1, 2 or 4 PWM outputs

- Selectable polarity

- Programmable dead band

- Auto-shutdown and auto-restart

- Pulse steering control

• Two Master Synchronous Serial Port (MSSP) modules supporting 3-wire SPI (all 4 modes) and I2C™ Master/Slave modes

• 8-bit Parallel Master Port/ Enhanced Parallel Slave Port

• Dual rail-to-rail analog comparators with input multiplexing

• Up to 13 channels of 10-bit analog-to-digital (A/D) converter modules:

- Automatic collection function

- Conversion possible during sleep mode

- Self-calibration

• High/Low Voltage Detection Module

• Charge Time Measurement Unit (CTMU):

- Touch sensing supporting capacitive touch screens and capacitive switches

• Two Enhanced USART modules:

- Supports RS-485, RS-232 and LIN/J2602

- Automatically wake up when a start bit is received

• Automatic baud rate detection

Figure 1. PIC18F2XJ50 (28-pin) block diagram

Figure 2. PIC18F4XJ50 (44 pins) block diagram

PIC18F MPLAB Starter Development Kit

MPLAB Starter Kit for PIC18F User's Guide

The MPLAB Starter Kit for PIC18F provides an all-in-one solution for debugging and programming applications using Microchip's own MPLAB Integrated Development Environment (IDE). A USB connection to a host computer supplies communications and power to the board; no additional external power supply is needed.

The starter kit includes integrated debug and programmer circuitry that allows applications to be programmed onto the application side of the PIC18F MCU and then debugged, all using MPLAB IDE. The need for an additional programmer or hardware interface has been completely eliminated.

The application side of the starter kit contains a range of hardware components to demonstrate the utility and processing power of Microchip's PIC18F46J50 family USB

microcontrollers.

To communicate with and program the starter kit, the following hardware and software

requirements must be met:

• PC compatible system with CD-ROM drive

• One available USB port on the PC or a powered USB hub

• MicroSD flash memory card (a card preloaded with demo applications is provided)

• Microsoft® Windows® 2000 SP4, Windows XP SP2 or Windows Vista® (32-bit)

Figure 3. PIC18F MPLAB Starter Development Kit Outline

Figure 4. PIC18F46J50 application block diagram

Figure 5. PIC18F67J50 Starter Kit Programmer/Debugger Block Diagram

STARTER KIT PROGRAMMER/DEBUGGER BLOCK DIAGRAM

Figure 6. PIC18F MPLAB Starter Development Kit Circuit Diagram (1): Programmer/Debugger System

Figure 7. PIC18F MPLAB Starter Development Kit Circuit Diagram (2): Application MCU, Soft-Start Circuit, Accelerometer and Switch

Figure 8. PIC18F MPLAB Starter Kit circuit diagram (3): OLED display, SD interface, application-side USB connector and power monitor, and other connectors

Keywords:Microchip Reference address:Microchip PIC18F46J50 MPLAB Development Solution

Previous article:Design of wireless data transmission system based on nRF24L01 and PIC16F877
Next article:Research on dsPIC and its application in AC variable frequency speed regulation

Recommended ReadingLatest update time:2024-11-17 00:25

aicas and Microchip collaborate to simplify V2X design
Recently, aicas and Microchip announced a partnership. Microchip is a leading provider of smart, connected and secure embedded control solutions. aicas provides intelligent data access through its EdgeSuite and Jamaica products, which are used in millions of devices and vehicles. Customers such as industrial compani
[Embedded]
Microchip Announces Low-Cost FPGA Development Kit PolarFire SoC Discovery Kit
Microchip announced the PolarFire SoC Discovery Kit, a low-cost development board for Linux and real-time applications. The SoC Discovery Kit is the latest development board launched by Microchip for the PolarFire series of FPGAs. The PolarFire series is the first SoC FPGA with a built-in RISC-V CPU. They provide lo
[Embedded]
Microchip Announces Low-Cost FPGA Development Kit PolarFire SoC Discovery Kit
Microchip releases a variety of PIC® and AVR® microcontroller products for today's mainstream embedded designs
Microchip releases a variety of PIC® and AVR® microcontroller products for today's mainstream embedded designs Microchip Expands 8-bit PIC® and AVR® Microcontrollers with Five New Product Families and More Than 60 New Devices Product Lineup In 2022, as smartphones
[Embedded]
Microchip releases a variety of PIC® and AVR® microcontroller products for today's mainstream embedded designs
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号