0
  • 聊天消息
  • 系統(tǒng)消息
  • 評論與回復(fù)
登錄后你可以
  • 下載海量資料
  • 學(xué)習(xí)在線課程
  • 觀看技術(shù)視頻
  • 寫文章/發(fā)帖/加入社區(qū)
會員中心
創(chuàng)作中心

完善資料讓更多小伙伴認(rèn)識你,還能領(lǐng)取20積分哦,立即完善>

3天內(nèi)不再提示

Microchip PIC18(L)F25xx83系列MCU CAN應(yīng)用開發(fā)方案

電子工程師 ? 作者:工程師陳翠 ? 2018-06-17 16:45 ? 次閱讀

Microchip公司PIC18(L)F25xx83系列是具有CAN技術(shù)的低功耗高性能微控制器MCU),系列產(chǎn)品中具有多種通信外設(shè)如CAN,SPI,兩個I2C,兩個UART,LIN,DMX和DALI,可以處理智能應(yīng)用的多種有線和無線通信協(xié)議。系統(tǒng)的核采用C匯編優(yōu)化RISC架構(gòu),工作速度高達(dá)64MHz,指令周期62.5ns,有兩個直接內(nèi)存存取(DMA)控制器,主要用在汽車電子工業(yè)應(yīng)用和醫(yī)療電子市場。本文介紹了PIC18(L)FXXK83主要特性,框圖以及Curiosity High Pin Count (HPC)開發(fā)板主要特性和電路圖。

The PIC18(L)FXXK83 is a full-featured CAN product family that can be used in automotive and industrial applications.The multitude of communication peripherals found on the product family, such as CAN, SPI, two I2Cs, two UARTs, LIN,DMX, and DALI can handle a wide range of wired and wireless (using external modules) communication protocols forintelligent applications. This family includes a 12-bit ADC with Computation (ADC2) extensions for automated signalanalysis to reduce the complexity of the application. This, combined with the Core Independent Peripherals integrationcapabilities, enables functions for motor control, power supply, sensor, signal and user interface applications.

PIC18(L)FXXK83主要特性:

Core Features

? C Compiler Optimized RISC Architecture

? Operating Speed:

- Up to 64 MHz clock operation

- 62.5 ns minimum instruction cycle

? Two Direct Memory Access (DMA) Controllers

- Data transfers to SFR/GPR spaces fromeither Program Flash Memory, DataEEPROM or SFR/GPR spaces

- User-programmable source and destinationsizes

- Hardware and software-triggered datatransfers

? System Bus Arbiter with User-ConfigurablePriorities for Scanner and DMA1/DMA2 with

respect to the main line and interrupt execution

? Vectored Interrupt Capability:

- Selectable high/low priority

- Fixed interrupt latency

- Programmable vector table base address

? 31-Level Deep Hardware Stack

? Low-Current Power-on Reset (POR)

? Configurable Power-up Timer (PWRT)

? Brown-Out Reset (BOR)

? Low-Power BOR (LPBOR) Option

? Windowed Watchdog Timer (WWDT):

- Variable prescaler selection

- Variable window size selection

- Configurable in hardware or software

Memory

? Up to 64 KB Flash Program Memory

? Up to 4 KB Data SRAM Memory

? Up to 1 KB Data EEPROM

? Memory Access Partition (MAP):

- Configurable boot and app region sizes withindividual write-protections

? Programmable Code Protection

? Device Information Area (DIA) stores:

- Unique IDs and Device IDs

- Temp Sensor factory-calibrated data

- Fixed Voltage Reference calibrated data

? Device Configuration Information (DCI) stores:

- Erase row size

- Number of write latches per row

- Number of user rows

- Data EEPROM memory size

- Pin count

Operating Characteristics

? Operating Voltage Range:

- 1.8V to 3.6V (PIC18LF25/26K83)

- 2.3V to 5.5V (PIC18F25/26K83)

? Temperature Range:

- Industrial: -40℃ to 85℃

- Extended: -40℃ to 125℃

Power-Saving Functionality

? DOZE mode: Ability to run CPU core slower thanthe system clock

? IDLE mode: Ability to halt CPU core while internalperipherals continue operating

? SLEEP mode: Lowest power consumption

? Peripheral Module Disable (PMD):

- Ability to disable unused peripherals tominimize power consumption

