Dev Academy Bluetooth Low Energy Fundamentals with nRF7002 DK?

Hello,

I have the nRF7002 DK, which includes the nRF5340 (App + BLE cores) on-board.

The hardware requirements do not list this DK as usable for the course, which seems like it should work since it has the nRF5340 on-board.

Can I run the course examples on the nRF7002 DK and if so, what do I set the board target to in the build configuration?

The course materials just says to create a build configuration.

I'm guessing this example has to load code to both the App and Network cores, but I don't know.

I've tried setting it to nrf7002dk/nrf5340/cpuapp/ns.

When I do, a clean build generates the following build warnings.

Both cores are listed under the build config. The course does not instruct as to how I specifically flash both cores. Do I just select the "build" folder level then Flash under Actions and that automatically flashes both cores? That is my presumption.

When I do this... it seems like the flash worked as LED2 is flashing as expected, but I cannot bond to the nRF Connect server (Android).

It seems to be failing on invalid public key.

Thank you in advance.

Chris

  • Hi

    The nRF7002 DK is not listed as it has not been tested (being a DK mainly for Wi-Fi). However, it is basically an nRF5340 DK with an nRF7002 companion IC, so if you follow the guide as you would for an nRF5340 DK, but change the build target to nrf7002dk/nrf5340/cpuapp it should work as is. These build warnings are pretty generic and shouldn't matter at all.

    What nRF Connect SDK version are you using for going through this course? Doesn't change much, as either way the samples should build and flash for both cores in one fell swoop.

    As for the public key issue, have you set it to anything specific in your project or have you followed the DevAcademy course to a tee?

    Best regards,

    Simon

  • Hi Simon,

    Thank you for the guidance here. I will try the nrf7002dk/nrf5340/cpuapp build config later today and follow up. On the key question, I am just following the course to a tee. I'm new to BLE and so not specifically familiar as to what I need to do with the key, how it works, etc., yet? 

    Thanks,

    Chris

  • Hi

    It's not clear which lesson and excercise you're working on here, so please let me know so I can "compare notes" to that one. It seems to me like you're basing the project on an existing LBS sample, but you should use the already set up project templates in the DevAcademy course github found here. Here you can also sneak peek on the solutions to see if everything matches a finished "working" sample in the _sol projects.

    Best regards,

    Simon

  • Hi Simon,

    I'm just now getting back to working on this again. I'm working on Lesson 1 Exercise 1. I am also using the latest version of the SDK (3.0).

    I'll let you know how it goes later today.

    Thanks,

    Chris

  • Hi Simon,

    FYI... it fails to build unless I use the non-secure version of the target (i.e. nrf7002dk/nrf5340/cpuapp/ns).

    It is building, loading, and BLE is connecting to nRF Connect but not Bonding. I tried a HW (button) reset and same results. Here's the terminal trace.

    I'm new to BLE. Do I need to manually set the public key somewhere in the configuration?

    Thanks,

    Chris

Related