We have Nimble running on FreeRTOS on a Nordic NRF5340. The changes are published on github: https://github.com/bvdberg/mynewt-nimble
on the branch: freertos_master One tricky thing is that the IRQ priority on the net-core must be valid for FreeRTOS since things will be put in a FreeRTOS queue from that. I hope that helps, Cheers, Bas On Fri, Jun 7, 2024 at 9:40 PM Kathy Giori <kathy.gi...@gmail.com> wrote: > Hi Mike, > > On Fri, Jun 7, 2024 at 10:25 AM Mike Redd <mr...@prodatakey.com> wrote: > > > > > Hello, > > > > We are building a NimBLE controller on FreeRTOS and the Nordic nRF52820 > > chip. (It communicates with a host over the HCI UART interface.) We have > a > > reference build with MyNewt, which seems to work, but we are having > > difficulty with FreeRTOS. (We want to use FreeRTOS for compatibility with > > other parts of our application.) > > > > Hoping someone might have a clue.... > > > > Using a BLE sniffer with MyNew, we get: > > > > [image: image.png] > > > > (images didn't come through) > > You can probably also use the BLE sniffer available when running the > MicroBlocks firmware (which uses NimBLE) on an nRF52820-based board. The > MicroBlocks firmware is all open source, so maybe browsing the source > <https://bitbucket.org/john_maloney/smallvm/src/master/>(especially > netPrims.cpp > <https://bitbucket.org/john_maloney/smallvm/src/master/vm/netPrims.cpp>) > may provide a clue for your integration with FreeRTOS. > > > > But with FreeRTOS we get: > > > > [image: image.png] > > > > Thanks in advance for any clues! > > > > Good luck! > kathy > > > > -- > > Mike Redd > > > > Principal Embedded Systems Engineer > > > > 801-317-8802 > > > > mike.r...@prodatakey.com > > > > prodatakey.com <https://www.prodatakey.com/> > > [image: Mike Redd] <https://www.prodatakey.com/become-a-partner> > > >