direction_finding_connectionless_tx - MPU problem/stack

I get error about MPU error stack size while trying to run the example from ncs v2.7.0 on nrf52833dk

I was able to build correctly and I see in the log file that it gets error on MPU for some problems with the cache 

I have not made any changes to the code

I am trying to transmit AOA and receive it on my UBLOX AOA antenna B10.

I was able to run UBLOX code example on nrf52833dk and it works

Thanks

Avi

  • Hi Avi

    Okay. I see this is only the source code for the tag, and not the scanner/antenna array, where I assume the filter would be. Please contact U-Blox to make sure there is no filter like this. You can try changing the device name to the same as in the U-Blox tag code with CONFIG_BT_DEVICE_NAME="u-blox C209 DF Tag" to see if there's maybe some check on the central side only scanning for devices named DF tags. 

    There is no Eddystone transmission in the NCS sample, so this must be something U-blox has added. This UUID could also be what the central is filtering.

    static uint8_t uuid[EDDYSTONE_INSTANCE_ID_LEN];

    Best regards,

    Simon

  • Thanks, I was able to get the correction of the code from UBLOX, indeed it was a specific data that had to be sent.

    Another related question, is it possible to combine a BLE5 long range with the transmission of the Eddystone/AOA?

    Can you show an example based on the original code of NCS?

  • Hi

    Glad to hear you were able to figure that out.

    I'm afraid using Coded PHY (long range) and AOA will not be possible as the continuous tone extension sent during AOA is not compatible with the repeat of transmissions done in Coded PHY (long range).

    Best regards,

    Simon

  • I understand.

    Will it be possible to switch transmissions?

    i.e. every 2 odd seconds AOA (1,3,5,7 ...)

    and every 2 even seconds, BLE5 long range (0, 2,4,6...)

  • Hi Avi

    I think the synchronization and CTE might not be able to finish that quick, so every 2 seconds might be tight, but switching between them might be possible. Note that you will also need to have room for your application with the two advertising sets on the nRF52833, so you need to test if the application can fit on the RAM and Flash memory that the nRF52833, but it should be possible to switch between the two, yes. Check out the MPSL timeslots for how NCS handles such things.

    Best regards,

    Simon

Related