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
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
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- The story I have to tell about Yatli+!
- Raspberry Pi Pico is out~ I originally said that I would not review it before the New Year, but I am here to recommend this board to you~~
- PyBoard W5500 firmware compilation issue
- Discussion and help
- "Playing with the board" + lighting up the SPI touch screen of Xintao
- &FF0000 and &880000 are both red. What is the difference between these two reds?
- LIS2MDL three-axis magnetometer package and code
- Live broadcast with prizes: Enter the TI robot production class, starting on Friday, reservations are in progress! (Share 100% to get gifts)
- Do you have any use for STM8S005C6T6? Special price for delivery
- Explanation on DSP devices and general-purpose processors (GPP)