Users Manual
PN17TR 915MHz Transceiver Module Inventis Technology Pty Ltd
Unit 4, 2 Southridge St. Eastern Creek NSW, Australia Page 7
LibPN17TR software library:
LibPN17TR is a C software code library facilitating usage of the PN17TR module. Usage is not mandatory for
compliant operation, but usage is recommended for simplified interface. Reference to config table header file is
essential to tune module to optimal settings.
Software package is available under license from Inventis Technology and is included with authorized
development with the module.
6.2 Library functions brief:
cc1101_setup_38_4k_915_wide3.h - Configuration table values
void cc1101_coms_open(void) – Establish link with CC1101
void cc1101_coms_close(void) – Terminate link with CC1101
void cc1101_read(Uint8* buffer, Uint8 size) – Read RX data from CC1101
void cc1101_write(Uint8* buffer, Uint8 size) – Write to config or TX buffer
Uint8 cc1101_strobe(Uint8 data) – Send strobe command to CC1101
void cc1101_mode(Uint8 mode) – Select mode (powerdown, sleep, tx, rx etc)
void cc1101_configure(void) – Load configuration table
Uint8 cc1101ConfigTest(Uint8 option) – Readback verification of configuration
Uint8 cc1101_read_reg(Uint8 addr) – Read single value
void cc1101_cca(Uint8 mode) – Toggle Clear Channel Assessment
void cc1101_close_in(Uint8 level) – Configure for reduced power TX
void cc1101_desensitised_rx(void) – Configure for reduced RX sensitivity
void cc1101_pa_power(Uint8 level) – Configure PA Power. Restriction on max power allowed!
Uint8 rf_transmit(Uint8* buffer, Uint8 bytes, Uint8 options) – Perform TX operation
Uint8 rf_recieve_loop(Uint8* buffer, Uint8 bytes, Uint8 options, Uint8 timeout) – Perform RX operation