Example Code

Remote Keyless Entry Reference Architecture

Code and Documents

Attachment

Download All

More and more communication technologies appear in automotive equipments, increasing the complexity of validating radio communications for automotive suppliers. Using NI vector analyzer and vector generator, you can easily develop an application designed to validate a sample of the production by doing measurements on emitters, controlling bandwidth occupied by emitted signals, or stimulating receptors with a known signal pattern.

However, issues of this kind of application are far from the core activity of automotive suppliers. It implies to acquire/generate RF signals and to master different issues like source and channel coding, modulation, power level, spectral density.

The Remote Keyless Entry Reference Architecture is designed to ease the development of such test applications.

The package provides an API with specific functions for RKE validation, including VIs for modulation and demodulation (ASK-2 and FSK-2), basic spectral measurements, VIs to control content of demodulated frames, and specific file I/O VIs, allowing you to record and playback RKE data.

The RKE API is based on the RKE data cluster, which contains basics information, such as IQ complex data, spreading code, symbol frame, etc. Each VI takes this cluster as an input and it updates the elements of the cluster, according to present input data and the performed operation.

This set of VIs can be easly interfaced with niRFSA, ni5660 and niRFSG; the Reference Architecture contains examples for each of those drivers, plus simulated examples of demodulation (based on recorded data). Those examples, which illustrate how to use the API, may be adapted to meet constraints of your application.

Note: Remote Keyless Entry Reference Architecture requires the Modulation Toolkit (version 3.2 or later) and the Spectral Measurements Toolkit (version 2.3 or later).

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors