Microchip PIC18f458
40-Pin High-Performance, Enhanced Flash Micro controllers with CAN Module
High-Performance RISC CPU
- Linear program memory addressing up to 2 Mbytes
- Linear data memory addressing to 4 Kbytes
- 4 MHz-10 MHz oscillator/clock input with PLL active
- 16-bit wide instructions, 8-bit wide data path
- Priority levels for interrupts
- 8 x 8 Single-Cycle Hardware Multiplier
Peripheral Features
- High current sink/source 25 mA/25 mA
- Three external interrupt pins
- Timer 0 module : 8-bit/16-bit timer/counter with 8-bit programmable prescaler
- Timer1 module : 16-bit timer/counter
- Timer 2 module : 8-bit timer/counter with 8-bit period register (time base for PWM)
- Timer 3 module : 16-bit timer/counter
- Secondary oscillator clock option – Timer1/Timer3
- Capture/Compare/PWM (CCP) modules;
- CCP pins can be configured as:
- Capture input : 16-bit, max resolution 6.25 ns
- Compare : 16-bit, max resolution 100 ns (TCY)
- PWM output : PWM resolution is 1 to 10-bit
- Max. PWM freq. @:8-bit resolution = 156 kHz
- 10-bit resolution = 39 kHz
- Enhanced CCP module which has all the featuresof the standard CCP module, but also has the following features for advanced motor control :
- 1, 2 or 4 PWM outputs
- Selectable PWM polarity
- Programmable PWM dead time
Advanced Analog Features
- 10-bit, up to 8-channel Analog-to-Digital Converter module (A/D) with:
- Conversion available during Sleep
- Up to 8 channels available
- Analog Comparator module:
- Programmable input and output multiplexing
- Comparator Voltage Reference module
- Programmable Low-Voltage Detection (LVD) module:
- Supports interrupt-on-Low-Voltage Detection
- Programmable Brown-out Reset (BOR)
CAN bus Module Features
- Complies with ISO CAN Conformance Test
- Message bit rates up to 1 Mbps
- Conforms to CAN 2.0B Active Spec with:
- 29-bit Identifier Fields
- 8-byte message length
- 3 Transmit Message Buffers with prioritization
- 2 Receive Message Buffers
- 6 full, 29-bit Acceptance Filters
- Prioritization of Acceptance Filters
- Multiple Receive Buffers for High Priority
- Messages to prevent loss due to overflow
- Advanced Error Management Features