eXtreme Low-Power (XLP) Features

? Sleep mode: 60 nA @ 1.8V, typical

? Windowed Watchdog Timer: 720 nA @ 1.8V,typical

? Secondary Oscillator: 580 nA @ 32 kHz

? Operating Current:

- 4 uA @ 32 kHz, 1.8V, typical

- 45 uA/MHz @ 1.8V, typical

Digital Peripherals

? Three 8-Bit Timers (TMR2/4/6) with HardwareLimit Timer (HLT):

- Hardware monitoring and Fault detection

? Four 16-Bit Timers (TMR0/1/3/5)

? Four Configurable Logic Cell (CLC):

- Integrated combinational and sequential logic

? Three Complementary Waveform Generators(CWGs):

- Rising and falling edge dead-band control

- Full-bridge, half-bridge, 1-channel drive

- Multiple signal sources

- Programmable dead band

- Fault-shutdown input

? Four Capture/Compare/PWM (CCP) modules

? Four 10-bit Pulse-Width Modulators (PWMs)

? Numerically Controlled Oscillator (NCO):

- Generates true linear frequency control

- High resolution using 20-bit accumulator and20-bit increment values

? DSM: Data Signal Modulator:

- Multiplex two carrier clocks, with glitch preventionfeature

- Multiple sources for each carrier

? Programmable CRC with Memory Scan:

- Reliable data/program memory monitoring forfail-safe operation(e.g.,ClassB)

- Calculate CRC over any portion of programmemory

? Two UART Modules:

- Modules are Asynchronous, RS-232, RS-485compatibility.

- One of the UART modules supports LINMaster and Slave, DMX mode, DALI Gearand Device protocols

- Automatic and user-timed BREAK periodgeneration

- DMA Compatible

- Automatic checksums

- Programmable 1, 1.5, and two Stop bits

- Wake-up on BREAK reception

? One SPI module:

- Configurable length bytes

- Configurable length data packets

- Receive-without-transmit option

- Transmit-without-receive option

- Transfer byte counter

- Separate Transmit and Receive Buffers with2-byte FIFO and DMA capabilities

? CAN module:

- Conforms to CAN 2.0B Active Specification

- Three operating modes: Legacy (compatiblewith existing PIC18CXX8/FXX8 CAN modules),Enhanced mode, and FIFO mode.

- Message bit rates up to 1 Mbps

- DeviceNet data byte filter support

- Six programmable receive/transmit buffers

- Three dedicated transmit buffers

- Two dedicated receive buffers

- 16 Full, 29-bit acceptance filters with dynamicassociation

- Three full, 29-bit acceptance masks

- Automatic remote frame handling

- Advanced error management features.

? Two I2C modules, SMBus, PMBus? compatible:

- Dedicated Address, Transmit and Receivebuffers

- Bus Collision Detection with arbitration

- Bus time-out detection and handling

- Multi-Master mode

- Separate Transmit and Receive Buffers with

2-byte FIFO and DMA capabilities

- I2C, SMBus 2.0 and SMBus 3.0, and 1.8Vinput level selections

? Device I/O Port Features:

- 25 I/O pins (PIC18(L)F25K83)

- One input-only pin

- Individually programmable I/O direction,open-drain, slew rate, weak pull-up control

- Interrupt-on-change

- Three External Interrupt Pins

? Peripheral Pin Select (PPS):

- Enables pin mapping of digital I/O

? Two Signal Measurement Timer (SMT):

- 24-bit timer/counter with prescaler

Analog Peripherals

? Analog-to-Digital Converter with Computation(ADC2):

- 12-bit with up to 24 external channels

- Automated post-processing

- Automated math functions on input signals:averaging, filter calculations, oversampling

and threshold comparison

- Operates in Sleep

- Integrated charge pump for improved lowvoltageoperation

? Hardware Capacitive Voltage Divider (CVD):

- Automates touch sampling and reduces softwaresize and CPU usage when touch or

proximity sensing is required

- Adjustable sample and hold capacitor array

- Two guard ring output drives

? Temperature Sensor:

- Internal connection to ADC

- Can be calibrated for improved accuracy

? Two Comparators:

- Low-Power/High-Speed mode

- Fixed Voltage Reference at noninvertinginput(s)

- Comparator outputs externally accessible

