NWave Technologies NWRM1000 Users manual

NWRM1000'User'Manual''
! The!NWRM1000!communicates!with!the!host!MCU!over!a!standard!asynchronous!serial! interface!consisting!of!TX!and!RX!pins.!The!radio!module!has!got!embedded!AT! commands!interpreter!to!adjust!settings!and!sends!messages!via!NWave!radio!protocol.! Over!this!serial!interface,!the!NWRM!device!provides!a!standard!Hayes!“AT”!command! set!used!to!control!the!module!using!ASCII!readable!commands!and!get!answers,!as!well! as!to!send!or!receive!data.!This!interface!allows!twoKway!UART!communication!to!be! performed!in!low!energy!modes,!using!only!a!few!μA!during!active!communication!and! only!150!nA!when!waiting!for!incoming!data.!! ! Below!can!be!found!serial!port!settings!and!supported!AT!commands!which!external! processor!shall!use.!!
Serial'Port'Settings'
By!default!radio!module!settings!are!as!follows:!
LVTTL!electrical!level!
9600!bps!
8!data!bits!
1!stop!bit!
No!parity!
No!software/hardware!control!
Bootloader'
The!NWRM1000!module!contains!an!integrated!bootloader!which!allows!reflashing!the! module!firmware!either!over!the!RX/TX!UART!connection,!or!over!the!air!using!the! builtKin!RF!transceiver.!
ADC'
The!NWRM1000!provides!an!interface!to!an!integrated!lowKpower!successive! approximation!register!ADC,!capable!of!a!resolution!of!up!to!12!bits!at!up!to!1!Msps!or!6! bits!at!up!to!1.86!Msps.!The!ADC0!and!ADC1!pins!provide!the!external!interface!to!the! ADC.!When!not!used!for!ADC!operation,!these!2!pins!can!be!configured!to!perform!other! functions!using!“AT”!configuration!commands.! !
Carrying'Frequency''
Syntax:!
«AT+FREQ=[Carrying_frequency],[Bandwidth]»
Whereas!«Carrying_frequency»!is!a!value!of!carrying!frequency!in!Hz,!«Bandwidth»!is!a! range!inside!of!which!the!module!sends!messages.!
Example:!
«AT+FREQ=868000000,25000»
Answer!in!case!of!success:!
«Ok»
Answer!in!case!of!error:!
«Error»
Sending'Messages'
Maximum!length!of!the!message!is!20!bytes.!
Syntax:!
«AT+SEND=[&hex_byte1][&hex_byte2]..[
[&hex_byteN]]»
Whereas!hex_byte[n]!represents!data!in!hex!format,!n!–!byte!number.!Before!each!byte! it's!needed!to!put!«$»!sign.!!
Syntax:!
«AT+SEND=$23$0A$5D$5F»
In!case!of!success!the!module!answers!in!3K10!seconds:!
«Ok»
In!case!of!error:!
«Error»
Getting'Modem'Network'Address'
Syntax:!
«AT+SERIAL=?»
Example:!
«AT+SERIAL=?»
In!case!of!success!the!module!returns!number!in!hex:!
«0000F556»
In!case!of!error:!
«Error»
!
Loading...
+ 1 hidden pages