Hi, I am developing a streaming audio application on the Thunderboard BG22 using direct mode operation. I am using the simple_rail_with_hal example as a template. The problem I am having is RAIL_StartTx(railHandle, 0, RAIL_TX_OPTIONS_DEFAULT, NULL) and RAIL_StartRx(railHandle, 0, NULL) are not returning. The disassembly in the debugger shows that each of the functions have a branch instruction pointing to itself resulting in an infinite loop. I have tried running RAIL_StartTx() and RAIL_StartRx() after configuring direct mode with RAIL_EnableDirectMode(railHandle, true) or when I configure the radio for packet mode as described in the RAIL Tutorial by andrasbiro. Does anyone have any ideas why this is happening? I am new to the EFR32 and I appreciate any help and suggestions.
Thank you,
Stefan
Discussion Forums
Proprietary
Answered
Answered
Hi Stefan,
How did you create application for Thunderboard BG22 (unfortunately it is not supported yet, but the next release should address this bugfix)? Did you created it for a radio board, or did you give only the Part number at the project creation?
Please make sure, the channel number exists for your given PHY configuration, when calling StartTx and StartRx APIs.
You can also try it with the Simple TRX application.
Best Regards,
Bence
0
Hi Bence,
Thank you for your reply. I gave only the part number at project creation since the board did not show up as an option.
I just chose the default channel 0 when calling StartTx and StartRx.
I will give Simple TRX a try.
Stefan
0
I tried the Simple TRX application and could see both of the devices communicating. Then on one of them I put EnableDirectMode before StartRx. I used my scope to probe EXP_HEADER16 while I send packets with the other, but I don't see any output. Am I missing something?
0
Hi Stefan,
Sorry, last time I didn't know that direct mode isn't supported on EFR32 Series 2 devices yet. Unfortunately the API documentation does not mention it, but it can be concluded by the fact that the part you have does not have PC10 and PC11 pins. Although, direct mode does not work on the target, synchronous MODEM.DOUT signal can be assigned to any GPIO on portA or portB (see datasheet) which puts the payload bits out on the selected pin in case of RX, and the whole packet (including preamble, sync word and CRC bits as well) on the transmitter; but I suspect, this isn't your goal.
Note that EXP_HEADER denotes pin header on WSTK not on the Thunderboard.
Best Regards,
Bence
Correct Answer
0
Hi Bence,
Thank you for your suggestion, but our project will require direct mode. Can you tell me the lowest current and lowest voltage 2.4GHz transceiver with or without a microcontroller that will support direct mode?
Thank you,
Stefan
0
Hi Stefan,
You can browse among our transceivers sorting by the RX Current, and filtering by 2.4GHz operational frequency in this page.
Best Regards,
Bence
0
Hi Bence,
Ok, I think the EFR32FG1 will work but I just want to make sure that it definitely supports direct mode. I couldn't find this information in the data sheet. Can you confirm that it will support direct mode? Do all series 1 devices support direct mode?
Tx and Rx problem on EFR32
Hi, I am developing a streaming audio application on the Thunderboard BG22 using direct mode operation. I am using the simple_rail_with_hal example as a template. The problem I am having is RAIL_StartTx(railHandle, 0, RAIL_TX_OPTIONS_DEFAULT, NULL) and RAIL_StartRx(railHandle, 0, NULL) are not returning. The disassembly in the debugger shows that each of the functions have a branch instruction pointing to itself resulting in an infinite loop. I have tried running RAIL_StartTx() and RAIL_StartRx() after configuring direct mode with RAIL_EnableDirectMode(railHandle, true) or when I configure the radio for packet mode as described in the RAIL Tutorial by andrasbiro. Does anyone have any ideas why this is happening? I am new to the EFR32 and I appreciate any help and suggestions.
Thank you,
Stefan
Hi Stefan,
How did you create application for Thunderboard BG22 (unfortunately it is not supported yet, but the next release should address this bugfix)? Did you created it for a radio board, or did you give only the Part number at the project creation?
Please make sure, the channel number exists for your given PHY configuration, when calling StartTx and StartRx APIs.
You can also try it with the Simple TRX application.
Best Regards,
Bence
Hi Bence,
Thank you for your reply. I gave only the part number at project creation since the board did not show up as an option.
I just chose the default channel 0 when calling StartTx and StartRx.
I will give Simple TRX a try.
Stefan
Hi Stefan,
Sorry, last time I didn't know that direct mode isn't supported on EFR32 Series 2 devices yet. Unfortunately the API documentation does not mention it, but it can be concluded by the fact that the part you have does not have PC10 and PC11 pins. Although, direct mode does not work on the target, synchronous MODEM.DOUT signal can be assigned to any GPIO on portA or portB (see datasheet) which puts the payload bits out on the selected pin in case of RX, and the whole packet (including preamble, sync word and CRC bits as well) on the transmitter; but I suspect, this isn't your goal.
Note that EXP_HEADER denotes pin header on WSTK not on the Thunderboard.
Best Regards,
Bence
Hi Bence,
Thank you for your suggestion, but our project will require direct mode. Can you tell me the lowest current and lowest voltage 2.4GHz transceiver with or without a microcontroller that will support direct mode?
Thank you,
Stefan
You can browse among our transceivers sorting by the RX Current, and filtering by 2.4GHz operational frequency in this page.
Best Regards,
Bence
Hi Bence,
Ok, I think the EFR32FG1 will work but I just want to make sure that it definitely supports direct mode. I couldn't find this information in the data sheet. Can you confirm that it will support direct mode? Do all series 1 devices support direct mode?
Thank you!
Stefan