전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

DSPIC30F6015T-30E/PT 데이터시트(PDF) 57 Page - Microchip Technology

부품명 DSPIC30F6015T-30E/PT
상세설명  High-Performance, 16-Bit Digital Signal Controllers
PDF  236 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  MICROCHIP [Microchip Technology]
홈페이지  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

DSPIC30F6015T-30E/PT 데이터시트(HTML) 57 Page - Microchip Technology

Back Button DSPIC30F6015T-30E/PT Datasheet HTML 53Page - Microchip Technology DSPIC30F6015T-30E/PT Datasheet HTML 54Page - Microchip Technology DSPIC30F6015T-30E/PT Datasheet HTML 55Page - Microchip Technology DSPIC30F6015T-30E/PT Datasheet HTML 56Page - Microchip Technology DSPIC30F6015T-30E/PT Datasheet HTML 57Page - Microchip Technology DSPIC30F6015T-30E/PT Datasheet HTML 58Page - Microchip Technology DSPIC30F6015T-30E/PT Datasheet HTML 59Page - Microchip Technology DSPIC30F6015T-30E/PT Datasheet HTML 60Page - Microchip Technology DSPIC30F6015T-30E/PT Datasheet HTML 61Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 57 / 236 page
background image
© 2007 Microchip Technology Inc.
DS70150C-page 55
dsPIC30F6010A/6015
7.3
Writing to the Data EEPROM
To write an EEPROM data location, the following
sequence must be followed:
1.
Erase data EEPROM word.
a)
Select word, data EEPROM, erase and set
WREN bit in NVMCON register.
b)
Write address of word to be erased into
NVMADRU/NVMADR.
c)
Enable NVM interrupt (optional).
d)
Write ‘55’ to NVMKEY.
e)
Write ‘AA’ to NVMKEY.
f)
Set the WR bit. This will begin erase cycle.
g)
Either poll NVMIF bit or wait for NVMIF
interrupt.
h)
The WR bit is cleared when the erase cycle
ends.
2.
Write data word into data EEPROM write
latches.
3.
Program 1 data word into data EEPROM.
a)
Select word, data EEPROM, program and
set WREN bit in NVMCON register.
b)
Enable NVM write done interrupt (optional).
c)
Write ‘55’ to NVMKEY.
d)
Write ‘AA’ to NVMKEY.
e)
Set the WR bit. This will begin program
cycle.
f)
Either poll NVMIF bit or wait for NVM
interrupt.
g)
The WR bit is cleared when the write cycle
ends.
The write will not initiate if the above sequence is not
exactly followed (write 0x55 to NVMKEY, write 0xAA to
NVMCON, then set WR bit) for each word. It is strongly
recommended that interrupts be disabled during this
code segment.
Additionally, the WREN bit in NVMCON must be set to
enable writes. This mechanism prevents accidental
writes to data EEPROM, due to unexpected code exe-
cution. The WREN bit should be kept clear at all times,
except when updating the EEPROM. The WREN bit is
not cleared by hardware.
After a write sequence has been initiated, clearing the
WREN bit will not affect the current write cycle. The WR
bit will be inhibited from being set unless the WREN bit
is set. The WREN bit must be set on a previous instruc-
tion. Both WR and WREN cannot be set with the same
instruction.
At the completion of the write cycle, the WR bit is
cleared in hardware and the Nonvolatile Memory Write
Complete Interrupt Flag bit (NVMIF) is set. The user
may either enable this interrupt, or poll this bit. NVMIF
must be cleared by software.
7.3.1
WRITING A WORD OF DATA
EEPROM
Once the user has erased the word to be programmed,
then a table write instruction is used to write one write
latch, as shown in Example 7-4.
EXAMPLE 7-4:
DATA EEPROM WORD WRITE
; Point to data memory
MOV
#LOW_ADDR_WORD,W0
; Init pointer
MOV
#HIGH_ADDR_WORD,W1
MOV
W1,TBLPAG
MOV
#LOW(WORD),W2
; Get data
TBLWTL
W2,[ W0]
; Write data
; The NVMADR captures last table access address
; Select data EEPROM for 1 word op
MOV
#0x4004,W0
MOV
W0,NVMCON
; Operate key to allow write operation
DISI
#5
; Block all interrupts with priority <7
; for next 5 instructions
MOV
#0x55,W0
MOV
W0,NVMKEY
; Write the 0x55 key
MOV
#0xAA,W1
MOV
W1,NVMKEY
; Write the 0xAA key
BSET
NVMCON,#WR
; Initiate program sequence
NOP
NOP
; Write cycle will complete in 2mS. CPU is not stalled for the Data Write Cycle
; User can poll WR bit, use NVMIF or Timer IRQ to determine write complete


