Specifications
Built-in functions cbusRd() and cbusWr():
These functions have no effect on the Si100x.
Built-in functions getEnergy() and scanEnergy():
For FHSS firmware, the getEnergy() and scanEnergy() built-in functions return the energy levels
heard on the frequency you specify. (Each channel uses 25 frequencies in the 900 MHz band. In the
868 MHz band, all channels use the same three frequencies.) See the getEnergy() and getChannel()
functions for details about how the frequencies are distributed through the SNAP channels.
For 900 MHz firmware, the scanEnergy() function returns a 66-character string instead of the normal
16-character string returned on other platforms. For 868 MHz firmware, the scanEnergy() function
returns a 3-character string.
Built-in function getInfo():
On a
getInfo() call, a parameter value of 0 requests a “vendor code.”
On an Si100x,
getInfo(0) returns 5 (meaning “Silicon Labs”).
On a getInfo() call, a parameter value of 3 requests a “platform code.” On 900 MHz Si100x-based
nodes (including the RF300), this function returns an 11 for FHSS firmware. On 868 MHz Si100x-
based nodes (including the RF301), this function returns an 8.
Built-in function getStat():
The results of the getStat(3) and getStat(4) calls are undefined, as the Si100x-based nodes
have only one UART.
Built-in function lcdPlot():
Built-in function lcdPlot() has no effect in Si100x builds.
Built-in functions peek() and poke():
Use negative address values to peek and poke special function registers. See the peek() and poke()
description for more details.
Built-in function pulsePin():
On the Si100x, negative durations are in units of approximately 1.0 µs, once certain overhead
minimum limits are exceeded. Here are some requested versus measured pulse timings, taken with a
logic analyzer.
Measured Pulse Width (µs) Requested
duration
GPIO_0-GPIO_16 GPIO_17-GPIO_18
-1 15.917 29.813
-10 16.000 29.750
-20 20.000 29.813
-50 50.417 50.063
-100 100.167 99.875
-200 199.583 199.250
SNAP Reference Manual Document Number 600-0007K Page 169 of 202