Production Testing

Overview

The purpose of the test procedure is to identify connectivity issues, poor soldering, and potential manufacturing defects. Some of the issues are directly identified by explicit part-targeted tests, others are implicit, by running adjacent tests.

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/adrd5161_board_image.png

Figure 1 ADRD5161-01Z BMS board

Attention

Before running the production tests, the boards need FTDI programming. See FTDI Programming section below.

FTDI Programming

Before running the production tests, the boards need FTDI programming. Follow the steps below to program the FTDI.

Required Hardware

  • FTDI programming fixture (resistor board with programming area)

  • ADRD5161 board (D.U.T)

  • Load resistors

  • USB cable for connection to PC

Required Software

  • MAX77958 TypeC/PD & MAX77962 Charger EV Kit application

  • Firmware binary file (.bin)

Programming Steps

No.

Steps

1

Set up the jumper positions on the programming fixture:

  • Both jumpers on I2C position

  • Jumper on 3V3 position

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/ftdi_programming/jumper_positions.png

Figure 2 Jumper positions for FTDI programming

2

Connect the ADRD5161 board to the load as shown below:

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/ftdi_programming/load_connection.png

Figure 3 ADRD5161 and load connection

3

Connect the fixture to the PC via USB cable

4

Open the MAX77958 TypeC/PD & MAX77962 Charger EV Kit application

5

Go to Device > Connect to connect to the device. If scanning fails, a dialog will appear asking “Could not confirm existence of devices. Do you want to continue?” - click Yes to proceed

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/ftdi_programming/device_scanning.png

Figure 4 Device scanning and connection

6

Once connected, go to Tools > Firmware Update…

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/ftdi_programming/firmware_programming_commands.png

Figure 5 Firmware update menu navigation

7

In the Firmware Update window:

  • Click Open to select the firmware file

  • Navigate to the firmware location and select the appropriate .bin file

  • Click Start to begin programming

8

Wait for the firmware to be written. A completion message will appear: “Write firmware data to the device…Completed.”

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/ftdi_programming/firmware_writing_completion_message.png

Figure 6 Firmware writing completion message

9

Verify the programming was successful by checking the LED feedback on the resistor board. Once the FTDI is programmed, the red LED must be ON

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/ftdi_programming/led_feedback_ftdi_programming.png

Figure 7 LED feedback after FTDI programming

10

Disconnect the board from the application by going to Device > Disconnect

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/ftdi_programming/board_disconnection_from_app.png

Figure 8 Board disconnection from application

11

Remove the board from the fixture and proceed with production testing

Test Procedure

Test Duration

Step Description

Estimated Time (minutes)

Test bench setup

5 min

Software test

6 min

Total time

11 min

Required Hardware

  • ADRD5161 board as Device Under Test

  • Raspberry Pi, HDMI cable, power supply, mouse and keyboard

  • Power supply USB C (20V, 5A)

  • MAXPICO 32650 programmer (Daplink)

  • CAN2USB cable

  • Battery

  • Resistor board

Required Software

The test image will be provided as a SD test card that goes into the Raspberry Pi.

Test Setup

No.

Steps

1

Insert the SD card into the Raspberry Pi

2

Connect the Raspberry Pi to a monitor and power it

3

Connect the Daplink programmer to the D.U.T and the Raspberry Pi

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/daplink_programmer_connection.png

Figure 9 Daplink programmer connection

4

Connect the CAN to USB cable to the D.U.T and the Raspberry Pi

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/can_to_usb_adaptor_connection.png

Figure 10 CAN to USB adaptor connection

5

Connect the resistor board to -/+ on the DUT as seen in the picture below

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/resistor_board_and_connections.png

Figure 11 Resistor board and connections

6

Connect the battery to XT60 connector on the D.U.T and the balancing connector (picture below)

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/adrd5161_battery_connections.png

Figure 12 Battery connections

7

Connect the power supply USB C into the D.U.T

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/usb_power_supply_connection.png

Figure 13 USB power supply connection

Enabling Wifi

Before starting the testing procedure, make sure the Raspberry Pi is connected to Wifi.

  1. After the RPi boots, press CONTROL+C to exit the test screen

  2. Click on the Wifi network you want to connect to

    https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/wifi_connection_1.png

    Figure 14 Wifi network selection

  3. Type in the password

  4. After connecting successfully, reboot the Raspberry Pi by following the instructions below:

    https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/logout.png

    Figure 15 Logout menu

    https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/reboot.png

    Figure 16 Reboot option

Running the Test Software

After reboot, the following test menu should appear:

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/test_menu.png

Figure 17 Test menu

Please enter your choice:
1) MAX17320 Ini Flash
2) Firmware Flash
3) System Test
4) Power-Off Pi

1) MAX17320 Ini Flash

Type “1” into the terminal and press ENTER to start 1) MAX17320 Ini Flash.

Please verify that the programmer is connected to header P7, then press Enter.

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/ini_flash_test_passed.png

Figure 18 MAX17320 Ini Flash test passed

After the first test is passed, move on by writing “2” in the terminal.

2) Firmware Flash

Type “2” into the terminal and press ENTER to start 2) Firmware Flash.

Please verify that the programmer is connected to header P7, then press Enter.

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/firmware_flash_test_menu.png

Figure 19 Firmware Flash menu selection

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/firmware_flash_test_menu_passed.png

Figure 20 Firmware Flash test passed

3) System Test

Type “3” in the terminal in order to run 3) System Test.

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/system_test_screen_1.png

Figure 21 System Test - CAN network connection and readings

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/system_test_screen_2.png

Figure 22 System Test - Object Dictionary values

If no errors are found, the message “No Errors. System test passed.” will be displayed.

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/system_test_screen_passed.png

Figure 23 System Test passed

Next, you will need to unplug the USB C power supply from the D.U.T. When prompted, check if the red LED is on (see picture below) and type y or n.

For the current test, read the display on the board. The value should be approximately 500 mA. If around that value, type y.

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/adrd5161-01z/production_testing/images/screen_output.png

Figure 24 LED and current verification

After all tests pass, a green PASSED message will appear on the screen.

Warning

If a FAILED message appears, check the connections and verify that all cables are properly connected. You may repeat the failed test if it was due to a connection issue.

4) Power-Off Pi

When you are done testing, press “4” and press ENTER to power-off the Raspberry Pi.

Pass Criteria

  • MAX17320 Ini Flash: Test 1) has successfully passed

  • Firmware Flash: Test 2) has successfully passed

  • System Test: Test 3) has successfully passed with LED verification and current reading approximately 500 mA