background image

15-Dec.2017  Ver.1.4 

 

TAIYO YUDEN CO., LTD.   

                                                                                   

 

TAIYO YUDEN CO., LTD. 

8/9 

EBSGJN, EKSGJN 
EBAGJN, EKAGJN 

 

Important notes

 

 

The evaluation board included with the Nordic Development Kit uses a 16MHz clock. Therefore the 
sample  code  from  Nordic  is  designed  to  be  used  with  a  16MHz  clock.  On  the  other  hand,  the 
EYSGJN and EYAGJN series module uses a 32MHz system clock, making it incompatible with the 
Nordic sample code (i.e. sample code does not configure HFCLK: XTALFREQ register for 

32MHz

). 

To  fix  this  issue,  we  need  to  write  the  value  0xFFFFFF00  to  the  UICR  (User  Information 
Configuration Register) at address 0x10001008. Please note that the UICR is erased whenever you 
download a SoftDevice. 
 
 
The UICR can be written by using the debug tools:   
nrfjprog.exe --snr <your_jlink_debugger_serial_number> --memwr 0x10001008 --val 0xFFFFFF00 
 
Or  the  following  code  can  be  added  to  the  SystemInit  function  in  the  system_nRF51.c  file,  right 
before launching the TASK_HFCLKSTART task: 
 

if (*(uint32_t *)0x10001008 == 0xFFFFFFFF)   

{   
        NRF_NVMC->CONFIG = NVMC_CONFIG_WEN_Wen << NVMC_CONFIG_WEN_Pos;   
        while (NRF_NVMC->READY == NVMC_READY_READY_Busy){}   
        *(uint32_t *)0x10001008 = 0xFFFFFF00;   
        NRF_NVMC->CONFIG = NVMC_CONFIG_WEN_Ren << NVMC_CONFIG_WEN_Pos;   
        while (NRF_NVMC->READY == NVMC_READY_READY_Busy){}   
        NVIC_SystemReset();   
        while (true){}   
}   
 
 

 

32kHz Clock 

 

This  module  does  not  installed  32.768kHz  crystal.  In  case  of  operating  without  external  crystal, 
please  use  following  example  code  in  order  to  enable  internal  32.768kHz  RC  oscillator  (32k 
RCOSC). 
 

SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_250MS_CALIBRATION, false);  

 
Note  that  when  you  choose  to  use  the  RC  oscillator,  it  will  add  around  10uA  average  current 
consumption compared to a 20ppm external crystal. 

 
 
 
 
 
 
 
 

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Содержание EBAGJN Series

Страница 1: ...LTD TAIYO YUDEN CO LTD 1 9 EBSGJN EKSGJN EBAGJN EKAGJN EVALUATION BOARD MANUAL EBSGJN Series EBAGJN Series EVALUATION KIT MANUAL EKSGJN Series EKAGJN Series for EYSGJN EYAGJN series BluetoothⓇ low energy Module Downloaded from Arrow com ...

Страница 2: ...Board 1 pc 2 J Link Lite EKSGJNZWY or EKAGJNZXX Only 1 set Nordic nRF51822 ARM Cortex M0 32 bit processor 28 pin Land Grid Array 14GPIOs SWD Basic Module Taiyo Yuden writes firmware for S120 EYSGJNZWY or S310 EYAGJNZXX SoftDevice to this product The user can develop unique application for the module Serial UART interface and power supply are possible with one USB cable And this board has the SWD c...

Страница 3: ...UART RX Indicator 6 SW1 Push button Module Reset active low U2 BLE Module EYSGJN Series or EYAGJN Series CN6 Power consumption monitor Default Short CN5 Jumper of internal 3V3 Default Short CN2 miniUSB UART 5V DC power supply CN1 SWD for J link lite SW1 Reset button CN3 GPIOs and external DC power supply CN4 GPIOs SWD and DC power supply JP3 Antenna selector Default Internal Antenna CN7 RF Connect...

Страница 4: ... Silkscreen Printing Pin Descriptions Pin No CN3 CN4 1 P0 25 VIO 2 P0 05 GND 3 P0 06 SWDCLK 4 P0 04 SWDIO 5 P0 03 P0 27 6 P0 01 P0 26 7 P0 02 P0 21 8 P0 00 P0 19 9 GND P0 23 10 VIO P0 17 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com ...

Страница 5: ...oftware development Nordic DK and Use case Nordic DK http www nordicsemi com eng Products nRF51 DK miniUSB SWD EBSGJN Series EBAGJN Series SWD Serial Wire Debug For example please use J Link Lite CortexM 9 JTAG SWD Emulator EKSGJNZWY and EKAGJNZXX included CN1 supports the connection of the 10 pin 1 27 mm flat cable Nordic nRF51DK Nordic Master control panel etc nRF51 Dongle Downloaded from Arrow ...

Страница 6: ...0pin of CN3 On this configuration you cut short circuit 1pin and 2pin of CN5 and should separate 3V3OUT of FT232RQ 3 USB to serial UART interface It needs to install driver of FT232RQ to use USB for UART interface The drivers are available on FTDI website http www ftdichip com Drivers D2XX htm In addition by the application development please assign GPIO as follows GPIO UART P0 00 RTS P0 01 TX P0 ...

Страница 7: ...O LTD 7 9 EBSGJN EKSGJN EBAGJN EKAGJN 4 Size and Coordinate information Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com ...

Страница 8: ...e added to the SystemInit function in the system_nRF51 c file right before launching the TASK_HFCLKSTART task if uint32_t 0x10001008 0xFFFFFFFF NRF_NVMC CONFIG NVMC_CONFIG_WEN_Wen NVMC_CONFIG_WEN_Pos while NRF_NVMC READY NVMC_READY_READY_Busy uint32_t 0x10001008 0xFFFFFF00 NRF_NVMC CONFIG NVMC_CONFIG_WEN_Ren NVMC_CONFIG_WEN_Pos while NRF_NVMC READY NVMC_READY_READY_Busy NVIC_SystemReset while true...

Страница 9: ...32 bit processor TY s App is installed Development of the application software in the module is unnecessary EBSGJNAWY 1X EBSGJNAWY WX TY s App Slave EBSGJNAWY 1X EBSGJNAWY WX TY s App Master Peripheral Side Central Side UART UART Your product Your product Your product UART UART UART Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded f...

Отзывы: