ANT

<< Click to Display Table of Contents >>

Navigation:  nRF51 Target > Block References > On-chip Peripherals >

ANT

Previous pageReturn to chapter overviewNext page

User Interface

How this block appears in a Simulink model?

nrf51_ant_block

What can be configured?

nrf51_ant_mask

Configuration item

Selectable option/ Value

Description

ANT Channel Type

Master (Tx only) | Slave (Rx only)

Master (Tx only) - ANT module configured for transmit the data to the air for a certain period.

Slave (Rx only) - ANT module configured for receive the data.

ANT Channel Period (Hz)

Specify channel period: 1 to 32 Hz

Master (Tx only) - Data transmission period.

Slave (Rx only) - Data receiving period.

Note: Both Slave and Master device must be configured the same Channel Period value.

Channel Transmission Type

Independent

(More configuration and details will be updated at later release)

Channel Device Type

0 (Wildcard)

(More configuration and details will be updated at later release)

Channel Device Number

Specify channel device number: 1 to 254

(Value 0 and 255 are reserved)

Master (Tx only) - channel device number working as serial number of device.

Slave (Rx only) - specify channel device number to receive.

Note: for master configuration, Channel Device Number cannot be conflict .

Network number

(Specify network, 0 for public)

(More configuration and details will be updated at later release)

Network key

(Specify network, [0 0 0 0 0 0 0 0] for default value)

(More configuration and details will be updated at later release)

RF Frequency

2400MHz, 2401MHz, 2402MHz, ..., 2463MHz


Data bytes count

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8

Maximum is 8. This number is number of bytes to transmit or receive, it is auto calculated from the specified Dx Data type.

Dx Data Type ;where x=1,2,...,8

double | single | int8 | uint8 | int16 | uint16 | int32 | uint32


Rx search timeout reset (sec)

Disable | 10 | 30 | 60 | 120

Apply to configuration as Slave (Rx only).

If there is no data receive, the opened channel will stay active and search for data within 25 second. After the search timeout, below is option for reset the channel.

Disable - the Rx channel will be close. Reset the device required to open the channel again.

10 - close channel 10 second before re-open the Rx channel.

30 - close channel 30 second before re-open the Rx channel.

60 - close channel 60 second before re-open the Rx channel.

120 - close channel 120 second before re-open the Rx channel.

Sample time (sec)

(specify block sample time)


When to use this block?

- Low power wireless application (with battery).

- Wireless sensors network application.

Demo

ANT device I2C sensor demo

ANT Network for Humid and Temperature sensor demo