background image

Si4010-DK

Rev. 0.1

15

/*

 *------------------------------------------------------------------------------

 */

Assembly version of the same function, assuming that the file name is ledon.a51 for

Keil toolchain.

;------------------------------------------------------------------------------

;

;     INCLUDES:

;

    $NOLIST

    $INCLUDE (si4010.inc)

    $LIST

;---------------------------------------------------------------------------

;

;     SEGMENTS:

;

; Assumes file name to be ledon.a51 .. capitalized LEDON is the file name

NAME    LEDON

?PR?vLedOn?LEDON SEGMENT CODE

;---------------------------------------------------------------------------

;

;     EXTERNALS AND PUBLIC:

;

PUBLIC  vLedOn

;---------------------------------------------------------------------------

;

;     CODE:

;

        RSEG  ?PR?vLedOn?LEDON

vLedOn:

        setb    GPIO_LED

        mov     A, RBIT_DATA

        jnb     ACC.B_GPIO_LED_DRIVE, NoC2Disable

        orl     PROT0_CTRL, #M_C2_OFF

NoC2Disable:

Downloaded from 

Elcodis.com

 

electronic components distributor

 

Summary of Contents for 4010-KFOBDEV-434

Page 1: ...C 1 MSC DKPE1 SOIC MSOP socketed development board 3 Si4010 C2 GS Si4010 C2 GS transmitter IC SOIC Package 1 4010 DKPB434 BM Si4010 MSOP key fob development board 434 MHz SMA 1 4355 LED 434 SRX Si4355 RFStick 434 MHz receiver board 1 MSC PLPB_1 Key Fob Plastic Case translucent grey 1 MSC BA5 Programming interface board 1 MSC BA4 Burning adapter board 1 EC3 USB Debug Adapter 1 Toolstick_BA Toolstic...

Page 2: ...z w o IC 1 MSC DKPE1 SOIC MSOP socketed development board 3 Si4010 C2 GS Si4010 C2 GS transmitter IC SOIC Package 1 4010 DKPB915 BM Si4010 MSOP key fob development board 915 MHz SMA 1 4355 LED 915 SRX Si4355 RFStick 915MHz receiver board 1 MSC PLPB_1 Key Fob Plastic Case translucent grey 1 MSC BA5 Programming interface board 1 MSC BA4 Burning adapter board 1 EC3 USB Debug Adapter 1 Toolstick_BA To...

Page 3: ...e board It is required when the user wants to program the internal NVM memory on the chip The programming interface board contains an 8 pin header to which GPIO0 to GPIO5 along with power and ground are connected from the development boards Therefore the user can tap to that header to control or monitor the chip pins 1 1 2 Si4010 Socketed Key Fob Development Board P N MSC DKPE1 Socketed both SOIC ...

Page 4: ...ired measurements of the RF output signal Note Instead of this board some 434 MHz development kits may contain the pcb antenna version of this board described in 1 2 2 Si4010 Key Fob Development Board 434 MHz on page 7 1 1 4 Si4355 RFStick 434MHz receiver board P N 4355 LED 434 SRX Receiver board factory programmed with the simple receiver program srx_demo Can be used for link testing with Si4010 ...

Page 5: ... MSC PLPB_1 1 1 8 Toolstick Base Adapter P N Toolstick_BA Debugging adapter compatible with Si4355 RFstick receiver board and the Si4010 development boards 1 1 9 Si4010 sample SOIC package P N Si4010 C2 GS 1 1 10 USB Cable P N MSC DKCS5 Cable to connect EC3 Debug Adapter to PC Downloaded from Elcodis com electronic components distributor ...

Page 6: ...0 1 1 1 11 EC3 Debug Adapter P N EC3 Silicon Labs debugging adapter used by other Silicon Labs MCU products as well compatible with the development platform Downloaded from Elcodis com electronic components distributor ...

Page 7: ...M but contains the SOIC package version of the Si4010 1 2 2 Si4010 Key Fob Development Board 434 MHz This is also a key fob development board but with a pcb antenna instead of the SMA connector Part Number Description 4010 DKPB434 BS Si4010 SOIC key fob development board 434 MHz SMA 4010 DKPB_434 Si4010 key fob development board 434 MHz 4010 DKMX_434 Si4010 matrix keyboard development board 434 MH...

Page 8: ...C3 debug adapter Burning adapter Si4010 MSOP key fob development board This setup is suitable for downloading running and debugging the program in RAM This board has a PCB antenna and battery so after downloading the program and starting the execution by disconnecting in the IDE the board can be physically disconnected from the programming interface and tested in mobile form A switch is provided o...

