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

SDK17 with nrf52820

I have a lot of issues when switch to using nrf52820.

  1. all saadc module seems removed from the sdk, or forget to add to nrf52820.
  2. when using softdevice, get a log of nrf_success not found issue. already include nrf_error.h.
Parents Reply
  • if nrf52820 do not have SAADC, but it still have analog input pin right? then how can I use that? I do not see any example about ADC modules. 
    I am switch from nrf52833 dev kit to an nrf52820 module. I have fixed the nrf_success undefined issue, that because I include unused folders, which have nrf_error.h but filter by a softdevice tag.
    also I found another issue, nrf_log with UART also cannot build for nrf52820 but it works fine for nrf52833.

Children
  • weizhen said:
    if nrf52820 do not have SAADC, but it still have analog input pin right? then how can I use that? I do not see any example about ADC modules. 

    As I said, the nRF52820 does not have an on chip SAADC - which is why you are not seeing any ADC examples for it.
    The analogue input pins can be used for the comparator peripheral.

    weizhen said:
    also I found another issue, nrf_log with UART also cannot build for nrf52820 but it works fine for nrf52833.

    Please elaborate, what errors are you getting when you attempt to build it?
    Did your nRF52833 project emulate the nRF52820 hardware as mentioned in my previous comment?

    Best regards,
    Karl

Related