Component: RF ISM (EB063, MRF49XA) (Wireless)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix Ltd. |
Version | 2.0 |
Category | Wireless |
Contents
- 1 RF ISM (EB063, MRF49XA) component
- 2 Component Source Code
- 3 Detailed description
- 4 Examples
- 5 Macro reference
- 5.1 ActivateRXMode
- 5.2 ActivateTXMode
- 5.3 CheckBuffer
- 5.4 FSKRead
- 5.5 FSKWrite
- 5.6 GetBufferData
- 5.7 GetDataCount
- 5.8 Initialise
- 5.9 RXTune
- 5.10 ReadRXSignalStrength
- 5.11 ReceiveByte
- 5.12 ReceiveString
- 5.13 SendBuffer
- 5.14 SendByte
- 5.15 SendString
- 5.16 SetBufferData
- 5.17 SetDataRate
- 5.18 SetSyncPattern
- 5.19 TXTune
- 5.20 Uninitialise
- 5.21 UpdateCenterFrequency
- 6 Property reference
RF ISM (EB063, MRF49XA) component
A simple RF-ISM communications module based on the Microchip Alpha MRF49XA device. Also available in the form of the EB063 RF E-block.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_RF-ISM.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_RF-ISM.fcfx
Detailed description
No detailed description exists yet for this component
Examples
The example attempts to send and receive data from a remote board. You will need two RF modules to allow the communications to work.
The example can be used to drive both ends of the RF communications as it will send out data but also print out any data received onto the LCD. Pins RA0 and RA1 can be used for diagnostics on the program.
RF Example
Macro reference
ActivateRXMode
![]() |
ActivateRXMode |
Enables the receiver interface, allowing data to be received. The transmitter interface is automatically disabled. | |
![]() |
Return |
ActivateTXMode
![]() |
ActivateTXMode |
Enables the transmitter interface, allowing data to be sent. The receiver interface is automatically disabled. | |
![]() |
Return |
CheckBuffer
FSKRead
![]() |
FSKRead |
Reads the FSK (frequency shift key) data pin. | |
![]() |
Return |
FSKWrite
![]() |
FSKWrite |
Writes to the FSK (frequency shift key) data pin. | |
![]() |
State |
![]() |
Return |
GetBufferData
![]() |
GetBufferData |
Returns a value from the incoming receive data buffer. | |
![]() |
Index |
Specifies which position in the buffer to read data from | |
![]() |
Return |
GetDataCount
![]() |
GetDataCount |
Returns the number of bytes in the received data buffer. | |
![]() |
Return |
Initialise
RXTune
ReadRXSignalStrength
![]() |
ReadRXSignalStrength |
Returns the current received signal strength. | |
![]() |
Return |
ReceiveByte
ReceiveString
SendBuffer
![]() |
SendBuffer |
Sends the contents of the transmit buffer. | |
![]() |
Count |
Specifies how many bytes to transfer from the transmit buffer | |
![]() |
Return |
SendByte
SendString
SetBufferData
![]() |
SetBufferData |
Allows a value to be loaded into the transmit buffer, | |
![]() |
Index |
The current location in the transmit buffer starting from 0 | |
![]() |
Data |
The data value to pass | |
![]() |
Return |
SetDataRate
![]() |
SetDataRate |
Allows the RF data rate to be adjusted during runtime. | |
![]() |
Rate |
Specifies the new data rate | |
![]() |
Return |
SetSyncPattern
TXTune
Uninitialise
![]() |
Uninitialise |
Powers down the RF module. The module must be re-initialised before it can be used again. | |
![]() |
Return |
UpdateCenterFrequency