nrf24ex in a wireless keyboard design

Similar documents
Single chip 2.4GHz wireless mouse using nrf24ex

nrf240x ShockBurst technology

nrf905 Evaluation Kit

Simple frequency hopping with the nrf9e5 and nrf24e1

PRODUCT SPECIFICATION

There are a few places where you typically encounter S/PDIF signals.

nrf24lu1+ Development Kit

nrf24lu1+ Development Kit User Guide v1.0

Low Cost Networks, ZigBee TM &

Remote Control Reference Design nrd24h1. User Guide v1.0

Product Overview. ADNK-5033-TN24 Optical Mouse Designer s Kit. Description. Features of ADNK-5033-TN24

AppNote-US2400-EVB Low Power 2.4GHz Transceiver

BLE MODULE SPECIFICATIONS

Circuit Board Guidelines for aqfn Package nan-40

MOD-MRF24J40 development board Users Manual

Reindeer Technologies Pvt Ltd Excellence through Innovation

Hints and tips when using RC1xx0 RF Modules

Wireless-Tag WT51822-S1

AN10428 UART-SPI Gateway for Philips SPI slave bridges

MSP-RFLINK development board Users Manual

nrf24lu1 Development Kit User Guide v1.0

DRF1278DM LORA Long Range SX1278 Data Radio Modem V2.72

PAN1740 Design Guide

RF4431 wireless transceiver module

RTC Interface 89C51 DS M. Krishna Kumar MAM/M7/LU17/V1/ Vcc VCC 5 SDA P1.0 6 SCL P KHz 3 BAT 3.

Evaluation Boards for the DLP-USB245M USB Adapter

SKY : 2.4 GHz Low-Noise Amplifier

Power Profiler Kit. User Guide. v _027 v2.2 /

EVALUATION BOARD DATA SHEET EV142

RF Trans-controller ZULU. RF Transceiver combined with. Upto 2km Range Operates from V Dimensions: 25 x 11mm. Features. Transceiver Features

1. General Description

Product Datasheet: DWM1001-DEV DWM1001 Module Development Board. Key Features and Benefits

Radiocrafts Embedded Wireless Solutions

MF RD700. PEGODA Contactless Smart Card Reader READER COMPONENTS. Preliminary Product Specification Revision 2.0 PUBLIC. July2002

PBLN52832 DataSheet V Copyright c 2017 Prochild.

Radiocrafts Embedded Wireless Solutions

nrf Connect Bluetooth low energy

RC1140-RC232 Firmware Product Change Notification

LTE Link Monitor. User Guide. v _015 v0.7 /

IP4220CZ6 Dual USB 2.0 Integrated ESD protection to IEC level 4

nrf5x OTA Testing with LitePoint Bluetooth Advanced nwp_028

Application Note. LCD Driver Based on the HT1621 Controller

Product Description. Applications. Features

nrf 24E1 Figure 1: Wireless 2.4GHz mouse/keyboard application

F USB Charger ID With Quick Charge 2.0 F _www.universe-micro.com. Release Date: June, 2014 Version: V0.10P

AT25PE40. 4-Mbit DataFlash-L Page Erase Serial Flash Memory ADVANCE DATASHEET. Features

WM1030 Rev Introduction. Ultra low power DASH7 Modem. Applications. Description. 868 / 915 MHz. Features. WIZZILAB Technical datasheet 1/10

Product Overview: DWM1001-DEV DWM1001 Module Development Board. Key Features and Benefits

Designing a USB Keyboard with the Cypress Semiconductor CY7C63413 USB Microcontroller

RN-174. WiFly GSX Super Module. Features. Description. Applications. rn-174-ds v1.1 4/20/2011

RN-174. WiSnap M2 Super Module. Features. Description. Applications. ~ page 1 ~ rn-174-ds v1.1 6/1/2011

nrf51 Development Kit

SH1030 Rev Introduction. Ultra low power DASH7 Arduino Shield Modem. Applications. Description. 868 MHz. Features

