PIC32MX795F512L-80I/BG Microchip Technology, PIC32MX795F512L-80I/BG Datasheet - Page 23
![IC, 32BIT MCU, PIC32, 80MHZ, BGA-100](/photos/12/13/121347/121-xbga_sml.jpg)
PIC32MX795F512L-80I/BG
Manufacturer Part Number
PIC32MX795F512L-80I/BG
Description
IC, 32BIT MCU, PIC32, 80MHZ, BGA-100
Manufacturer
Microchip Technology
Series
PIC® 32MXr
Datasheets
1.PIC32MX320F032H-40IPT.pdf
(66 pages)
2.PIC32MX575F256H-80IMR.pdf
(2 pages)
3.PIC32MX575F256H-80IMR.pdf
(254 pages)
4.PIC32MX575F256H-80IMR.pdf
(14 pages)
5.PIC32MX575F256H-80IPT.pdf
(240 pages)
Specifications of PIC32MX795F512L-80I/BG
Controller Family/series
PIC32
Ram Memory Size
128KB
Cpu Speed
80MHz
No. Of Timers
5
Interface
CAN, I2C, SPI, UART, USB
No. Of Pwm Channels
5
Core Size
32 Bit
Program Memory Size
512 KB
Core Processor
MIPS32® M4K™
Speed
80MHz
Connectivity
CAN, Ethernet, I²C, SPI, UART/USART, USB OTG
Peripherals
Brown-out Detect/Reset, DMA, POR, PWM, WDT
Program Memory Type
FLASH
Ram Size
128K x 8
Voltage - Supply (vcc/vdd)
2.3 V ~ 3.6 V
Data Converters
A/D 16x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
121-TFBGA
Embedded Interface Type
CAN, I2C, SPI, UART, USB
Rohs Compliant
Yes
Processor Series
PIC32MX7xx
Core
MIPS
3rd Party Development Tools
52713-733, 52714-737
Development Tools By Supplier
PG164130, DV164035, DV244005
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Number Of I /o
-
Eeprom Size
-
Lead Free Status / Rohs Status
Details
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC32MX795F512L-80I/BG
Manufacturer:
Microchip
Quantity:
316
Company:
Part Number:
PIC32MX795F512L-80I/BG
Manufacturer:
Microchip Technology
Quantity:
10 000
13.0
Once a row of data has been downloaded into the
device’s SRAM, the programming sequence must be
initiated to write the block of data to Flash memory.
13.1
When using PE, the data is immediately written to the
Flash memory from the SRAM. No further action is
required.
13.2
Flash memory write operations are controlled by the
NVMCON register. Programming is performed by set-
ting NVMCON to select the type of write operation and
initiating the programming sequence by setting the WR
control bit NVMCON<15>.
FIGURE 13-1:
© 2010 Microchip Technology Inc.
INITIATING A FLASH ROW
WRITE
With the PE
Without the PE
Load Addresses in NVM Registers
Unprotect Control Registers
Unlock Flash Controller
Select Write Operation
Start Operation
INITIATING FLASH WRITE
WITHOUT THE PE
Done
The following steps are required to initiate a Flash
write:
1.
2.
TABLE 13-1:
Opcode
Step 1: Initialize some constants.
3c04bf80
3484f400
34054003
34068000
34074000
3c11aa99
36316655
3c125566
365299aa
3c13ff20
3c100000
Step 2: Set NVMADDR with the address of the Flash
3c08<ADDR>
3508<ADDR>
ac880020
Step 3: Set NVMSRCADDR with the physical source
3610<ADDR>
Step 4: Set up NVMCON for write operation and poll
ac850000
8C880000
31080800
1500fffd
00000000
Step 5: Unlock NVMCON and start write operation.
ac910010
ac920010
ac860008
Step 6: Repeatedly read the NVMCON register and
8c880000
01064024
1500fffd
00000000
XferInstruction (opcode).
Repeat Step 1 until the last instruction is
transferred to the CPU.
row to be programmed.
SRAM address.
LVDSTAT.
poll for WR bit to get cleared.
Instruction
lui a0,0xbf80
ori a0,a0,0xf400
ori a1,$0,0x4003
ori a2,$0,0x8000
ori a3,$0,0x4000
lui s1,0xaa99
ori s1,s1,0x6655
lui s2,0x5566
ori s2,s2,0x99aa
lui s3,0xff20
lui s0,0x0000
lui t0,<FLASH_ROW_ADDR(31:16)>
ori
sw
ori s0,s0,<RAM_ADDR(15:0)>
sw
delay (6 µs)
here1:
lw
andi t0,t0,0x0800
bne t0,$0,<here1>
nop
sw
sw
sw
here2:
lw
and t0,t0,a2
bne t0,$0,<here2>
nop
INITIATE FLASH ROW WRITE
OPCODES
t0,t0,<FLASH_ROW_ADDR(15:0)>
t0,32(a0)
a1,0(a0)
t0,0(a0)
s1,16(a0)
s2,16(a0)
a2,8(a0)
t0,0(a0)
PIC32MX
DS61145G-page 23