The pin connection spreadsheet is here.

I think it should look like this.

Test program


  1. Go to the TESTING directory
  2. If you don’t have it installed already, download and install JFlashLite_V485a.zip
  3. Download the test program TS06_CHECKOUT_C_nRF51822.hex
  4. The UI to JFlashLite is tedious but easy.  Make sure to specify the correct processor using the pull-down menu.
  5. The program should start automatically, but if it doesn’t, then power-cycle. 

OutputThe program loops performing the following 4 tests:

  1.  All the LEDs should come on for 3 seconds.  N.B. LED on pin 0 marked ‘X’ in the photo, is broken on my board, and should be on.
  2. It tries to access the DW chip, and get the chip ID.  If it suceeds it “floods” the LEDs till they are all on in a clockwise direction
  3. It tries to read the DW temp, and battery gauge.  If it suceeds it “un-floods” the LEDs till they are all OFF in a counter-clockwise direction.
  4. The it tries to prime the transmit buffer with test data,  If this works it sets the bottom TWO LEDs
  5. Then it tries to issue a ‘transmit’ command.  If this works then the bottom FOUR LEDs are set.
  6. If the transmission finishes and an interrupt is raised then it sets the bottom SIX LEDs.
  7. To signal the end of the test it ripples the LEDs to and fro 5 times.

Then it returns to step #1

    Leave a Reply