APPLICATION NOTE. Atmel AT01080: XMEGA E Schematic Checklist. Atmel AVR XMEGA E. Features. Introduction

AIM: To create a project for implement a wireless communication protocol on an embedded system- ZigBee.

Sub-1G + Bluetooth LE Module

SM Features. General Description. Typical Application MHz/312.5MHz and MHz/156.25MHz LVDS Clock Synthesizer.

ELET114A Bluetooth Module DATASHEET. Website: / 7

XEELAS NODE MANUAL X-COM VERSION 1.0

Nuvoton Touch Key Series NT1160 Datasheet

AN10210 Using the Philips 87LPC76x microcontroller as a remote control transmitter

RN-174 WiFly Super Module

Features. Applications

Bi-directional Power Sensor 2 Series

ugreen DAB Board Instructions v5

RN-174. WiFly GSX Super Module. Features. Description. Applications. rn-174-ds v1.1 3/3/2011

RN-174. WiFly GSX Super Module. Features. Description. Applications. rn-174-ds v1.1 1/24/2011

Shortform Datasheet DS0016 AM094 LoRa / LoRaWAN / Wireless Meter-Bus 868MHz Narrowband Modem

SENSYLINK Microelectronics Co., LTD. (CT1820S) Single-Wire Digital Temperature Sensor

AN10337 Adding ISP firmware to an LPC900 software project

Chipset Evaluation and Development Loadboard Version 2

NTE1731 Integrated Circuit CMOS 10 Number Pulse Dialer

SNR610. Embedded network node module SNR610. Description. Feature. Application. SNR610 is highly integrated network module.

SKB360I Bluetooth 4.0 Low Energy Module Datasheet

Freescale Semiconductor, I

Testing RS232/RS485 Data Radio Modem with Serial Port Tool V1.10

RN-171-EK Evaluation Board

im871a Wireless M-Bus

Pointing Stick Controller Family

3 V, SUPER MINIMOLD 900 MHz Si MMIC AMPLIFIER

QUADIMODO. Quad-Band IP68 GSM MODEM. Quad Band for Worldwide Use. IP68 Enclosure Submersible. Voice / Fax / SMS and Data. GPRS Class B Class 10:

6LoWPAN Development Platform Saker Manual

USER S MANUAL SUPPLEMENT

Brief Specifications of Bluetooth Low Energy Module. Model No.: HM-BT4501

RTX4100. Wi-Fi Module

RN-171-XV b/g Wireless LAN Module

Document status: Preliminary

Radiocrafts Embedded Wireless Solutions

For one or more fully configured, functional example projects that use this user module go to

PL1167. Low Power High Performance Single Chip 2.4GHz Transceiver. Product Description: Key Features: Applications: Pin Configuration:

Radiocrafts Embedded Wireless Solutions

Using the Sensory NLP-5x LCD Module and LCD Sample

Evaluation Board for the AAT1282 2A Driver for High Intensity LED Camera Flash

RF900 LoRa Telemetry module V1.0

EZRadio-2WayLink-DK EZRADIO TWO-WAY LINK DEVELOPMENT KIT USER S GUIDE. 1. Overview

GRF AN003. GRF4003 Broadband Performance Optimization

Use the Status Register when the firmware needs to query the state of internal digital signals.

2.5 GHz SILICON MMIC WIDE-BAND AMPLIFIER

INTEGRATED CIRCUITS MF RC531. ISO Reader IC. Short Form Specification Revision 3.2. April Philips Semiconductors

VHF variable capacitance double diode. Electronic tuning in FM radio applications.

Transcription:

