Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ANT Data transmit with maximum power using BT840XE module

nRF SDK: 16.0, Device: nRF52840, module: BTX480XE, softdevice: ANT_s340_nrf52840_6.1.1.hex

The setup:

BLE and ANT running on same device concurrently. The device is modified Nordic UART example code, added with one master and one slave ANT channels. The code constantly broadcasts data every 100ms on Tx channel. I can receive the data packets on on ANTWAREII PC application.  There is no code compile issue.

The goal:

We want to get maximum TX/RX range from the BTX480XE module by using it's power amplifier hardware.

The issue:

The code stops sending broadcast data as soon pa_lna_init() is called in the (main.c:1165). This piece of code is using Pin 6,8,17,19 in the Fanstel module to control power amplifier.

Solutions tried:

Checked pin conflict of pin#s 6,8,17,19 in the code

Check PPI, GPIOTE and related peripherals are initialized in the code.

Attached the power amplifier initialization and driver code files for reference.

pa_init_driver.rar 

Parents Reply Children
Related