10
Revision 3.0 EPC9528 dsPIC33CK Controller Module Quick Start Guide

EPC9528 dsPIC33CK Controller Module Quick Start Guide · 2021. 5. 19. · J10 Main card edge connector 1.0 mm Micro edge card Samtec, MEC1-120-02-F-D-EM2 J20 Pickit programming header

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: EPC9528 dsPIC33CK Controller Module Quick Start Guide · 2021. 5. 19. · J10 Main card edge connector 1.0 mm Micro edge card Samtec, MEC1-120-02-F-D-EM2 J20 Pickit programming header

Revision 3.0

EPC9528 dsPIC33CK Controller Module Quick Start Guide

Page 2: EPC9528 dsPIC33CK Controller Module Quick Start Guide · 2021. 5. 19. · J10 Main card edge connector 1.0 mm Micro edge card Samtec, MEC1-120-02-F-D-EM2 J20 Pickit programming header

QUICK START GUIDE

EPC – POWER CONVERSION TECHNOLOGY LEADER | EPC-CO.COM | ©2021 | | 2

EPC9528 dsPIC33CK Controller Module

DESCRIPTION The EPC9528 controller module includes the Microchip dsPIC33CK256MP503 16-bit digital controller. It is designed to work with various EPC evaluation boards and modules that require an external controller features include:• Total main connector I/Os: 21 o Up to 4 PWM pairs o Up to 12 analog input channels o Up to 2 internal op-amps• On-board isolated USB o USB to UART (default) o USB to I2C (configurable)• Standard 5-pin programming port o Also reconfigurable as UART • External I2C connection o Also reconfigurable as one PWM pair

REGULATORY INFORMATION This controller module is for evaluation purposes only. No EMI test was conducted. It is not FCC approved.

Figure 1: Overview of the EPC9528 board

J10mainconnector

UART/USB interfaceUSB isolator

J30PC portdsPIC33CK256MP503

Micro-USB

J20programmingheader

Top side Bottom side

Table 1: Maximum RatingsSymbol Parameter Conditions Min Max UnitsVCC 3.3 V Supply 3.0 3.6

V

VDD_USB USB Supply Voltage -0.3 5.5

VIO Voltage on I/O pins

Regular digital and analog pins -0.3 Vcc+0.3

5 V tolerant pin, Vcc ≥ 3.0 V -0.3 5.5

5 V tolerant pin, Vcc < 3.0 V -0.3 Vcc+0.3

TCOperating

temperature -40 125 °C

Table 2: Compatible Demo BoardsDescription Basic SpecificationsEPC9137 Rev 4.0 1.5 kW 48 V/12 V bi-directional converter

EPC9146 Rev 2.1 400 W, 3-phase BLDC Inverter using EPC2152

Table 3: Connector SpecificationsJumper Description Type Mating connectorJ10 Main card edge connector 1.0 mm Micro edge card Samtec, MEC1-120-02-F-D-EM2

J20 Pickit programming header 5-pin .1” male header

J30 I2C external connector 5-pin .05” header (empty)

Page 3: EPC9528 dsPIC33CK Controller Module Quick Start Guide · 2021. 5. 19. · J10 Main card edge connector 1.0 mm Micro edge card Samtec, MEC1-120-02-F-D-EM2 J20 Pickit programming header

QUICK START GUIDE

EPC – POWER CONVERSION TECHNOLOGY LEADER | EPC-CO.COM | ©2021 | | 3

EPC9528 dsPIC33CK Controller Module

Table 4: Pin Mapping

EPC9528 J10 dsPIC33CK256MP503

Pin # Pin name Pin # Pin name2 PWMH3 33* TMS/RP42/PWM3H/RB10

4 PWML3 34* TCK/RP43/PWM3L/RB11

6 PWMH2 35* TDI/RP44/PWM2H/RB12

8 PWML2 36* RP45/PWM2L/RB13

10 PWMH1 1* RP46/PWM1H/RB14

12 PWML1 2* RP47/PWM1L/RB15

14 RP38_PWMH6_SCL2 25* PGC3/RP38/PWM6H/SCL2/RB6

Index Slot18 RP37_PWML6_SDA2 24* PGD3/RP37/PWM6L/SDA2/RB5

20 RP51_RC3 16 AN15/CMP2A/IBIAS2/RP51/RC3