? 5-Bit Digital-to-Analog Converter (DAC):

- 5-bit resolution, rail-to-rail

- Positive Reference Selection

- Unbuffered I/O pin output

- Internal connections to ADCs andcomparators

? Voltage Reference:

- Fixed Voltage Reference with 1.024V, 2.048Vand 4.096V output levels

Flexible Oscillator Structure

? High-Precision Internal Oscillator:

- Selectable frequency range up to 64 MHz

- ±1% at calibration (nominal)

? Low-Power Internal 32 kHz Oscillator(LFINTOSC)

? External 32 kHz Crystal Oscillator (SOCS)

? External Oscillator Block with:

- x4 PLL with external sources

- Three crystal/resonator modes up to 20 MHz

- Three external clock modes up to 20 MHz

? Fail-Safe Clock Monitor

? Oscillator Start-up Timer (OST):

- Ensures stability of crystal oscillator sources

The new family is ideal for applications using CAN in the medical, industrial and automotive markets, such as motorized surgical tables, asset tracking, ultrasound machines, automated conveyors and automotive accessories.

Microchip PIC18(L)F25xx83系列MCU CAN應(yīng)用開發(fā)方案

圖1. PIC18(L)F25/26K83系列框圖

Curiosity High Pin Count (HPC)開發(fā)板

The Curiosity High Pin Count (HPC) Development Board supports Microchip’s 28- and 40-pin 8-bit PIC? MCUs. Two unique PDIP sockets are surrounded by dual-rowexpansion headers, which allow for connectivity to all pins on the PIC MCUs.

Programming/debugging is accomplished through the PICkit? On Board(PKOB),eliminating the need for an external programming/debugging tool. The development

board includes a set of four indication LEDs, a potentiometer, and push-button

switches. Additionally, the Curiosity HPC Board integrates two MikroElektronika

microBUS? sockets, which accommodate a variety of plug-in Click? Board modules

that can be used for application development.

The Curiosity High Pin Count (HPC) Development Board kit contains the following:

? Curiosity High Pin Count (HPC) Development Board

? Quick Start Guide

? PIC16F18875 MCU

Microchip PIC18(L)F25xx83系列MCU CAN應(yīng)用開發(fā)方案

圖2.Curiosity High Pin Count (HPC)開發(fā)板外形圖

Microchip PIC18(L)F25xx83系列MCU CAN應(yīng)用開發(fā)方案

圖3.Curiosity HPC開發(fā)板電路圖(1)

Microchip PIC18(L)F25xx83系列MCU CAN應(yīng)用開發(fā)方案

圖4.Curiosity HPC開發(fā)板電路圖(2)

聲明:本文內(nèi)容及配圖由入駐作者撰寫或者入駐合作網(wǎng)站授權(quán)轉(zhuǎn)載。文章觀點僅代表作者本人,不代表電子發(fā)燒友網(wǎng)立場。文章及其配圖僅供工程師學(xué)習(xí)之用,如有內(nèi)容侵權(quán)或者其他違規(guī)問題,請聯(lián)系本站處理。 舉報投訴
  • microchip
    +關(guān)注

    關(guān)注

    52

    文章

    1492

    瀏覽量

    117332
  • Mac
    Mac
    +關(guān)注

    關(guān)注

    0

    文章

    1083

    瀏覽量

    51136
