u-blox / u-blox-sho-OpenCPU

Repository with sample code and examples for u-blox Open CPU modules.
21 stars 8 forks source link

The `ubx_evknorab12_nrf5340` BSP is NOT included in u-blox-sho-OpenCPU GitHub repository #17

Closed dsconyers closed 1 year ago

dsconyers commented 1 year ago

I'm following section 3.2.3 of the EVK-NORA-B1 User Guide. I have 2 EVK-NORA-B126 boards that I'm trying to provision to evaluate their RF range. I copied the entire .\zephyr\boards\arm\ubx_evknorab10_nrf5340 folder into the NCS directory .\ncs\vX.Y.Z\zephyr\boards\arm, but Visual Studio Code doesn't recognize ubx_evknorab12_nrf5340_cpuapp as a valid board (i.e. doesn't show up in drop down list). It recognizes ubx_evknorab10_nrf5340_cpuapp, but not the ubx_evknorab12_nrf5340_cpuapp(the variant with the integrated Skyworks FEM). See attached screenshot. No ubx_evknorab12_nrf5340_cpuapp

I then searched the contents of the all the files in the .\zephyr\boards\arm directory (including sub-directories) for ubx_evknorab12_nrf5340 and found no results.

  1. Related Products: EVK-NORA-B12x Series

  2. Pre-setup Conditions: Obtain any EVK-NORA-B12x board.

  3. Reproducibility Rate: 100%

  4. Detail Steps to Reproduce: Follow the instructions starting in section 3 of the EVK-NORA-B1 User Guide using any EVK-NORA-12x board to attempt to load an NCS sample application.

  5. Expected Test Results: ubx_evknorab12_nrf5340BSP would be included in the u-blox-sho-OpenCPU GitHub repository.

  6. Actual Test Results: ubx_evknorab12_nrf5340BSP is NOT included in the u-blox-sho-OpenCPU GitHub repository.

brec-u-blox commented 1 year ago

The board package ubx_evknora_b12 is not yet ready for release. In the meantime, Nordic Semiconductor has instructions for adding 2-pin FEM support here: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_dev/working_with_fem/index.html#ug-radio-fem-skyworks It does not seem complete as it only mentions adding a node to the devicetree, but does not list other dependencies. We have opened a ticket with Nordic.

dsconyers commented 1 year ago

Hi Bob,

Any update on this? I'm just curious if anyone at U-blox has successfully loaded a sample application onto an EVK-NORA-B12 that successfully makes use of the FEM to evaluate its range, which is my short term goal. Thanks!

brec-u-blox commented 1 year ago

I have it working. I just need to tidy up the files. I'll have something for you later today.

brec-u-blox commented 1 year ago

Until we have the full BSP ready, you can use the files here with the nrf5340dk_nrf5340 board. The zip file attached has the peripheral_lbs example modified to operate the FEM control pins on NORA-B12. The main files to check are:

Also, please note this SDK errata regarding actual vs. set output power: [CONFIG_BT_CTLR_TX_PWR_ANTENNA](https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/kconfig/index.html#CONFIG_BT_CTLR_TX_PWR_ANTENNA)

Project file: peripheral_lbs_with_nora-b12_fem_ncs220.zip

dsconyers commented 1 year ago

Hi Bob,

Thanks! I can see TX_EN & RX_EN toggling as shown below: image

IMG_7606

brec-u-blox commented 1 year ago

EVK-NORA-B12 added. See https://github.com/u-blox/u-blox-sho-OpenCPU/pull/18.

brec-u-blox commented 1 year ago

Merged PR with updates.