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

example of Timer and ADC

Hello,

I need an example of Timer and ADC for nrf5340. Already I checked this example but it is unclear and also has some error with semaphore. could you please give me a clear example of ADC and timer seperately?

  • Hello Karl,

    I think the board I am working with is PDK but I am not totally sure because I have the different stickers on the box, board, and version number which give me conflicting information. I took photos of all of them and attached them. I was thinking the most valid one can be the version number sticker which over the board is 0.10.0.
    Anyway, please check them and let me know I am developing the correct board or not.

    Regards









  • Hello,

    Ali Ahmadi said:
    I think the board I am working with is PDK
    Ali Ahmadi said:
    I was thinking the most valid one can be the version number sticker which over the board is 0.10.0.

    You are correct, this is unfortunately a Preview Development Kit (PDK) and it is not recommended nor supported for production. My recommendation would be to move on to a DK before proceeding with your development.

    Where / when did you acquire this PDK from?
    If you recently purchased this PDK from a retailer or distributor I would recommend that you reach out to them directly and ask if there is any chance to get a proper DK.

    Best regards,
    Karl

  • We bought this PDK several months ago from a website. We had another development kit and I started to use it and it is DK with the version number 0.11.0. I made the setup of my project from the beginning according to nrf5340dk-nrf5340-cpuappns. Again I used the ADC example and after I run in debug mode I face the same error. I attached the photo below. It looks this error is not related to the type of the board.
    Do you have any idea how can I solve the problem?

  • Hello,

    Thank you for your patience with this.

    Ali Ahmadi said:
    We had another development kit and I started to use it and it is DK with the version number 0.11.0.

    Great! I am happy to hear that you were able to acquire a DK - this will make things a lot easier.

    Ali Ahmadi said:
    I used the ADC example and after I run in debug mode I face the same error. I attached the photo below. It looks this error is not related to the type of the board.
    Do you have any idea how can I solve the problem?

    Could you try to build this as secure, instead of non-secure?
    It might be that the FPU is part of the partitioning not accessible to the application in non-secure.
    Please do this, and let me know if it resolves the issue.

    Looking forward to resolving this issue together!

    Best regards,
    Karl

Related