收藏 人收藏

    評論

    相關(guān)推薦

    Microchip PIC18家族指令集

    Microchip PIC18家族指令集
    發(fā)表于 07-27 16:28

    Microchip PIC18F46J50 8位2.4 GHz無線開發(fā)方案

    `Microchip公司的 PIC18F46J50系列是采用nanoWatt XLP技術(shù)的超低功耗高性能USB微控制器,USB符合USB V2.0 規(guī)范,具有出色的計算性能以及豐富的功能集)的同時
    發(fā)表于 04-23 11:13

    【下載】《PIC項目實戰(zhàn):基于PIC18

    `內(nèi)容簡介· · · · · ·Microchip公司開發(fā)PIC18系列微控制器,用于引腳數(shù)多、密度高的復(fù)雜應(yīng)用。PIC18F微控制器提供
    發(fā)表于 01-30 17:53

    有USB與PIC18有MSD設(shè)置嗎?

    for USB with the PIC18 that has MSD setup?When I do a PIC18F25J50 I can only do a CDC and HID.
    發(fā)表于 01-11 12:22

    如何在PIC18中使用EUSART

    嗨,我是PIC18新手,遇到麻煩了。我可以用PIC16F1829和其他的USAART而沒有問題,但是自從我開始使用PIC18,我就不能使用EUSAT了。事實上,我甚至不能讓LATCX高或低!MCLR
    發(fā)表于 01-18 18:32

    Microchip PIC18家族指令集

    Microchip PIC18家族指令集
    發(fā)表于 08-02 14:46 ?56次下載

    PIC18C高檔MCU系列參考手冊

    PIC18系列是高性能、coms、集成了模數(shù)轉(zhuǎn)換器的全靜態(tài)MCU系列。PIC18 MCU采用先進(jìn)
    發(fā)表于 04-26 16:12 ?138次下載
    <b class='flag-5'>PIC18</b>C高檔<b class='flag-5'>MCU</b><b class='flag-5'>系列</b>參考手冊

    Microchip PIC18 Explorer開發(fā)

    Microchip PIC18 Explorer開發(fā)板介紹
    的頭像 發(fā)表于 06-06 13:45 ?3014次閱讀

    貿(mào)澤電子攜手Microchip帶來“PIC18 Q10系列MCU介紹”直播課程

    專注于引入新品推動行業(yè)創(chuàng)新的電子元器件分銷商貿(mào)澤電子(Mouser Electronics)宣布將聯(lián)合Microchip開設(shè)主題為“Microchip PIC18 Q10 系列
    發(fā)表于 12-11 11:49 ?1017次閱讀

    PIC18微控制器系列的數(shù)據(jù)手冊免費下載

    、PSP、10位ADC、WDT、POR和CAN 2.0B Active,以實現(xiàn)最大程度的靈活解決方案。大多數(shù)PIC18設(shè)備將提供8到128千字節(jié)的閃存程序存儲器和256到4千字節(jié)的數(shù)據(jù)RAM;工作電壓
    發(fā)表于 07-01 08:00 ?3次下載
    <b class='flag-5'>PIC18</b>微控制器<b class='flag-5'>系列</b>的數(shù)據(jù)手冊免費下載

    PIC18 PIN (16F628A) 微控制器開發(fā)

    電子發(fā)燒友網(wǎng)站提供《PIC18 PIN (16F628A) 微控制器開發(fā)板.zip》資料免費下載
    發(fā)表于 07-27 10:34 ?0次下載
    <b class='flag-5'>PIC18</b> PIN (16<b class='flag-5'>F</b>628A) 微控制器<b class='flag-5'>開發(fā)</b>板

    Microchip PIC18F4580開發(fā)

    電子發(fā)燒友網(wǎng)站提供《Microchip PIC18F4580開發(fā)板.zip》資料免費下載
    發(fā)表于 08-02 14:29 ?10次下載
    <b class='flag-5'>Microchip</b> <b class='flag-5'>PIC18F</b>4580<b class='flag-5'>開發(fā)</b>板

    AN4705_從PIC18到STM32F0系列的遷移指南

    AN4705_從PIC18到STM32F0系列的遷移指南
    發(fā)表于 11-21 08:11 ?1次下載
    AN4705_從<b class='flag-5'>PIC18</b>到STM32<b class='flag-5'>F</b>0<b class='flag-5'>系列</b>的遷移指南

    基于PIC18系列單片機的DHT11溫濕度采集系統(tǒng)設(shè)計

    基于PIC18系列PIC18F4520)單片機+DHT11的溫濕度采集系統(tǒng)的設(shè)計與制作(Proteus仿真部分)
    的頭像 發(fā)表于 06-16 16:36 ?933次閱讀
    基于<b class='flag-5'>PIC18</b><b class='flag-5'>系列</b>單片機的DHT11溫濕度采集系統(tǒng)設(shè)計

    簡單介紹MicrochipPIC18F8585 MCU

    MicrochipPIC18F8585 MCU,這是一款帶CAN接口的MCU。
    發(fā)表于 11-24 16:52 ?954次閱讀
    簡單介紹<b class='flag-5'>Microchip</b>的<b class='flag-5'>PIC18F</b>8585 <b class='flag-5'>MCU</b>