This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

'start_tx_sweep' command error for radio test example in NCS 15.1.0

Hi 

I needed assistance to get the SKY66112-11 FEM working with the Radio Test Example, for certification testing (FCC, CE etc). I am using the NCS 1.5.1 SDK. I am using a custom board with nRF52832 SoC and it has the LFXO present.

I have done the following changes

1. modify dts file  C:\Users\Luzvi\ncs\v1.5.1\zephyr\boards\arm\nrf52dk_nrf52832nrf52833dk_nrf52833.dts 

2、modify prj file  C:\Users\Luzvi\ncs\v1.5.1\nrf\samples\peripheral\radio_test\prj.conf

the radio test example responds to commands such as 'start_channel 20' , start_tx_carrier' without any errors.

However on entering command for 'start_tx_sweep' the application stops and points an error to 

MPSL_IRQ_TIMER0_Handler();

the logs are shown as follows

May i ask why does the error occur at 

ISR_DIRECT_DECLARE(mpsl_timer0_isr_wrapper)

Also as per the instruction (1)

which MPSL libraries specifically need to be included in the application.

PS: Just wanted to mention that I tried running the Radio Test Example directly without adding the support for the FEM and that works as expected. So this tells me that the COM lines gpio changes I did in the dts file worked as it should and the crystal is fine too.

Thanks in Advance

Parents
  • Hi,

    Unfortunately,  the 'radio test' and 'direct test mode' sample are not made to be integrated with the MPSL library and these samples are only supporting the nRF21540 FEM at the moment . The conflict that causes the build error in this case is that both try acquire TIMER0.

    That said, I think it might be quite straight forward to add support for the Skyworks since it's just controlled by a few GPIOs. You can see how the nRF21540 support was added by looking at the ifdef's for 'CONFIG_NRF21540_FEM' in the source code.

    Best regards,

    Vidar

Reply
  • Hi,

    Unfortunately,  the 'radio test' and 'direct test mode' sample are not made to be integrated with the MPSL library and these samples are only supporting the nRF21540 FEM at the moment . The conflict that causes the build error in this case is that both try acquire TIMER0.

    That said, I think it might be quite straight forward to add support for the Skyworks since it's just controlled by a few GPIOs. You can see how the nRF21540 support was added by looking at the ifdef's for 'CONFIG_NRF21540_FEM' in the source code.

    Best regards,

    Vidar

Children
No Data
Related