PIC18LF2539T-I/SO Microchip Technology, PIC18LF2539T-I/SO Datasheet - Page 119

IC MCU FLASH 12KX16 EE AD 28SOIC

PIC18LF2539T-I/SO

Manufacturer Part Number
PIC18LF2539T-I/SO
Description
IC MCU FLASH 12KX16 EE AD 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18LF2539T-I/SO

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
21
Program Memory Size
24KB (12K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
1408 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-SOIC (7.5mm Width)
Processor Series
PIC18LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
1408 B
Interface Type
I2C, SPI, AUSART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
21
Number Of Timers
16 bit
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
DV164005, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
5 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
14.3.3
There are 27 separate API methods for the ProMPT kernel:
void ProMPT_ClearTick(void)
Resources used: 0 stack levels
Description: This function clears the Tick (62.5 ms) timer flag returned by ProMPT_tick(). This function must be
called by any routine that is used for timing purposes.
void ProMPT_DisableBoostMode(void)
Resources used: 0 stack levels
Description: This function disables the Boost mode logic. This method should be called before changing any of the
Boost mode parameters.
void ProMPT_EnableBoostMode(void)
Resources used: 0 stack levels
Description: This function enables the Boost mode logic. Boost mode is entered when a stopped drive is commanded
to start. The drive will immediately go to Boost Frequency and ramp from Start Modulation to End Modulation over the
time period, Boost Time.
unsigned char ProMPT_GetAccelRate(void)
Resources used: 1 stack level
Range of values: 0 to 255
Description: Returns the current Acceleration Rate in Hz/second.
unsigned char ProMPT_GetBoostEndModulation(void)
Resources used: 1 stack level
Range of values: 0 to 200
Description: Returns the current End Modulation (in %) used in the boost logic.
unsigned char ProMPT_GetBoostFrequency(void)
Resources used: 1 stack level
Range of values: 0 to 127
Description: Returns the current Boost Frequency in Hz.
unsigned char ProMPT_GetBoostStartModulation(void)
Resources used: 1 stack level
Range of values: 0 to BoostEndModulation
Description: Returns the Start Modulation (in %) used in the Boost logic.
 2002 Microchip Technology Inc.
Note:
The operation of the Motor Control kernel and its APIs is based on an assumed clock frequency of 20 MHz.
Changing the oscillator frequency will change the timing used in the Motor Control kernel accordingly. To
achieve the best results in motor control applications, a clock frequency of 20 MHz is highly recommended.
ProMPT API METHODS
Preliminary
PIC18FXX39
DS30485A-page 117

Related parts for PIC18LF2539T-I/SO