PIC18F4525-E/ML Microchip Technology, PIC18F4525-E/ML Datasheet
PIC18F4525-E/ML
Specifications of PIC18F4525-E/ML
Related parts for PIC18F4525-E/ML
PIC18F4525-E/ML Summary of contents
Page 1
... PIC18F2525/2620/4525/4620 devices with these Device/Revision IDs: Part Number Device ID PIC18F2525 00 1100 110 PIC18F2620 00 1100 100 PIC18F4525 00 1100 010 PIC18F4620 00 1100 000 The Device IDs (DEVID1 and DEVID2) are located at addresses 3FFFFEh:3FFFFFh in configuration space. They are shown in hexadecimal in the format “DEVID2 DEVID1”. ...
Page 2
... Configure the auto-shutdown for software restart by clearing the PRSEN bit (PWM1CON<7>). The PWM can be re-enabled by clearing the ECCPASE bit (ECCP1AS<7>) after the shutdown condition expires. Date Codes that pertain to this issue: All engineering and production devices. © 2008 Microchip Technology Inc. ...
Page 3
... Work around None. Date Codes that pertain to this issue: All engineering and production devices. © 2008 Microchip Technology Inc. PIC18F2525/2620/4525/4620 8. Module: ECCP and CCP The CCP1 and CCP2 configured for PWM mode, with 1:1 Timer2 prescaler and duty cycle set to the period minus 1, may result in the PWM output(s) remaining at a logic low level ...
Page 4
... Disable the auto-restart feature in software, polling the Timer2 Interrupt Flag, TMR2IF, and wait until it is set before clearing the ECCPASE bit. Date Codes that pertain to this issue: All engineering and production devices. Trigger (CCP1CON bits, between TMRxH:TMRxL and In other words, if © 2008 Microchip Technology Inc. ...
Page 5
... TMRT is set and prior to writing subsequent bytes into TXREG. Date Codes that pertain to this issue: All engineering and production devices. © 2008 Microchip Technology Inc. PIC18F2525/2620/4525/4620 17. Module: Timer1/Timer3 When Timer1 or Timer3 is configured for the external clock source and the CCPxCON register ...
Page 6
... Example 2 can be used. This example overwrites the Fast Return register by making a dummy call to Foo with the fast option in the high priority service routine. Date Codes that pertain to this issue: All engineering and production devices. © 2008 Microchip Technology Inc. ...
Page 7
... LowVector (void) { _asm goto MyLowISR _endasm } #pragma code /* return to default code section */ © 2008 Microchip Technology Inc. PIC18F2525/2620/4525/4620 directive instructs the compiler to not use the RETFIE FAST instruction. If the proper high priority interrupt bit is set in the IPRx register, then the interrupt is treated as high priority in spite of the pragma interruptlow directive ...
Page 8
... Example 4. This example illustrates how it reduces the instruction cycle count from 10 cycles to 3: EXAMPLE 4: #pragma code high_vector_section=0x8 void high_vector (void) { _asm CALL high_vector_branch, 1 _endasm } void high_vector_branch (void) { _asm POP GOTO high_isr _endasm } #pragma interrupt high_isr void high_isr (void) { ... } DS80224E-page 8 © 2008 Microchip Technology Inc. ...
Page 9
... N/A 2.05 N/A Work around Use the next higher BOR voltage setting to ensure a low V is detected above 2.0V. DD Date Codes that pertain to this issue: All engineering and production devices. © 2008 Microchip Technology Inc. PIC18F2525/2620/4525/4620 + and V - REF REF PIC18LF2525/2620/4525/4620 (INDUSTRIAL) Min ...
Page 10
... SEN bit will be clear, indicating the bus is Idle. Clearing and setting the SSPEN bit will also reset 2 the I C peripheral and clear the PEN, RSEN and SEN status bits. Date Codes that pertain to this issue: All engineering and production devices. © 2008 Microchip Technology Inc. to clear CY ...
Page 11
... SPI Slave mode, ensure that the SSPOV bit is clear before disabling the module. Date Codes that pertain to this issue: All engineering and production devices. © 2008 Microchip Technology Inc. PIC18F2525/2620/4525/4620 32. Module: MSSP (SPI Mode) When the SPI is using Timer2/2 as the clock ...
Page 12
... Clear the WUE bit in software after the wake- up event has occurred prior to reading the receive buffer, RCREG. 2. Poll the WUE bit and read RCREG after the WUE bit is automatically cleared. Date Codes that pertain to this issue: All engineering and production devices. © 2008 Microchip Technology Inc. the RCIF ...
Page 13
... SSPBUF and clear the WCOL (SSPCON1<7>) bit if necessary. Date Codes that pertain to this issue: All engineering and production devices. © 2008 Microchip Technology Inc. PIC18F2525/2620/4525/4620 39. Module: MSSP In SPI mode, the SDO output may change after the inactive clock edge of the bit ‘0’ output. This may affect some SPI components that read data over 300 ns after the inactive edge of SCK ...
Page 14
... The required value for the resistor varies with the application system’s characteristics and the process variations microcontrollers. Experimentation and thorough encouraged. Date Codes that pertain to this issue: All engineering and production devices. © 2008 Microchip Technology Inc 7-Bit Slave ® Semi- between the testing is ...
Page 15
... Added issues 33-36 (EUSART), 37 (Timer1), 38-41 (MSSP) and 42 (Reset). Added Date Code information to new issues from revision B (issues 23-32). Rev D Document (2/2007) 2 Added issue 43 (MSSP (I C Slave). Rev E Document (3/2008) Added issue 44 (MSSP – SPI Slave). © 2008 Microchip Technology Inc. PIC18F2525/2620/4525/4620 DS80224E-page 15 ...
Page 16
... PIC18F2525/2620/4525/4620 NOTES: DS80224E-page 16 © 2008 Microchip Technology Inc. ...
Page 17
... PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, UNI/O, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. ...
Page 18
... Fax: 886-3-572-6459 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 © 2008 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...