SSADC on nRF52805

Hi,

My ssadc source from example of nRF5_SDK_17.1.0_ddde560\examples\peripheral\saadc

I do enable PPI function on sdk_config.h.
Compile error is occured as follow.

My makefile includes -DNRF52805_XXAA option



The example of  of nRF5_SDK_17.1.0_ddde560\examples\peripheral\saadc's makefile include -DNRF52832, not 52805.
How can I solve this problem?

Paul

Parents
  • Hello Paul,

    Glad to hear that you figured it out.

    The nRF52805 has a smaller set of PPI channels than the nRF52832, so the channels 10, 11, 12 and 13 doesn't exist on the nRF52805. I guess there still may be some configurations in your application that are not set to the nRF52805, since it tries to use these channels. For example, the preprocessor symbols usually have multiple definitions pointing to the chip type, such as:

    BOARD_PCA10040
    NRF52
    NRF52832_XXAA

    Also, the target device can be wrong (nrf52832). Please go through both the makefile and .ld file (if you are using the nRF52805) to make sure that you are actually building for the nRF52805

    Best regards,
    Edvin

Reply
  • Hello Paul,

    Glad to hear that you figured it out.

    The nRF52805 has a smaller set of PPI channels than the nRF52832, so the channels 10, 11, 12 and 13 doesn't exist on the nRF52805. I guess there still may be some configurations in your application that are not set to the nRF52805, since it tries to use these channels. For example, the preprocessor symbols usually have multiple definitions pointing to the chip type, such as:

    BOARD_PCA10040
    NRF52
    NRF52832_XXAA

    Also, the target device can be wrong (nrf52832). Please go through both the makefile and .ld file (if you are using the nRF52805) to make sure that you are actually building for the nRF52805

    Best regards,
    Edvin

Children
No Data
Related