22 AN10_RP40 27 PGD1/AN10/RP40/SCL1/RB8

24 AN3 8 DACOUT1/AN3/CMP1C/RA3

26 AN11 28 PGC1/AN11/RP41/SDA1/RB9

28 AN14_OA3IN+ 13 OA3IN+/AN14/CMP2B/ISRC1/RP50/RC2

30 AN13_OA3IN- 12 OA3IN-/AN13/CMP1B/ISRC0/RP49/RC1

32 AN1 19 OA2OUT/AN1/AN7/ANA0/CMP1D/CMP2D/CMP3D/RP34/SCL3/INT0/RB2

34 AN2 26 TDO/AN2/CMP3A/RP39/SDA3/RB7

36 AN9_OA1IN+ 7 OA1IN+/AN9/RA2

37 RP33_RB1 18 OSCO/CLKO/AN6/RP33/RB1

38 RA1_OA1IN- 6 OA1IN-/ANA1/RA1

39 RP32_RB0 17 OSCI/CLKI/AN5/RP32/RB0

40 AN12 4 AN12/ANN0/RP48/RC0

1, 3, 5, 7, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35

GND 11, 15, 22, 31 AVSS , VSS

9, 11, 13 3V3 14, 23, 32 VDD

Table 5: Programming Port

EPC9528 J20 dsPIC33CK256MP503

Pin # Pin name Pin # Pin name1 MCLR 3 MCLR

2 3V3 14,23,32 VDD

3 GND 11, 15, 22, 31 AVSS , VSS

4 PGD 20 PGD2/OA2IN-/AN8/RP35/RB3

5 PGC 21 PGC2/OA2IN+/RP36/RB4

Table 6: External I2C Port

EPC9528 J30 dsPIC33CK256MP503

Pin # Pin name Pin # Pin name1 SCL 30* RP53/PWM5L/ASCL2/RC5

2 GND 11, 15, 22, 31 AVSS , VSS

3 SDA 29* RP52/PWM5H/ASDA2/RC4

4 GND 11, 15, 22, 31 AVSS , VSS

5 3V3 14, 23, 32 VDD

* 5 VDC tolerant. Refer to dsPIC33CK256MP508 family datasheet for detail

* 5 VDC tolerant. Refer to dsPIC33CK256MP508 family datasheet for detail

Page 4: EPC9528 dsPIC33CK Controller Module Quick Start Guide · 2021. 5. 19. · J10 Main card edge connector 1.0 mm Micro edge card Samtec, MEC1-120-02-F-D-EM2 J20 Pickit programming header

QUICK START GUIDE

EPC – POWER CONVERSION TECHNOLOGY LEADER | EPC-CO.COM | ©2021 | | 4

EPC9528 dsPIC33CK Controller Module

OPERATING CONSIDERATIONS3.3 V SupplyThis controller module requires external 3.3 V, typically provided by the power module through the main connector J10.

Example Application Pin Assignment MapsThe on-board micro-USB port is isolated, and only provides power to the isolated side of the USB interface. It does not provide 3.3 V. By default, the MCP2221A with AduM1201 are configured as USB-UART interface.

The USB interface is routed to RP35 (TX) and RP36 (RX), as shown in Figure x.

To change the USB-UART interface to USB-I2C, please follow the instructions on the schematic.

EXAMPLE APPLICATION PIN ASSIGNMENT MAPSTable 7: Three-phase motor drive

Pin # Pin name Pin #2 PWMH1 VSS 14 PWML1 VSS 36 PWMH2 VSS 58 PWML2 VSS 7

10 PWMH3 VDD 912 PWML3 VDD 1114 EncA VDD 13

Index Slot18 EncB VSS 1720 EncI VSS 1922 Vin VSS 2124 V1 VSS 2326 V2 VSS 2528 V3 VSS 2730 Iin VSS 2932 I1 VSS 3134 I2 VSS 3336 I3 VSS 3538 EN/Pgood LEDerr 3740 Tsns LEDact 39

Table 8: Four-phase DC-DC converterPin # Pin name Pin #

2 PWMH3 VSS 14 PWML3 VSS 36 PWMH4 VSS 58 PWML4 VSS 7

10 PWMH1 VDD 912 PWML1 VDD 1114 PWMH2 VDD 13

