Switching application for msata and pci express mini-card (17 pages)
Summary of Contents for NXP Semiconductors EVSE-SIG-BRD1X
Page 1
User manual Document information Information Content Keywords UM12013, EVSE-SIG-BRD1X, LPC5536, LPC55S36, SJA1110B, CG5317, HPGP, EVSE, EV, control pilot, proximity pilot Abstract The EVSE-SIG-BRD1X is an add-on development board that supports electric vehicle supply equipment (EVSE) or electric vehicle (EV) platform development.
This document describes the features and hardware and software details of EVSE-SIG-BRD1X. It also explains how to use and interface the board with the host controller boards. The software implementation is based on the NXP MCUXpresso SDK.
NXP application NXP drivers Figure 2. EVSE-SIG-BRD1X system software block diagram 1.2 Board features Table 1 lists the board features of the EVSE-SIG-BRD1X. Table 1. EVSE-SIG-BRD1X features Board feature Description Embedded microcontroller NXP LPC5536/LPC55S36 MCU, which features a 32-bit Arm Cortex-M33 core, 128 KB SRAM, 256 KB flash, FlexSPI with cache, USB FS, Flexcomm interface, CAN FD, 32-bit counters/timers, SCTimer/PWM, 16-bit 2.0 Msamples/s ADC, comparator, 12-bit...
• Onboard +12 V to -12 V charge pump inverter 6.4 inch x 3 inch, 6-layer Orderable part number EVSE-SIG-BRD1X 1.3 Board pictures Figure 3 shows the top-side view of EVSE-SIG-BRD1X. LPC5536/LPC55S36 SJA1110B CG5317 Figure 3. EVSE-SIG-BRD1X top-side view Figure 4 shows the bottom-side view of EVSE-SIG-BRD1X.
(Proximity pilot, (Arduino) control pilot) (CAN) (Proximity pilot) (5 V DC power) Figure 5. Connectors Table 2 describes the connectors available on EVSE-SIG-BRD1X. Table 2. EVSE-SIG-BRD1X connectors Part identifier PCB label Connector type Description DC5V0 DC power jack 5 V power connector...
Page 8
NXP Semiconductors EVSE-SIG-BRD1X User Manual J43 J20 J38 J18 J7 J8 Figure 6. Jumpers Table 3 describes the EVSE-SIG-BRD1X jumpers. Table 3. EVSE-SIG-BRD1X jumpers Part identifier Jumper type Description 1x3-pin header 5V_SYS power source selection jumper: • Pins 1-2 shorted: 5V_SYS supply is produced from DC_5V_IN supply.
Page 9
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual Table 3. EVSE-SIG-BRD1X jumpers ...continued Part identifier Jumper type Description 1x3-pin header Proximity pilot control jumper: • Pins 1-2 shorted (default setting): Proximity pilot is used for EVSE simulation. • Pins 2-3 shorted: Proximity pilot is used for EV simulation.
Only one of them can be used at a time. By default, J47 is used. 1.6 Push button and DIP switch EVSE-SIG-BRD1X has one push button SW1 and one dual inline package (DIP) switch SW2, as shown in Figure UM12013 All information provided in this document is subject to legal disclaimers.
Page 11
(Emergency relay stop) (SJA1110B bootstrap configuration) Figure 7. Push button and DIP switch Table 4 describes the EVSE-SIG-BRD1X push button. Table 4. EVSE-SIG-BRD1X push button Part identifier Supported function Description Emergency relay stop button This push button can be used to turn OFF the relay during an emergency.
• 1: Automatic mode. The 100BASE-T1 PHY starts link training automatically. (default setting) 1.7 LEDs EVSE-SIG-BRD1X provides numerous light-emitting diodes (LEDs) for monitoring system status. The information collected from the LEDs can be used for debugging purposes. Figure 8 shows the EVSE-SIG-BRD1X LEDs.
Page 13
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual Table 6. EVSE-SIG-BRD1X LEDs ...continued Part identifier PCB label LED color Description (when LED is ON) • EV mode: The D19 LED blinks continuously. • EVSE mode: The D19 LED blinks continuously. If the LPC5536/ LPC55S36 device enters into Deep-Sleep mode, the D19 LED turns OFF to save power.
Section 2.15 "Host connectors" 2.1 Power supplies EVSE-SIG-BRD1X draws power from the host EVK connectors, for example, Arduino, EXP CN, or MFP. Within the board: • A boost converter is used to generate a +12 V supply, which is used for PWM signaling of the control pilot and for driving the relay driver.
(xMII, GPIO, host, SPI, clock, flash, debug, fuse) SJA1110B Figure 9. Power supply block diagram 2.1.2 Power supply sources Table 7 shows the power supply sources available on EVSE-SIG-BRD1X. Table 7. Power supply sources Power source Manufacturing part Power supply rail Description number...
PWM op-amp. 2.1.3 Schematic design The input power supplies of EVSE-SIG-BRD1X are 5 V and 3.3 V. The PMIC PPF5020 also generates 3.3 V power. 3.3 V power can also be drawn from the host controller board through host connectors.
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual • +12 V supply rail from boost converter drives up to 800 mA load current. It also supplies +12 V power to the charge pump inverter. • -12 V supply rail from charge pump inverter drives up to 80 mA load current.
2.1.3.2 Boost converter and charge pump inverter EVSE-SIG-BRD1X has an LTC3122 step-up DC-DC converter, which acts as a boost converter. The LTC3122 converter is configured in the boost converter hardware configuration. It can drive a current of up to 800 mA for = 5 V and V = 12 V.
When the vehicle coupler connector is not connected to the vehicle inlet, the onboard R52 and R57 resistor divider produces a voltage level of 4.46 V. This node is fed to a detection logic inside the EVSE-SIG-BRD1X vehicle side simulation. When the coupler is connected to the inlet and the latch release actuator switch is closed, the voltage at the point of detection logic drops to 1.53 V.
• If the coupler is connected and the switch is open, PP_DET = 1.8 V and the WAKEUP signal becomes low. 2.3.2 Software implementation For the PROX_PILOT signal detection in the EVSE side of EVSE-SIG-BRD1X, the WAKEUP signal is configured with GPIO input pin configuration. The below code snippet is based on the NXP MCUXpresso SDK:...
= true; SDK_ISR_EXIT_BARRIER; 2.4 Control pilot The control pilot of EVSE-SIG-BRD1X performs the following functions: • Generates the J1772 PWM (IEC 61851) signal. • Amplifies the signal to ±12 V. • Detects if the signal level changes due to: –...
Page 23
SPDT Figure 18. EV control pilot PWM Note: EVSE-SIG-BRD1X generates +12 V and -12 V from the 5 V input power sources. HomePlug Green PHY (HPGP) The HPGP transceiver provides high-level signaling over the same control pilot signal of the charging cable.
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual The host processor can access the HPGP in EVSE-SIG-BRD1X using the SPI or Ethernet interface. These interfaces allow the host to: • Boot • Communicate • Run control and management services with the HPGP The SPI interface of EVSE-SIG-BRD1X can be accessed through: •...
Figure 20. Control pilot PWM generation and sense 2.4.1.1 Schematic design The J1772 PWM circuit in EVSE-SIG-BRD1X is configurable to the electric vehicle supply equipment (EVSE) side or electric vehicle (EV) side interface using board jumper settings. The implementation is shown in Figure 3.3V_SYS...
Page 26
EVSE wants to inform the EV that it can also support high-level signaling using the HPGP CG5317. A higher value duty cycle indicates only the basic-level signaling, that is, the charge current rating of the EVSE. The electric vehicle side of EVSE-SIG-BRD1X measures this PWM frequency and duty cycle.
6. At the end of the charging, the EV can open SW2 or SW3. As a result, the CP voltage level comes back to +9 V, that is, state 'B'. On the EVSE side, EVSE-SIG-BRD1X monitors this voltage level continuously. Any change to +9 V indicates that the PWM can be stopped and the charging process can also be stopped from the EVSE side.
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual To generate a center-aligned PWM of 1 kHz frequency, the INIT register of the eFlexPWM is loaded with half tick counts before zero value to initialize the PWM counter. When the PWM counter value reaches a negative VAL2, the PWM output changes to the high level.
2.4.1.4 CTIMER usage for control pilot The CTIMER counter is used in the EV side of EVSE-SIG-BRD1X to measure the PWM frequency and ON time. The counter/timer is supplied with a 1 MHz clock. It captures values on the Capture registers at the rising and falling edges of the trigger input.
Page 30
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual /* Open drain is disabled */ IOCON_PIO_OPENDRAIN_DI); /* PORT0 PIN1 is configured as CTIMER_INP3 */ CTIMER is initialized as below: void CP_Init(void) /* Use 12 MHz clock for some of the Ctimers */ CLOCK_SetClkDiv(kCLOCK_DivCtimer1Clk, 0u, false);...
2.4.1.6 ADC usage for control pilot for EVSE Irrespective of the PC_PWM state (logic high, logic low, or PWM), EVSE-SIG-BRD1X must measure the voltage level of the +12 V CP continuously in the EVSE side. First, the CP signal is buffered at the op-amp U8B for measurement.
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual MII/RMII Host Filter CG5317 HPGP Medium Flash (optional) Figure 25. Design with CG5317 Note: To get the detailed and most up-to-date information about CG5317, contact Lumissil through its website, customer support portal, or support email address (see Table 23).
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual 2.4.2.3 CG5317 UART debug port The UART port of CG5317 is used as a debug port for the host interface. To route the UART TXD and RXD signals between CG5317 and the host connectors, pins 2 and 3 must be shorted for each of the onboard jumpers J41 and J42.
2.6.1 Block diagram In EVSE-SIG-BRD1X, the relay driver circuit can drive two DC coil relays. The relays can turn ON or turn OFF an AC supply of single-phase to three-phase connected to the EV through the charging cable. The external relays are hosted in the EVSE system.
• Provides UART communication port between host controller (through host connector interfaces) and the EVSE-SIG-BRD1X MCU. In such a case, it acts as a slave processor for the master processor on the host controller board. For example, in the EVSE Simulation mode, the LPC5536/LPC55S36 MCU can set the control pilot state to high, low, or PWM, based on the host controller request received through the UART interface.
• Provides a LIN slave communication port between host controller (through host connector interfaces) and the EVSE-SIG-BRD1X MCU. For EV simulation of the board, LIN is the default channel of communication. • Supports CAN interface as a future expansion option for CAN communication.
P2_0 PIO2_0_ADC0IN9A P2_1 PIO2_1_OPAMP2_INP LPC5536JBD100 Figure 35. LPC5536/LPC55S36 schematic design 2.7.3 LPC5536/LPC55S36 pin usage Table 11 shows the list of non-power MCU pin functions used in EVSE-SIG-BRD1X. Table 11. LPC5536/LPC55S36 pin usage Pin name Signal name MCU block usage Function PIO0_0_ACMO0_A SWCLK...
Page 43
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual Table 11. LPC5536/LPC55S36 pin usage ...continued Pin name Signal name MCU block usage Function PIO0_7_HSCMP1_IN0 ISP boot selection PIO0_9_ACMP0_B SWDIO Serial wire debug Serial wire debug input/output PIO0_10_ADC0IN1A PC_EVSE_DET Pilot control sense PIO0_13 HPGP_RESET GPIO...
Open ISP boot Shorted (default setting) Internal flash boot 2.7.5 Debug interface EVSE-SIG-BRD1X provides a serial wire debug (SWD) port through connector J30 for debugging the LPC5536/ LPC55S36 MCU. You can use a MCU-Link debug probe, PEmicro debug probe, or MCU-Link Pro debug probe to program and debug the MCU.
Figure 37. MCU-Link Pro debug probe 2.8 SJA1110B switch EVSE-SIG-BRD1X hosts an NXP SJA1110B automotive Ethernet switch, which allows a host controller to connect to the HPGP through an Ethernet interface. SJA1110B provides the following two Ethernet interfaces for host Ethernet connections: •...
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual QSPI QSPI flash 100BASE-TX To RJ45 To 100BASE-T1 SJA1110B SPI_HAP To host connectors 100BASE-T1 interface LPC5536/S36 SPI_PER (Flexcomm 2 / To user LED GPIO SPI) Figure 38. SJA1110B interfaces on board The SJA1110B switch is an automotive Ethernet switch that integrates: •...
Page 48
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual Table 13. SJA1110B pin usage ...continued Pin name Signal name MCU block usage Function DEVICE_CFG_N DEVICE_CFG_N Switch subsystem Drive switch subsystem configuration completion LED GPIO0 SW_100BTX_LINK GPIO Drive link LED for 100BASE-TX GPIO1 SW_100BTX_SPEED GPIO...
JTAG / serial wire debug JTAG TMS / serial wire debug SWDIO 2.8.4 SJA1110B bootstrap EVSE-SIG-BRD1X provides a DIP switch SW2 for controlling the power-on bootstrap functions of the SJA1110B switch. For more details, see Table 2.8.5 SJA1110B software The SJA1110B software has been developed using S32 Design Studio (S32DS) IDE and S32 SDK for SJA1110 RTM 1.0.2.
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual LPC5536/S36 Arduino HOST_UART_TXD Flexcomm/ connector J40, USART0 EXP CN HOST_UART_RXD connector J44 M_UART_TXD Flexcomm/ Header J46 USART1 M_UART_RXD Figure 40. UART ports The host UART port is available over Arduino and EXP CN host connectors, as described in Table Table 14. Host UART port...
The host UART serial interface can receive commands from the host controller to read and write parameters on EVSE-SIG-BRD1X. There is a pre-defined set of commands supported at the UART interface. After receiving commands from the UART interface, the LPC5536/LPC55S36 MCU on the board responds to the supported...
Page 52
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual Table 16 lists supported commands and their responses. Some of the commands are applicable only to the EVSE side or the EV side of the software. Table 16. Supported UART commands Type/side Command code Command...
EV/EVSE On receiving this command from the host over LPC_UART_RXD (P0_3), EVSE-SIG-BRD1X sends the command to the meter board (TWR-KM35Z75M) over M_UART_TXD (P1_11), requesting for the required parameters. Then, the meter board sends the response to EVSE-SIG-BRD1X through M_UART_ RXD (P1_10).
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual if((uartRxPortStatus[UART_CONTROL_INDEX] == UART_IDLE) && (uartTxPortStatus[UART_CONTROL_INDEX] == UART_IDLE)) /*If the counter set by user to put the device into sleep mode reaches '0'*/ if(g_sleepTimeout == 0) ................ else if(g_advertiseGFCIState == true) g_advertiseGFCIState = false;...
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual ................ else if(g_sendUpdateToMeter == true) g_sendUpdateToMeter = false; Send_ChargingStatusToMeter(); 2.12 Power management with Deep-Sleep mode If the device (LPC5536/LPC55S36 MCU) is inactive for a predefined time, it switches into a low-power mode to reduce power consumption. One such low-power mode is Deep-Sleep mode, which is described in the subsection that follows.
Page 56
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual GPIO_PinWrite(GPIO, BOARD_LED2_PORT, BOARD_LED2_PIN, 1u); /*Entering the device into Deep-Sleep mode*/ POWER_EnterDeepSleep(g_excludeFromDS, 0x0, g_wakeupFromDS, 0x0); The whole process can be divided into the following steps: 1. Tracking of the time since the last communication with the host: When the UART port becomes idle (no TX or RX activity at the LPC_UART_TXD or LPC_UART_RXD signal), an internal variable (sleep timeout counter) g_sleepTimeout starts tracking the time left for the device to enter Deep-Sleep mode.
Deep-Sleep mode. 2.13 CAN PHY EVSE-SIG-BRD1X has a controller area network (CAN) PHY (NXP TJA1044GT) to communicate with other devices in EV/automotive use case. Alternatively, the board can be used as a host controller UART-to-CAN bridge in a standalone use case.
LPC5536/LPC55S36 MCU. The supported host connections are listed below: • Arduino socket connectors, which fetch power from the host board and support SPI and UART connections. The Arduino socket is used to connect EVSE-SIG-BRD1X to a development board for an i.MX RT crossover MCU (for example, i.MX RT1060...
Page 59
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual Table 18. Arduino connector J36 pinout ...continued Pin numbers Signal name Type Description HOST_SPI_CS2 Host SPI master chip select option 2 HOST_SPI_MOSI Host SPI master output slave input signal HOST_SPI_MISO Host SPI master input slave output signal...
Page 60
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual Table 21. EXP CN connector J44 pinout ...continued Pin numbers Signal name Type Description HOST_SPI_CS2 Host SPI master chip select option 2 (disconnected) HOST_SPI_CS2 HOST_SPI_MOSI Host SPI master output slave input signal HOST_SPI_MISO Host SPI master input slave output signal...
Page 61
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual 3 Appendix A Figure 44 shows the cross-section of an AC EV charging Type 2 connector. Proximity pilot Control pilot Neutral AC phase 1 Protective earth AC phase 3 AC phase 2 Figure 44. AC EV charging Type 2 connector UM12013 All information provided in this document is subject to legal disclaimers.
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual 4 Related resources Table 23 lists some additional resources that may be required while working on EVSE-SIG-BRD1X. Table 23. Related resources Resource Link / how to obtain EVSE-SIG-BRD1X User Guide (UG10109) Contact an NXP field applications engineer (FAE) or sales...
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual 5 Acronyms Table 24 lists the acronyms used in this document. Table 24. Acronyms Acronym Description Alternating current Analog-to-digital converter Analog front-end ASIC Application-specific integrated circuit Controller area network Control pilot Cyclic redundancy check Chip select...
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual 6 Note about the source code in the document Example code shown in this document has the following copyright and BSD-3-Clause license: Copyright 2024 NXP Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1.
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual 7 Revision history Table 25 summarizes the revisions to this document. Table 25. Revision history Document ID Release date Description UM12013 v.1 18 June 2024 Initial public release UM12013 All information provided in this document is subject to legal disclaimers.
NXP Semiconductors. In the event that customer uses the product for design-in and use in In no event shall NXP Semiconductors be liable for any indirect, incidental, automotive applications to automotive specifications and standards, punitive, special or consequential damages (including - without limitation - customer (a) shall use the product without NXP Semiconductors’...
Page 68
UM12013 NXP Semiconductors EVSE-SIG-BRD1X User Manual AMBA, Arm, Arm7, Arm7TDMI, Arm9, Arm11, Artisan, big.LITTLE, i.MX — is a trademark of NXP B.V. Cordio, CoreLink, CoreSight, Cortex, DesignStart, DynamIQ, Jazelle, Kinetis — is a trademark of NXP B.V. Keil, Mali, Mbed, Mbed Enabled, NEON, POP, RealView, SecurCore, Socrates, Thumb, TrustZone, ULINK, ULINK2, ULINK-ME, ULINK- PLUS, ULINKpro, μVision, Versatile —...
Need help?
Do you have a question about the EVSE-SIG-BRD1X and is the answer not in the manual?
Questions and answers