nrfex in a wireless keyboard design *(($/ With the nrfe and nrfe, in this document called nrfex, from Nordic VLSI ASA is it now possible to design a wireless keyboard for the.ghz ISM band. The nrfex series has an embedded 0 microcontroller, a channel ADC and the same RF part as the popular nrf0/nrf0. The nrfex series can run at voltages from.v to.v making it especially suited for battery applications. This white paper will show how a keyboard scan matrix can be realized by using the nrfex. +('(,* Keyboard Scan Matrix Shift register Row Row Row Row Row Row Row KRFN%XUVW Col Col Col Col Col Col Col Col Col Col Col Col Col Col Col Col Col Col Shift register nrfex Figure nrfex in a wireless keyboard design KH)SDUW As shown in the schematics, Figure, the RF part is based on the nrfex reference design that can be downloaded from www.nvlsi.no. The design has a MHz crystal and an external EPROM for firmware storage. The firmware will use the ShockBurst technology to transmit the packets from the keyboard. The ShockBurst technology is designed to minimize the current consumption per transmitted bit in order to extend the battery lifetime. Read more about the ShockBurst technology in the nrfex datasheet and in a white paper that can be downloaded from www.nvlsi.no. Nordic VLSI ASA - Vestre Rosten, N-0 Tiller, Norway - Phone +00 - Fax +

:LUHOHVVNH\ERDUGEDVLFV Wireless keyboards are using RF to communicate with the PC. They are mostly powered by batteries, and as a consequence of this, some power saving techniques are used. The LEDs that indicate Num Lock, Caps Lock and Scroll Lock on wired keyboards are not present on wireless keyboards. This is one of the power saving actions that has been taken on wireless keyboards. Careful use of the RF module is another power saving technique. A RF data packet from the keyboard to the PC can contain up to key strokes. The scan matrix is scanned about 00 times pr second. Normally not more than one keystroke is detected during one scan period. Humans will not detect delays that are shorter than 0ms, so if the keyboard detects a keystroke, it can wait up to 0ms to collect even more keystrokes before transmitting a packet to the PC. This will ensure as little use of the RF module as possible. A keyboard using the nrfe will only be able to send data to the PC. This will give enough features for most keyboard vendors. If a two-way link is required, the nrfe should be used. The keyboard will then be able to receive data from the PC. This opens for features like link encryption, retransmission protocol and even more power saving features like detection of system power off..h\erdugvfdqpdwul[ A keyboard can have as many as 0 keys that are organized in a scan matrix. The scan matrix can have rows and up to 0 columns. This enables a maximum of 0 unique keys to be placed on a keyboard. Each key is connected to an intersection between a row and a column, as shown in Figure. When pressed, the key will connect the row with the column in that intersection. Row Vcc Row Row Row Row Row Row Col Col Col Col Col Col Figure Key connection To scan the matrix, the nrfex will clock a bit pattern into the column shift register (see Figure for details.) This bit pattern consists of one 0 and nineteen s. The 0 is Nordic VLSI ASA - Vestre Rosten, N-0 Tiller, Norway - Phone +00 - Fax +

shifted trough the shift register. For each time the 0 is shifted one position, the rows are read. If a key has been pressed on the column being set to 0 at that point, a 0 will come out on the intersecting row. See Figure for details. Result Result Result Result Result 0 Row Vcc Row Row Row 0 Row Row Row Col Col Col Col Col Col Pattern 0 Pattern Pattern Pattern Pattern 0 0 0 0 0 Figure Key press detection Keys that are pressed may bounce and cause misdetection of real key events. To solve this problem, once a key press has been detected the system should ignore changes in status for this key for 0-0ms. FKHPDWLFV Figure shows how the HC and HC shift registers together with the standard nrfex layout with an EPROM, can be interfaced to a keyboard scan matrix. Nordic VLSI ASA - Vestre Rosten, N-0 Tiller, Norway - Phone +00 - Fax +

Ž Žœœ Ž Š U KEYBOARDSCAN Row Row Row Row Row Row Row Row U Row Row 0 Q GND MR D SH_CP D ST_CP D PL D DS D D0 D Vcc D Row Row HC RowData R 0K R 0K C nf C 0nF R k AIN0 D P.0 P. P0.0 P0. P0. P0. L.nH L nh C.0pF C.0pF C0 nf C.nF C pf Figure Schematics of the nrfex Wireless Keyboard Nordic VLSI ASA - Vestre Rosten, N-0 Tiller, Norway - Phone +00 - Fax + P. AIN AIN AIN AIN AREF 0 RowData RowClock nrfe IREF AIN AIN AIN _PA ANT ANT 0 0 P0. P0. P0. P0. D XC XC _PA RowLatch PL ColData ColLatch ColClock OE U nrfe C 0nF C nf C.pF U CS SO WP XX0 VCC HOLD SCK SI C 0nF C nf X MHz R M Ant PCB Antenna C C pf pf PL U U U 0 0 0 Q GND MR Q SH_CP Q ST_CP Q OE Q DS Q Q0 Q Vcc Q HC Q GND MR Q SH_CP Q ST_CP Q OE Q DS Q Q0 Q Vcc Q HC Q GND MR Q SH_CP Q ST_CP Q OE Q DS Q Q0 Q Vcc Q HC Col Col Col Col Col Col Col Col Col Col Col Col Col Col Col Col Col Col RowClock RowLatch ColData ColLatch ColClock OE Col Col Col Col Col Col Col Col Col Col Col Col Col Col Col Col Col Col 0 0 Col Col Col Col Col Col Col Col Col Col Col Col Col Col Col Col Col Col Row Row Row Row Row Row Row Row Row R 0K R 0K R 0K

<(0),0:$( The nrfex has K of internal RAM used for firmware storage. It is more than enough space for the keyboard firmware. The firmware should perform the following tasks: Load scan shift registers with scan patterns Read scan rows Detect and de-bounce key presses Send the key press scan codes to the PC Power duty cycling As mentioned earlier in this document the wireless keyboard should use power saving techniques to extend battery lifetime. Low power consumption when operating the radio is given by the ShockBurst technology, so the system firmware designer does not have to worry about that. But the average system standby current can be further reduced by implementing power duty-cycling techniques. The nrfex drains ma when the 0 core is running. Since the use of a keyboard is periodically with long delays between use, a lot of current can be saved by putting the 0 core in power down when the keyboard is not used. The current consumption in power down mode is ua. A typical power duty cycling algorithm can have two operating modes; Idle and Active mode. Idle mode: Perform a complete keyboard scan. (takes 0. ms) If a key has been pressed, go to active mode. Set 0 in power down with RTC wakeup enabled on 0 ms. Loop idle mode. Active mode: Scan the keyboard 00 times/second. Send any key pressed scan codes to the PC. If no key pressed in 0 seconds, go to idle mode. Loop active mode. This power duty cycling will reduce the average stand-by current consumption from ma to (0.ms*mA+uA*0ms)/0.ms = ua. This will cause the batteries to last 0 times longer! Nordic VLSI ASA - Vestre Rosten, N-0 Tiller, Norway - Phone +00 - Fax +

/,$%,/,<',&/$,0( Nordic VLSI ASA reserves the right to make changes without further notice to the product to improve reliability, function or design. Nordic VLSI does not assume any liability arising out of the application or use of any product or circuits described herein. /,)($/,&$, These products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. Nordic VLSI ASA customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Nordic VLSI ASA for any damages resulting from such improper use or sale. White paper. Revision Date :.0.00. All rights reserved. Reproduction in whole or in part is prohibited without the prior written permission of the copyright holder. Nordic VLSI ASA - Vestre Rosten, N-0 Tiller, Norway - Phone +00 - Fax +

<( Nordic VLSI ASA - Vestre Rosten, N-0 Tiller, Norway - Phone +00 - Fax +

RUGLF/,:RUOG:LGH'LVWULEXWRU )RU<RXUQHDUHVWGHDOHUSOHDVHVHHKWWSZZZQYOVLQR 0DLQIILFH Vestre Rosten, N-0 Tiller, Norway Phone: + 00, Fax: + LVLWWKHRUGLF/,$$ZHEVLWHDWKWWSZZZQYOVLQR Nordic VLSI ASA - Vestre Rosten, N-0 Tiller, Norway - Phone +00 - Fax +