Index Slot18 PWML2 VSS 1720 Vin2 VSS 1922 Vin1 VSS 2124 Vout2 VSS 2326 Vout1 VSS 2528 Iout3 VSS 2730 Iout4 VSS 2932 Iout1 VSS 3134 Iout2 VSS 3336 Idc2 VSS 3538 EN/Pgood Tsns2 3740 Idc1 Tsns1 39

PROGRAMMINGThe Microchip dsPIC33CK controller can be programmed through the 5-pin header J20. It supports all of Microchip’s in-circuit programmers/debuggers, such as MPLAB® ICD4, MPLAB® REAL ICE or MPLAB® PICkit4 and previous derivatives.

Development tools can be found at: https://www.microchip.com/development-tools

MCP2221AADuM1201

Isolator

dsPIC33CK256MP503

USBUART

RX

TXPGD2 / RP35 (U1TX)

PGC2 / RP36 (U1RX)

USB 5 V 3.3 V

Figure 2: Micro-USB interface connection and power diagram

Page 5: EPC9528 dsPIC33CK Controller Module Quick Start Guide · 2021. 5. 19. · J10 Main card edge connector 1.0 mm Micro edge card Samtec, MEC1-120-02-F-D-EM2 J20 Pickit programming header

QUICK START GUIDE

EPC – POWER CONVERSION TECHNOLOGY LEADER | EPC-CO.COM | ©2021 | | 5

EPC9528 dsPIC33CK Controller Module

Programming with HEX fileDownload the latest MPLAB® X IPE from Microchip website and follow the five steps below:

https://www.microchip.com/mplab/mplab-integrated-programming-environment

1. Enable Advanced Mode: 5. Erase device, and then program device:

2. Select Device: dsPIC33CK256MP503 and then apply:

3. Select programming tool and then connect:

4. Click ‘Browse’ to select the provided .hex file:

Optional:

dsPIC33EP256MC506 dsPIC33CK256MP503

dsPIC33EP256MC506 dsPIC33CK256MP503

Page 6: EPC9528 dsPIC33CK Controller Module Quick Start Guide · 2021. 5. 19. · J10 Main card edge connector 1.0 mm Micro edge card Samtec, MEC1-120-02-F-D-EM2 J20 Pickit programming header

QUICK START GUIDE

EPC – POWER CONVERSION TECHNOLOGY LEADER | EPC-CO.COM | ©2021 | | 6

EPC9528 dsPIC33CK Controller Module

Table 9: Bill of Materials Item Qty Reference Part Description Manufacturer Part #

1 7 C1, C2, C3, C4, C500, C501, C520 0.1 μF, 25 V Yageo CC0402KRX7R8BB104

2 1 C10 1 μF, 25 V Murata GRM155R61E105MA12D

3 1 C20 56 pF, 50 V TDK C1005C0G1H560J050BA

4 2 C30, C31 22 μF, 25 V X7R Taiyo Yuden TMK325B7226MM-TR

5 2 C35, C36 10 μF, 25 V X5R Murata GRM188R61E106MA73D

6 9 C70, C71, C72, C73, C74, C75, C76, C77, C78 220 pF, 50 V Kemet C0402C221K5RACTU

7 2 C502, C503 47 pF, 50 V Yegeo CC0402JRNPO9BN470

8 1 C510 10 μF, 10 V TDK C1005X7S1A105K050BC

9 1 C511 470 nF, 6V3 Murata GRM155R60J474KE19D

10 1 D1 LED 0603 Green Wurth 150060VS75000

11 1 D2 LED 0603 Red Wurth 150060RS75000

12 1 D500 TVS Diode Array 6V Wurth 82400152

13 3 FB35, FB501, FB502 180 Ω @ 100 MHz Murata BLM15PX601SN1D

14 1 J20 .1" Male RA Tyco 4-103185-0-04

15 1 J500 USB Mini Amphenol ICC (FCI) 10118194-0001LF

16 1 L500 90 Ω 550 mA 50 V Wurth 744230900

17 2 R1, R2 261 Ω Panasonic ERJ-2RKF2610X

18 6 R10, R80, R81, R90, R91, R551 0 Ω Panasonic ERJ-3GEY0R00V

19 2 R20, R510 10 k Yageo RC0402FR-0710KL

20 1 R21 100 Ω 1% Yageo RC0402FR-07100RL

21 1 R501 4.7 k Panasonic ERJ-2RKF4701X

22 2 R502, R503 15 Ω Panasonic ERJ-2RKF15R0X

23 2 R530, R531 270 Ω Panasonic ERJ-2RKF2700X

24 1 U1 dsPIC Microchip dsPIC33CK256MP503-E/M5

25 1 U510 USB to I2C and UART Microchip MCP2221A-I/ML

26 1 U520 Digital Isolator Analog ADuM1201CR/ADuM1250ARZ

Table 2: Optional Components Item Qty Reference Part Description Manufacturer Part #

1 1 J30 50 mil straight Sullins GRPB051VWVN-RC

2 4 R82, R83, R92, R93 15 K Yageo RC0603FR-0715KL

3 3 R532, R533, R552 0 Ω Panasonic ERJ-3GEY0R00V

4 4 R520, R521, R534, R535 4.7 k Panasonic ERJ-2RKF4701X

Page 7: EPC9528 dsPIC33CK Controller Module Quick Start Guide · 2021. 5. 19. · J10 Main card edge connector 1.0 mm Micro edge card Samtec, MEC1-120-02-F-D-EM2 J20 Pickit programming header

QUICK START GUIDE

EPC – POWER CONVERSION TECHNOLOGY LEADER | EPC-CO.COM

| ©2021 |

| 7

EPC9528 dsPIC33CK Controller Module

Figure 3: EPC9528 main schematic

FD 1 FD 2 FD 3

MCL R3V3

3V 3

PICKIT PROGRAM HEADER

Local Decoupling for Analog signals

220 pF , 50 VC70

GND

220 pF , 50 VC72

GNDGND

220 pF , 50 VC73

GND

Programming and Communications

220 pF , 50 VC74

GND

GND

AN11AN14_OA3IN+

AN1AN2

AN9_OA1IN+

AN12

Load interface connector

1 μF, 25 VC10

GND

3V3R P38_PW MH6_SC L 2

R P37_PW ML 6_SDA2R P51_R C3

PWMH2PWML 2

AN13_OA3IN-

R P33_R B 1R P32_R B 0

3V3

R A1_OA1IN-

1 RP46/PWM1H/RB14RP47/PWM1L/RB15/MCLRAN12/ANN0/RP48/RC0OA1OUT/AN0/CMP1A/IBIAS0/RA0OA1IN-/ANA1/RA1OA1IN+/AN9/RA2DACOUT/AN3/CMP1C/RA3OA3OUT/AN4/CMP3B/IBIAS3/RA4AVDDAVSSOA3IN-/AN13/CMP1B/ISRC0/RP49/RC1VDDAN15/CMP2A/IBIAS2/RP51/RC3OSCI/CLKI/AN5/RP32/RB0OSCO/CLKO/AN6/RP33/RB1

RP45/PWM2L/RB13TDI/RP44/PWM2H/RB12TCK/RP43/PWM3L/RB11

TMS/RP42/PWM3H/RB10VDDVSS

RP53/ASCL2/RC5RP52/ASDA2/RC4

PGC1/AN11/RP41/SDA1/RB9PGD1/AN10/RP40/SCL1/RB8TDO/AN2/CMP3A/RP39/RB7

PGC3/RP38/SCL2/RB6PGD3/RP37/SDA2/RB5

VDDVSS

PGC2/OA2IN+/RP36/RB4PGD2/OA2IN-/AN8/RP35/RB3

OA2OUT/AN1/AN7/ANA0/CMP1D/CMP2D/CMP3D/RP34/INT0/RB2

23

56789

101112

14

1718 19

2021

2425262728

313233343536

4

13

1516

2223

2930

dsPI C33CK 64MP103T-I /M5dsPI C33CK 32MP103T-I /M5

U1dsPI C33CK 256MP503-E /M5

12345678910

11121314

171819202122232425262728

1 mm x 62 mil PCB

293031323334353637383940

J10

.1" Male RA

12345

J20

TX

R X

GND

3V3GP0

GP1

GP2

GP3

GNDF

USB

AP1018_Rev1_2_IsoMicroUSBinterface.SCHDOC

