PIC32MX795F512L-80I/PF Microchip Technology, PIC32MX795F512L-80I/PF Datasheet - Page 27
![IC MCU 32BIT 512KB FLASH 100TQFP](/photos/12/13/121330/c04-100-tqfp_sml.jpg)
PIC32MX795F512L-80I/PF
Manufacturer Part Number
PIC32MX795F512L-80I/PF
Description
IC MCU 32BIT 512KB FLASH 100TQFP
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/PF
Core Size
32-Bit
Program Memory Size
512KB (512K x 8)
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
Number Of I /o
85
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
100-TQFP
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
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
Eeprom Size
-
Lead Free Status / Rohs Status
Details
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC32MX795F512L-80I/PF
Manufacturer:
TOSHIBA
Quantity:
4 600
Company:
Part Number:
PIC32MX795F512L-80I/PF
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC32MX795F512L-80I/PF
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
16.0
16.1
The programmer and the PE have a master-slave
relationship, where the programmer is the master
programming device and the PE is the slave.
All communication is initiated by the programmer in the
form of a command. The PE is able to receive only one
command at a time. Correspondingly, after receiving
and processing a command, the PE sends a single
response to the programmer.
16.1.1
In Enhanced ICSP mode, the PIC32MX family devices
operate from the internal Fast RC oscillator, which has
a nominal frequency of 8 MHz. To ensure that the pro-
grammer does not clock too fast, it is recommended
that a 1 MHz clock be provided by the programmer.
16.1.2
The programmer and the PE communicate using the
EJTAG Address, Data and Fastdata registers. In partic-
ular, the programmer transfers the command and data
to the PE using the Fastdata register. The programmer
receives a response from the PE using the Address
and Data registers. The pseudo operation of receiving
a response is shown in the GetPEResponse pseudo
operation below:
Format:
Purpose:
EXAMPLE 16-1:
© 2010 Microchip Technology Inc.
WORD GetPEResponse()
{
// Wait until CPU is ready
SendCommand(ETAP_CONTROL);
// Check if Processor Access bit (bit 18) is set
do {
} while( PrAcc(contorlVal<18>) is not ‘1’ );
// Select Data Register
SendCommand(ETAP_DATA);
// Receive Response
response = XferData(0);
// Tell CPU to execute instruction
SendCommand(ETAP_CONTROL);
XferData(32’h0x0000C000);
// return 32-bit response
return response;
}
response = GetPEResponse()
Enables the programmer to receive the 32-bit
response value from the PE.
controlVal=XferData(32’h0x0004C000 );
THE PROGRAMMING
EXECUTIVE
PE Communication
WORD response;
2-WIRE ICSP EJTAG RATE
COMMUNICATION OVERVIEW
GetPEResponse
EXAMPLE
The typical communication sequence between the
programmer and the PE is shown in Table 16-1.
The sequence begins when the programmer sends the
command and optional additional data to the PE, and
the PE carries out the command.
When the PE has finished executing the command, it
sends the response back to the programmer.
The response may contain more than one response.
For example, if the programmer sent a READ
command, the response will contain the data read.
TABLE 16-1:
16.2
The PE command set is shown in Table 16-3. This
table contains the opcode, mnemonic, length, time-out
and short description for each command. Functional
details on each command are provided in 16.2.3
“ROW_PROGRAM
“CHANGE_CFG Command”.
The PE sends a response to the programmer for each
command that it receives. The response indicates if the
command was processed correctly. It includes any
required response data or error data.
16.2.1
All PE commands have a general format consisting of
a 32-bit header and any required data for the command
(see Figure 16-1). The 32-bit header consists of a
16-bit opcode field, which is used to identify the com-
mand, a 16-bit command length field. The length field
indicates the number of bytes to be transferred, if any.
Operation
Step 1: Send command and optional data from
XferFastData
XferFastData..
Step 2: Programmer reads the response from the
GetPEResponse
GetPEResponse..
Note:
The PE Command Set
programmer to the PE.
PE.
COMMAND FORMAT
Some commands have no Length infor-
mation, however, the Length field must be
sent and the programming executive will
ignore the data.
COMMUNICATION
SEQUENCE FOR THE PE
Command”
Operand
(Command | data len)
optional data..
response
response..
PIC32MX
DS61145G-page 27
through
16.2.14