유사한 부품 번호 - DSPIC30F6015T-30E/PT

제조업체부품명데이터시트상세설명
logo
Microchip Technology
dsPIC30F6015 MICROCHIP-dsPIC30F6015 Datasheet
3Mb / 236P
High-Performance, 16-bit Digital Signal Controllers
02/18/11
DSPIC30F6015 MICROCHIP-DSPIC30F6015 Datasheet
3Mb / 236P
High-Performance, 16-Bit Digital Signal Controllers
12/08/06
DSPIC30F6015 MICROCHIP-DSPIC30F6015 Datasheet
2Mb / 236P
High-Performance, 16-Bit Digital Signal Controllers
12/08/06
DSPIC30F6015 MICROCHIP-DSPIC30F6015 Datasheet
3Mb / 236P
High-Performance, 16-Bit Digital Signal Controllers
08/29/06
DSPIC30F6015-30I MICROCHIP-DSPIC30F6015-30I Datasheet
3Mb / 236P
High-Performance, 16-Bit Digital Signal Controllers
12/08/06
More results

유사한 설명 - DSPIC30F6015T-30E/PT

제조업체부품명데이터시트상세설명
logo
Microchip Technology
DSPIC33FJ12MC201MM MICROCHIP-DSPIC33FJ12MC201MM Datasheet
4Mb / 284P
High-Performance, 16-Bit Digital Signal Controllers
2007
DSPIC30F6011 MICROCHIP-DSPIC30F6011_06 Datasheet
3Mb / 228P
High-Performance, 16-Bit Digital Signal Controllers
2006
DSPIC30F6010 MICROCHIP-DSPIC30F6010_06 Datasheet
3Mb / 222P
High-Performance, 16-Bit Digital Signal Controllers
2006
DSPIC30F2010 MICROCHIP-DSPIC30F2010_08 Datasheet
2Mb / 204P
High-Performance, 16-bit Digital Signal Controllers
2008
DSPIC30F2011 MICROCHIP-DSPIC30F2011_08 Datasheet
3Mb / 206P
High-Performance, 16-bit Digital Signal Controllers
2008
DSPIC33FJXXXMCX06A MICROCHIP-DSPIC33FJXXXMCX06A Datasheet
2Mb / 352P
High-Performance, 16-bit Digital Signal Controllers
2009
DSPIC30F6010A MICROCHIP-DSPIC30F6010A_11 Datasheet
3Mb / 236P
High-Performance, 16-bit Digital Signal Controllers
2011
DSPIC30F6014A-30IPT MICROCHIP-DSPIC30F6014A-30IPT Datasheet
2Mb / 239P
High-Performance, 16-Bit Digital Signal Controllers
10/19/06
DSPIC33FJ128GP802-I MICROCHIP-DSPIC33FJ128GP802-I Datasheet
2Mb / 403P
High-Performance, 16-bit Digital Signal Controllers
03/26/09
DSPIC33FJ16GS502-E MICROCHIP-DSPIC33FJ16GS502-E Datasheet
5Mb / 346P
High-Performance, 16-bit Digital Signal Controllers
02/04/09
DSPIC33FJ12GP202-E MICROCHIP-DSPIC33FJ12GP202-E Datasheet
3Mb / 242P
High-Performance, 16-Bit Digital Signal Controllers
12/08/06
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


데이터시트 다운로드

Go To PDF Page


링크 URL




개인정보취급방침
ALLDATASHEET.CO.KR
ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com