PGD_T X _SD APGC_R X _SC L

AN10_RP40AN11

AN14_OA3IN+

AN1

AN2

AN9_OA1IN+AN3

AN12

R P38_PW MH6_SC L 2R P37_PW ML 6_SDA2

R P51_R C3

PWMH1PWMH2

PWMH3

PWML 1PWML 2

PWML 3

AN13_OA3IN-

R A1_OA1IN-

R P33_R B 1R P32_R B 0

MCL R

GND

3V 3

GND

GND

GND

3V 3A

3V 3 3V 3

3V3

10 kR 20

Iso Mini USB Interface

PGD_T X _SD A

PGC_R X _SC LLED 0603 Green

D1

LED 0603 Red

D2

261 ΩR 2

261 ΩR 1

GND GND

Status Indicators

A

K

A

K

External Power & I2C Communications

GND

0.1 μF , 25 VC1

GND

0.1 μF , 25 VC2

0.1 μF , 25 VC3

GND

3V 3A

3V 3

GND

15 K 1% 0603R 93

E MPT Y

15 K 1% 0603

R 92

E MPT Y

Op-Amp Con�g

3V3

0.1 μF , 25 VC4

GND

3V3

R P33_R B 1R P32_R B 0

Active Error

GND

OA3OUT

OA1OUT

OA1OUT

OA3OUT

AN14_OA3IN+

R A1_OA1IN-

AN9_OA1IN+

AN13_OA3IN-

Remove R82, R83, R92, R93 if using Analog Inputs

R80, R81, R90, R91 = 15 k if using OpAmp InputsR80, R81, R90, R91 = 0 Ω if using Analog Inputs

0ER 80

0ER 810ER 90

0ER 91

GND

15 K 1% 0603R 83

E MPT Y

15 K 1% 0603

R 82

E MPT Y

22 μF , 25 V X 7R

C30

22 μF , 25 V X 7R

C31

GND GND

GND

GND

3V33V3

0 Ω

R 10

GND3V3

180 Ω @ 100 MH z1 2

FB 35

3V3

10 μF , 25 V X 5RC36

3V3A

GND

10 μF , 25 V X 5RC35

GND

220 pF , 50 VC71

220 pF , 50 VC75

GND

220 pF , 50 VC77

GNDGND

220 pF , 50 VC78

GND

220 pF , 50 VC76

100 Ω 1%R 21

56 pF , 50 VC20

AN3AN1 AN2 AN10_RP40

AN9_OA1IN+ AN13_OA3IN- AN14_OA3IN+AN12

AN11

GND

PGD_T X _SD APGC_R X _SC L

PWMH1PWML 1

PWMH3PWML 3

50mil straight

12345

J30

Default = Use Analog Inputs

Default = Use Analog Inputs

Remove R1, R2 if using Ditial I/O from Load

Default = Use LEDs

ASDA2ASC L 2

ASDA2

ASC L 2

AN3AN10_RP40

ATTENTIONELECTROSTATIC

SENSITIVE DEVICE

Page 8: EPC9528 dsPIC33CK Controller Module Quick Start Guide · 2021. 5. 19. · J10 Main card edge connector 1.0 mm Micro edge card Samtec, MEC1-120-02-F-D-EM2 J20 Pickit programming header

QUICK START GUIDE

EPC – POWER CONVERSION TECHNOLOGY LEADER | EPC-CO.COM

| ©2021 |

| 8

EPC9528 dsPIC33CK Controller Module

1 2FB502

12

34

50

IDD

+D

-+5

VG

ND

J500

USB 2.0 Mini

47 pF, 50 V

C503

25

TVS Diode Array 6 V

1,63,4

D500

3

1

4

2

90 Ω 550 mA 50 V

L 500

L ine Filter 0603

180 Ω @ 100 MHz

180 Ω @ 100 MHz1 2

FB501

USB_D-

USB_D+

USBinterface

Busmatrix

I2Cinterface

UARTinterface

G IO

16

1 23

4

56 7

8

9

10

11

12

13 17

SCL

SDA

RX

TX

E P

RST

GP

3

V S S

D-

D+

VDD VUSB

GP

2

GP

1

GP

0

U510MCP2221A-I/ML

10 kR 510

4.7 kR 534

E MPT Y

0.1 μF , 25 VC501