Page 9: ...ram resides in the same directory as the IDE main executable With the Si4010 debugging chain it is required that the manual adapter firmware clearing is done for each USB adapter before using the key fob debugging chain That operation needs to be done only once per USB Debug Adapter The IDE will then program the correct firmware into the adapter The reset firmware executable will scan USB ports an...

Page 10: ... 0x0000 in CODE XDATA RAM Then the user can set breakpoints single step animate etc 4 The user can hit the Reset Ctrl R toolbar button any time the device is halted not running The internal digital system level reset is invoked and the device goes through the boot sequence The previously loaded code by the user into the CODE XDATA RAM is preserved and the device is halted at the address 0x0000 of ...

Page 11: ...ll rarely change and customers will be notified about the change The provided NVM burner program reads both the bREV_ID device revision and the trim version bSys_TrimId in the Device tab after the burner is connected to the device 2 7 Debugging Application which Drives LED To maximize utilization of the package pins the LED current driver output is shared with the debug chain clock signal C2CLK To...

Page 12: ...not be able to connect to the device In such a situation the device power has to be cycled to invoke internal power on reset See item 1 above Cycling the power to the part in this context means either physical removal of the power to the device or calling the vSys_Shutdown function from within the application which achieves the same result 2 8 Hardware Issue with Debugging LED Application There is...

Page 13: ...the LED will never light up and the GPIO4 will always function For debugging the LED and for final application compilation for the Run state of the device the user will compile the application with the LED on value set to 1 For example ifdef DEBUG define gLedOnValue_c 0 else define gLedOnValue_c 1 endif Clear the GPIO_LED off after reset reset will set this bit GPIO_LED 0 Set LED intensity accepta...

Page 14: ...lowing function to the user application to turn the LED on C function to turn the LED on INCLUDES include si4010 h VISIBLE FUNCTIONS void vLedOn void FUNCTION DESCRIPTION Turn LED on with disabling of the C2 The C2 is disabled only if the part is not connected to the IDE debugging chain VARIABLES GPIO_LED 1 if 0 RBIT_DATA M_GPIO_LED_DRIVE PROT0_CTRL M_C2_OFF Downloaded from Elcodis com electronic ...

Page 15: ...LIST SEGMENTS Assumes file name to be ledon a51 capitalized LEDON is the file name NAME LEDON PR vLedOn LEDON SEGMENT CODE EXTERNALS AND PUBLIC PUBLIC vLedOn CODE RSEG PR vLedOn LEDON vLedOn setb GPIO_LED mov A RBIT_DATA jnb ACC B_GPIO_LED_DRIVE NoC2Disable orl PROT0_CTRL M_C2_OFF NoC2Disable Downloaded from Elcodis com electronic components distributor ...

Page 16: ...ED 1 in the code which will block the GPIO4 But subsequent call to vLedOn will clear the blocking of the GPIO4 and it will start functioning normally again Disadvantages 1 Once the LED is physically blinked then it is not possible for the IDE to connect to the part until the power is cycled or the vSys_Shutdown is called from within the application It is up to the user to make sure that the power ...

Page 17: ... time the new code in OMF or HEX format is downloaded to the part through the IDE the IDE issues a system reset and the device reboots The content of the RAM memories is not touched by the boot with the exception of the API reserved regions in CODE XDATA and DATA IDATA memories The register banks RB0 RB1 and RB3 are cleared by the boot routine 3 Whenever the ToolStick adapter is directly connected...

Page 18: ...mple shows the main flow when the user wants to switch in between several frequencies fast It is possible to call vFCast_Tune for several frequencies in advance collect the information calculated and then just quickly apply it during transmission This is for the cases when the 5 6 ms time spent in vFCast_Tune is prohibitive for switching in between frequencies 3 4 Tone CW generation demo tone_demo...

Page 19: ... board Buttons are debounced using the Button Service API functions 3 6 RKE key fob demo rke_demo An advanced key fob demo using AES encryption rolling counter in MTP memory battery voltage measurement and production ID of chip as node address This is the firmware used in the Si4010 Demo Key Fobs available in Silicon Labs key fob demo kits Downloaded from Elcodis com electronic components distribu...

Page 20: ...ries assumes no responsibility for the functioning of undescribed features or parameters Silicon Laboratories reserves the right to make changes without further notice Silicon Laboratories makes no warranty rep resentation or guarantee regarding the suitability of its products for any particular purpose nor does Silicon Laboratories assume any liability arising out of the application or use of any...

Reviews: