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

nRF52832 Radio

     

This one was written by a former colleague of mine, using radio to simulate a BLE broadcast driver.I use in my own project, it is completely possible to realize the radio simulation BLE broadcast data sending and receiving BLE broadcast data through this function.However, I ported these functions to SDK15.2 in the radio case, but found that they did not work, and the radio ported to 17.0 also did not work.At this time, there is a question. The configuration, sending and receiving of radio here are all directly operated registers, so there should be no problem of not being able to use the transplant.Therefore, I would like to ask whether there is something wrong with the related functions of radio in my side, which leads to the failure of using it during transplantation. In other words, the use of radio requires not only these functions, but also other aspects. Please kindly give me your advice.

Parents
  • Hi,

    You are right that most of the code you have posted writes directly to the registers and should not be affected by the SDK version. However, the clock_init function seems to use the SDK driver, and may be affected.

    What exactly is not working after migrating to the later SDK versions? Does it not send/receive packets? Do the application crash? Is there any error codes from the clock drivers?

    What was the original SDK version of the project?

    Was this written for the same chip variant as you are running it on?

    Best regards,
    Jørgen

  • As you said, it is true that I used the library function to initialize the clock, but even if I changed the initialization of the clock and radio to register operation, they still could not be sent out.The screenshot above is the project I modified in the Radio routine of the official SDK15.2 version. Radio is used to simulate the sending and receiving of broadcast packets, but both sending and receiving failed.Could you please help me to see which side caused the problem? Thank you.

Reply
  • As you said, it is true that I used the library function to initialize the clock, but even if I changed the initialization of the clock and radio to register operation, they still could not be sent out.The screenshot above is the project I modified in the Radio routine of the official SDK15.2 version. Radio is used to simulate the sending and receiving of broadcast packets, but both sending and receiving failed.Could you please help me to see which side caused the problem? Thank you.

Children
No Data
Related