GNDF

GNDFGNDF

GND

10 μF, 10 VC510

0.1 μF , 25 VC500

15 ΩR 502

15 ΩR 503

270 ΩR 530

270 ΩR 531

4.7 kR 535

E MPT Y

TX

R X

GND

3V3

GNDF GNDF

4k7R 501

GNDF

GNDF

47 pF, 50 V

C502

470 nF, 6 V3C511

5V

GNDF GNDF

3V3

5 V

I2CUART

DNP

R551

Do Not Connect

5

7

63

2

41 8

VDDA VDDB

GNDA GNDBU520

ADuM1201CR/ADuM1250ARZTX

R X

SDA

SCL 0 ΩR 532 EMPTY

0 Ω EMPTYR 533

GNDGNDF

3V3

5 VV USB

V USB

Data type selector

0 ΩR 551

0 ΩR 552

E MPT Y

Default set to UART using 5 V

0.1 μF , 25 VC520

GND

3V3

Use ADuM1201 for UART (Default)

for I2C only

4.7 kR 520

E MPT Y4.7 kR 521

E MPT Y

Use ADuM1250 forI2C

3V3 3V3

3V3F 3V3F

5 V 3V3

R552

Install

R534R535

R532R533

R520R521

DNP

R552

Install

R534R535

R532R533

R520R521

R530R531

R551

R530R531

GP0

GP1

GP2

GP3Shield

GNDF

GNDF

Figure 4: EPC9528 USB interface schematic

Page 9: EPC9528 dsPIC33CK Controller Module Quick Start Guide · 2021. 5. 19. · J10 Main card edge connector 1.0 mm Micro edge card Samtec, MEC1-120-02-F-D-EM2 J20 Pickit programming header

QUICK START GUIDE

EPC – POWER CONVERSION TECHNOLOGY LEADER | EPC-CO.COM | ©2021 | | 9

EPC9528 dsPIC33CK Controller Module

EPC would like to acknowledge Microchip Technology Inc. (www.microchip.com) for their support of this project.

Microchip Technology Incorporated is a leading provider of smart, connected and secure embedded control solutions. Its easy-to-use development tools and comprehensive product portfolio enable customers to create optimal designs, which reduce risk while lowering total system cost and time to market. The company’s solutions serve customers across the industrial, automotive, consumer, aerospace and defense, communications and computing markets.

The EPC9137 system features the dsPIC33CK256MP503 16-Bit Digital Signal Controller with High-Speed ADC, Op Amps, Comparators and High-Resolution PWM. Learn more at www.microchip.com.

Page 10: EPC9528 dsPIC33CK Controller Module Quick Start Guide · 2021. 5. 19. · J10 Main card edge connector 1.0 mm Micro edge card Samtec, MEC1-120-02-F-D-EM2 J20 Pickit programming header

EPC Products are distributed through Digi-Key.www.digikey.com

For More Information:

Please contact [email protected] your local sales representative

Visit our website: www.epc-co.com

Sign-up to receive EPC updates atbit.ly/EPCupdates or text “EPC” to 22828

Demonstration Board NotificationThe EPC9528 board is intended for product evaluation purposes only. It is not intended for commercial use nor is it FCC approved for resale. Replace components on the Evaluation Board only with those parts shown on the parts list (or Bill of Materials) in the Quick Start Guide. Contact an authorized EPC representative with any questions. This board is intended to be used by certified professionals, in a lab environment, following proper safety procedures. Use at your own risk. As an evaluation tool, this board is not designed for compliance with the European Union directive on electromagnetic compatibility or any other such directives or regulations. As board builds are at times subject to product availability, it is possible that boards may contain components or assembly materials that are not RoHS compliant. Efficient Power Conversion Corpora-tion (EPC) makes no guarantee that the purchased board is 100% RoHS compliant.The Evaluation board (or kit) is for demonstration purposes only and neither the Board nor this Quick Start Guide constitute a sales contract or create any kind of warranty, whether express or implied, as to the applications or products involved. Disclaimer: EPC reserves the right at any time, without notice, to make changes to any products described herein to improve reliability, function, or design. EPC does not assume any liability arising out of the application or use of any product or circuit described herein; neither does it convey any license under its patent rights, or other intellectual property whatsoever, nor the rights of others.