參數(shù)資料
型號: DSPIC30F5015-20E/PT
廠商: Microchip Technology
文件頁數(shù): 38/66頁
文件大?。?/td> 0K
描述: IC DSPIC MCU/DSP 66K 64TQFP
產品培訓模塊: Asynchronous Stimulus
標準包裝: 160
系列: dsPIC™ 30F
核心處理器: dsPIC
芯體尺寸: 16-位
速度: 20 MIPS
連通性: CAN,I²C,SPI,UART/USART
外圍設備: 高級欠壓探測/復位,電機控制 PWM,QEI,POR,PWM,WDT
輸入/輸出數(shù): 52
程序存儲器容量: 66KB(22K x 24)
程序存儲器類型: 閃存
EEPROM 大?。?/td> 1K x 8
RAM 容量: 2K x 8
電壓 - 電源 (Vcc/Vdd): 2.5 V ~ 5.5 V
數(shù)據(jù)轉換器: A/D 16x10b
振蕩器型: 內部
工作溫度: -40°C ~ 125°C
封裝/外殼: 64-TQFP
包裝: 托盤
2010 Microchip Technology Inc.
DS70102K-page 43
dsPIC30F Flash Programming Specification
11.7
Writing Configuration Memory
The FOSC, FWDT, FBORPOR and FICD registers are
not erasable. It is recommended that all Configuration
registers be set to a default value after erasing program
memory. The FWDT, FBORPOR and FICD registers
can be set to a default all ‘1’s value by programming
0xFFFF to each register. Since these registers contain
unimplemented bits that read as ‘0’ the default values
shown in Table 11-6 will be read instead of 0xFFFF.
The recommended default FOSC value is 0xC100,
which selects the FRC clock oscillator setting.
The FGS, FBS and FSS Configuration registers are
special since they enable code protection for the
device. For security purposes, once any bit in these
registers is programmed to ‘0’ (to enable some code
protection feature), it can only be set back to ‘1’ by
performing a Bulk Erase or Segment Erase as
described
in
these bits from a ‘0’ to ‘1’ is not possible, but they may
be programmed from a ‘1’ to a ‘0’ to enable code
protection.
Table 11-7 shows the ICSP programming details for
clearing the Configuration registers. In Step 1, the
Reset vector is exited. In Step 2, the write pointer (W7)
is loaded with 0x0000, which is the original destination
address (in TBLPAG 0xF8 of program memory). In
Step 3, the NVMCON is set to program one Configura-
tion register. In Step 4, the TBLPAG register is
initialized, to 0xF8, for writing to the Configuration
registers. In Step 5, the value to write to the each
Configuration register (0xFFFF) is loaded to W6. In
Step 6, the Configuration register data is written to the
write latch using the TBLWTL instruction. In Steps 7 and
8, the NVMCON is unlocked for programming and the
programming cycle is initiated, as described in
Mode”. In Step 9, the internal PC is set to 0x100 as a
safety measure to prevent the PC from incrementing
into unimplemented memory. Lastly, Steps 3-9 are
repeated six times until all seven Configuration
registers are cleared.
TABLE 11-6:
DEFAULT CONFIGURATION
REGISTER VALUES
Address
Register
Default Value
0xF80000
FOSC
0xC100
0xF80002
FWDT
0x803F
0xF80004
FBORPOR
0x87B3
0xF80006
FBS
0x310F
0xF80008
FSS
0x330F
0xF8000A
FGS
0x0007
0xF8000C
FICD
0xC003
TABLE 11-7:
SERIAL INSTRUCTION EXECUTION FOR WRITING CONFIGURATION
REGISTERS
Command
(Binary)
Data
(Hexadecimal)
Description
Step 1: Exit the Reset vector.
0000
040100
000000
GOTO 0x100
NOP
Step 2: Initialize the write pointer (W7) for the TBLWT instruction.
0000
200007
MOV
#0x0000, W7
Step 3: Set the NVMCON to program 1 Configuration register.
0000
24008A
883B0A
MOV
#0x4008, W10
MOV
W10, NVMCON
Step 4: Initialize the TBLPAG register.
0000
200F80
880190
MOV
#0xF8, W0
MOV
W0, TBLPAG
Step 5: Load the Configuration register data to W6.
0000
2xxxx0
000000
MOV
#<CONFIG_VALUE>, W0
NOP
相關PDF資料
PDF描述
PIC18F8520-I/PT IC MCU FLASH 16KX16 EEPROM80TQFP
PIC16C74A-04/P IC MCU OTP 4KX14 A/D PWM 40DIP
202173-7 CONN GUIDE PIN CORNER 104CF POS
PIC32MX664F128L-I/BG MCU PIC 128KB FLASH 121XBGA
PIC24FJ256DA210-I/PT MCU PIC 16BIT FLASH 256K 100TQFP
相關代理商/技術參數(shù)
參數(shù)描述
dsPIC30F5015-20I/PT 功能描述:數(shù)字信號處理器和控制器 - DSP, DSC 20MIPS 66 KB RoHS:否 制造商:Microchip Technology 核心:dsPIC 數(shù)據(jù)總線寬度:16 bit 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:2 KB 最大時鐘頻率:40 MHz 可編程輸入/輸出端數(shù)量:35 定時器數(shù)量:3 設備每秒兆指令數(shù):50 MIPs 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 封裝 / 箱體:TQFP-44 安裝風格:SMD/SMT
dsPIC30F5015-30I/PT 功能描述:數(shù)字信號處理器和控制器 - DSP, DSC 30MIPS 66 KB RoHS:否 制造商:Microchip Technology 核心:dsPIC 數(shù)據(jù)總線寬度:16 bit 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:2 KB 最大時鐘頻率:40 MHz 可編程輸入/輸出端數(shù)量:35 定時器數(shù)量:3 設備每秒兆指令數(shù):50 MIPs 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 封裝 / 箱體:TQFP-44 安裝風格:SMD/SMT
dsPIC30F5015T-20E/PT 功能描述:數(shù)字信號處理器和控制器 - DSP, DSC 20MIPS 66 KB RoHS:否 制造商:Microchip Technology 核心:dsPIC 數(shù)據(jù)總線寬度:16 bit 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:2 KB 最大時鐘頻率:40 MHz 可編程輸入/輸出端數(shù)量:35 定時器數(shù)量:3 設備每秒兆指令數(shù):50 MIPs 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 封裝 / 箱體:TQFP-44 安裝風格:SMD/SMT
DSPIC30F5015T-20I/PT 功能描述:IC DSPIC MCU/DSP 66K 64TQFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:dsPIC™ 30F 產品培訓模塊:XLP Deep Sleep Mode 8-bit PIC® Microcontroller Portfolio 標準包裝:22 系列:PIC® XLP™ 18F 核心處理器:PIC 芯體尺寸:8-位 速度:48MHz 連通性:I²C,SPI,UART/USART,USB 外圍設備:欠壓檢測/復位,POR,PWM,WDT 輸入/輸出數(shù):14 程序存儲器容量:8KB(4K x 16) 程序存儲器類型:閃存 EEPROM 大小:256 x 8 RAM 容量:512 x 8 電壓 - 電源 (Vcc/Vdd):1.8 V ~ 5.5 V 數(shù)據(jù)轉換器:A/D 11x10b 振蕩器型:內部 工作溫度:-40°C ~ 85°C 封裝/外殼:20-DIP(0.300",7.62mm) 包裝:管件 產品目錄頁面:642 (CN2011-ZH PDF) 配用:DV164126-ND - KIT DEVELOPMENT USB W/PICKIT 2DM164127-ND - KIT DEVELOPMENT USB 18F14/13K50AC164112-ND - VOLTAGE LIMITER MPLAB ICD2 VPP
dsPIC30F5015T-30I/PT 功能描述:數(shù)字信號處理器和控制器 - DSP, DSC 30MIPS 66 KB RoHS:否 制造商:Microchip Technology 核心:dsPIC 數(shù)據(jù)總線寬度:16 bit 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:2 KB 最大時鐘頻率:40 MHz 可編程輸入/輸出端數(shù)量:35 定時器數(shù)量:3 設備每秒兆指令數(shù):50 MIPs 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 封裝 / 箱體:TQFP-44 安裝風格:SMD/SMT