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

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
PIC18FXX39
unsigned char ProMPT_GetBoostTime()
Resources used: 1 stack level
Range of values: 0 to 255
Description: Returns the time in seconds for Boost mode.
unsigned char ProMPT_GetDecelRate()
Resources used: 1 stack level
Range of values: 0 to 255
Description: Returns the current deceleration rate in Hz/second.
unsigned char ProMPT_GetFrequency(void)
Resources used: 1 stack level
Range of values: 0 to 127
Description: Returns the current output frequency in Hz. This may not be the frequency commanded due to Boost or
Accel/Decel logic.
unsigned char ProMPT_GetModulation(void)
Resources used: Hardware Multiplier; 1 stack level
Range of values: 0 to 200
Description: Returns the current output modulation in %.
unsigned char ProMPT_GetParameter(unsigned char parameter)
Resources used: 1 stack level
Description: In addition to its pre-defined API methods, the ProMPT kernel allows the user to custom define up to 16
functions for control or communication purposes not covered by the ProMPT APIs. These parameters are used to com-
municate with motor control GUI evaluation tools, such as Microchip’s DashDriveMP
. This method returns the current
TM
value of any one of the parameters.
unsigned char ProMPT_GetVFCurve(unsigned char point)
Resources used: Hardware Multiplier; 1 stack level
Description: This function returns one of the 17 modulation values (in %) of the V/F curve. Each point represents a
frequency increment of 8 Hz, ranging from point 0 (0 Hz) to point 16 (128 Hz).
void ProMPT_Init(unsigned char PWMfrequency)
Resources used: 64 Bytes RAM; Timer2; PWM1 and PWM2; High Priority Interrupt Vector; Hardware Multiplier; fast
call/return; FSR 0; TBLPTR; 2 stack levels
PWMfrequency values: 0 or 1
Description: This function must be called before all other ProMPT methods, and it must be called only once. This
routine configures Timer2 and the PWM outputs.
When PWMfrequency is ‘0’, the module’s operating frequency is 9.75 kHz. When PWMfrequency is ‘1’, the module’s
operating frequency is 19.53 kHz.
Note:
Since the high priority interrupt is used, the fast call/return cannot be used by other routines.
Preliminary
 2002 Microchip Technology Inc.
DS30485A-page 118

Related parts for PIC18LF2539T-I/SO