Microchip MCP33151D-10 Manual


Læs nedenfor 📖 manual på dansk for Microchip MCP33151D-10 (49 sider) i kategorien Ikke kategoriseret. Denne guide var nyttig for 11 personer og blev bedømt med 4.5 stjerner i gennemsnit af 2 brugere

Side 1/49
2018-2020 Microchip Technology Inc. DS50002733C
MCP331X1D 16/14/12-Bit,
1 Msps SAR ADC
Evaluation Kit
User’s Guide
MCP331X1D 16/14/12-Bit, 1 Msps SAR ADC Evaluation Kit User’s Guide
DS50002733C-page 4 2018-2020 Microchip Technology Inc.
Appendix B. Bill of Materials (BOM)
B.1 MCP331X1D Evaluation Board – Bill of Materials (BOM) ............................ 43
Worldwide Sales and Service .....................................................................................49
MCP331X1D 16/14/12-Bit, 1 Msps SAR ADC Evaluation Kit User’s Guide
DS50002733C-page 14 2018-2020 Microchip Technology Inc.
2.6 SAR ADC DEVICE CONFIGURATION
Each evaluation board features a 4-way SPST DIP switch (schematic designator:
SW1) that allows the user to manually configure the board for a variety of available
Microchip SAR ADC devices. Table 2-2 lists each available switch setting. Refer to
Figure 3-1 from Chapter 3. “Installation and Operation” to view the location of SW1.
TABLE 2-2: SW1 DEVICE CONFIGURATION SETTINGS
Part Number Resolution Speed Input
Configuration
SW1 Setting:
(ID3:ID2:ID1:ID0) Notes
MCP33111-05/MCP33141-05 12 500 ksps Single-Ended 0-0-0-0
MCP33111D-05/MCP33141D-05 12 500 ksps Differential 0-0-0-1
MCP33121-05/MCP33151-05 14 500 ksps Single-Ended 0-0-1-0
MCP33121D-05/MCP33151D-05 14 500 ksps Differential 0-0-1-1
MCP33131-05 16 500 ksps Single-Ended 0-1-0-0
MCP33131D-05 16 500 ksps Differential 0-1-0-1
MCP33111-10/MCP33141-10 12 1 Msps Single-Ended 1-0-1-0
MCP33111D-10/MCP33141D-10 12 1 Msps Differential 1-0-1-1
MCP33121-10/MCP33151-10 14 1 Msps Single-Ended 1-1-0-0
MCP33121D-10/MCP33151D-10 14 1 Msps Differential 1-1-0-1
MCP33131-10 16 1 Msps Single-Ended 1-1-1-0
MCP33131D-10 16 1 Msps Differential 1-1-1-1 Default
Product Overview
2018-2020 Microchip Technology Inc. DS50002733C-page 15
2.7 PIC32MZ EF CURIOSITY DEVELOPMENT BOARD (DM320104) OVERVIEW
The PIC32MZ EF Curiosity Development Board (DM320104) is a fully-integrated,
32-bit development platform featuring the high-performance PIC32MZ EF Series PIC®
Microcontroller (PIC32MZ2048EFM100), which is utilized for capturing the digital data
received from the MCP331X1D Analog-to-Digital Converter (ADC) Evaluation Board.
Figure 2-1 shows the connection of the PIC32MZ EF Curiosity Development Board
directly between the MCP331X1D 16/14/12-Bit, 1 Msps SAR ADC Evaluation Board
and the SAR ADC Utility Software.
The Curiosity Development Board (DM320104) connects to the PC through a USB
cable, providing the user with two functionalities:
The ability to send user commands directly to the device from the SAR ADC Utility
Software.
The ability to collect data from the evaluation board and send them to the SAR
ADC Utility Software.
Figure 2-3 displays a close-up of the PIC32MZ EF Curiosity Development Board. More
information, including user’s guides and other resources for the Curiosity Development
Board, can be found by visiting www.microchip.com.
FIGURE 2-3: PIC32MZ EF Curiosity Development Board (DM320104).
Note 1: The PIC32MZ EF Curiosity Development Board is used for data capture
from the MCP331X1D Evaluation Board. This board can be purchased
with preprogrammed SAR ADC firmware compatible with the
MCP331X1D Evaluation Board (ADM00873).
2: The PIC32MZ EF Curiosity Development Board included in the
MCP331X1D Evaluation Kit is already preprogrammed with SAR ADC
firmware.
MCP331X1D 16/14/12-Bit, 1 Msps SAR ADC Evaluation Kit User’s Guide
DS50002733C-page 18 2018-2020 Microchip Technology Inc.
FIGURE 2-5: SAR ADC Utility Software Displaying a Single Acquisition Bit Position Digital Output.
1. This feature is only available in Single Conversion One-Shot mode.
2. Select Single-Shot from Operating Mode drop-down menu to enable the single
acquisition bit position digital output display.
3. VREF value must be manually entered based on the ADC’s supplied VREF.
ADM00873 defaults on board to VREF = 4V.
This feature is very useful for the MCU firmware developer for using a known input
signal, and seeing the output code and voltage to validate the firmware.
1
2
3
Product Overview
2018-2020 Microchip Technology Inc. DS50002733C-page 19
FIGURE 2-6: INL DNL Performance Display.
1. Select INL DNL from the Domain menu in order to enable INL DNL Measurement
mode.
1
MCP331X1D 16/14/12-Bit, 1 Msps SAR ADC Evaluation Kit User’s Guide
DS50002733C-page 22 2018-2020 Microchip Technology Inc.
FIGURE 2-9: Input Signal Voltage Amplitude vs. Time Display.
1. Select Volts/Time from the Domain menu in order to enable the ADC Input Signal
Voltage vs. Time display.
2. VREF value must be manually entered based on the ADC’s supplied VREF.
ADM00873 defaults on board to VREF = 4V.
This display shows the digitized input signal with the voltage amplitude reconstructed
based on the supplied voltage reference value.
1
2
Product Overview
2018-2020 Microchip Technology Inc. DS50002733C-page 23
FIGURE 2-10: Volts vs. Time Display (Zoomed).
MCP331X1D 16/14/12-Bit, 1 Msps SAR ADC Evaluation Kit User’s Guide
DS50002733C-page 26 2018-2020 Microchip Technology Inc.
FIGURE 3-1: The MCP331X1D 16/14/12-Bit, 1 Msps SAR ADC Evaluation Board (ADM00873)
connected to the PIC32MZ EF Curiosity Development Board (DM320104).
3.2.1 Input Signal
The best way to evaluate the MCP331X1D device is to use a clean analog input signal
with as little noise as possible and no harmonic contents. The AP2722 Audio Analyzer
from Audio Precision can be used to generate a clean analog signal for evaluation
purposes. If using a less pure signal source, a filter can be added between the signal
source and EVB to remove any noise outside of the desired frequency.
- +
Configuration
Switch (SW1)
PIC32MZ EF Curiosity Development Board (DM320104)
Analog Inputs ADC Power Circuit
Power
Supply
Input (9V)
Alternate
Power
Supply (9V)
MCP331X1D 16/14/12-Bit, 1 Msps SAR
ADC Evaluation Board (ADM00873)
Differential Driver (U1)
VREF Regulator (U2)
MCP6286 Op Amp (U5)
ADC Device (U3)
USB Power
Supply (J12)
Curiosity Power
Source Selection
Header (J8)
VCOM (VREF /2 for S.E.
Source) Jumper (J6))
Driver Enable (J8)
-1V/GND Driver Input Select (J4)
Firmware
2018-2020 Microchip Technology Inc. DS50002733C-page 29
FIGURE 4-3: Firmware Flowchart.
4.3 USB TRANSFER
The MCU firmware implements a WinUSB device to handle the data transfer between
the USB host (a PC for example) and the USB device (evaluation board).
Each USB transfer has a length of 33280 bytes out of which the first 512 bytes are
configuration and setting bytes. The remaining 32768 bytes will contain samples. This
will require eight logical transfers to be executed (Figure 4-4). The physical USB layer will
split the 33280 byte packets into 512 byte chunks before transmitting on the USB bus.
FIGURE 4-4: USB Transfer Frame.
Sample ADC Input
(Standby Mode)
USB Transfer
Commands
Start (Power On)
Calibrate ADC
(0x70)
Request Device ID
(0x60)
Configure SPI Speed
(0x81)
Request Single Shot
(0x50)
Transfer Data to GUI
(0x80)
ADC Self-Calibration Self-Calibration
Complete
No
CNVST Rising
Edge Detected
No
Yes
Yes
ADC Input Conversion
CNVST Set to Logic Low
ADC Input
Conversion
Complete
No
Yes
ADC Transmits
Converted Data (SPI)
MCU Receives Incoming
Data (SPI)
Store Incoming Data in
ADC_BUFFER[]
(8192 bytes)
ADC_BUFFER[] Full
No
Transfer
ADC_BUFFER[]
Contents to Storage[]
(262144 bytes)
Yes
> 32768 Bytes
in Storage[]
No
Construct USB Transfer Packet:
(32768 bytes of sampled data +
512 bytes configuration and
settings information)
Yes
USB Transfer
Packet Ready
No
Transmit USB Transfer
Packet to GUI Yes
Double Buffering
SPI DMA CH1
SPI DPA CH2
Get Calibration Status
(0x71)
ADC Calibrated?
Verify ADC Calibration
[0x71, 0x1] Chip is
Calibrated
[0x71, 0x0] Chip is
Uncalibrated
NoYes
4 Sampling Speeds:
1000 ksps
500 ksps
250 ksps
125 ksps
In this Mode, the Hardware SPI
SPI is Disabled and Switched
to Software SPI with a
Lower Speed.
It will Acquire One Sample and
Enable the Hardware SPI
Again.
512 bytes for
configuration 32768 bytes – samples
33280 bytes USB transfer packet
MCP331X1D 16/14/12-Bit, 1 Msps SAR ADC Evaluation Kit Users Guide
DS50002733C-page 30 2018-2020 Microchip Technology Inc.
4.4 ADC FUNCTIONS
In addition to the actual sample transfer from MCU to PC, there are other ADC
functions available: Calibration, Read Device ID and Sampling Speed Change.
The PC not only receives data from the EVB, but it also sends 512 bits of data
back to the MCU. The 512-bit length size is required because of the USB
high-speed endpoint size. Out of these, only the first five are meaningful. The
first element, receivedDataBuffer[0], indicates to the MCU the desired function. For
0x80, the MCU will send samples. For 0x81, the transfer is stopped and the MCU RAM
is filled with samples from the ADC. The code will not perform transfers in the same
time as the acquisition of ADC samples.
The calibration function is executed when value 0x70 is received. Calibration status
function has code 0x71. Table 4-1 provides the command structure byte values sent to,
and the responses from, the PIC32MZ2048EFM100 on the PIC32MZ EF Curiosity
Development Board (DM320104). Figure 4-5 displays the timing diagram of the
calibration process.
TABLE 4-1: COMMAND STRUCTURE BYTE VALUES
Command
receivedDataBuffer[x] transmitDataBuffer[x]
Description
Byte[0] Byte[1]
Byte[2] Byte[3] Byte[0] Byte[1] Byte[2]
Byte[3]
Byte[4]
Byte[5]
Send
Samples
0x80 [0 to 7]
Package
Index
0x80 0x00 33280-byte reply,
[0-511] – Irrelevant,
[512-33279] – Data samples,
Combine the read data into a 16b
signed value as follows:
dataH: dataL = read[odd index]:
read[even index]
Change
Sampling
Speed
0x81 1-4
Sampling
Speed
0x81 0x01 Select sampling speed from Byte[3] and
change transmitDataBuffer[1] = 0x80 to
start sending data
0x80 0x01
Calibrate ADC 0x70 0x70 0x01 [0x70, 0x01] – Command received
successfully,
[0x70, 0x00] – Error
Calibration
Status
0x71 0x71 0x01 [0x71, 0x01] Calibration successful,
[0x71, 0x00] – Calibration failed
Acquire Single
Sample
0x50 0x50 MSb LSb [0x50, ADCHighByte, ADCLowByte]
Read Device
ID
0x60 0x60 [0x60, chip ID]


Produkt Specifikationer

Mærke: Microchip
Kategori: Ikke kategoriseret
Model: MCP33151D-10

Har du brug for hjælp?

Hvis du har brug for hjælp til Microchip MCP33151D-10 stil et spørgsmål nedenfor, og andre brugere vil svare dig




Ikke kategoriseret Microchip Manualer

Ikke kategoriseret Manualer

Nyeste Ikke kategoriseret Manualer