Sample ipc_service failed in NCS v2.3.0

 Hello !

I have compiled sampel ncs/v2.3.0/nrf/samples/ipc/ipc_service without any overlays west build -p --board nrf5340dk_nrf5340_cpuapp and west flash --recover it.

Looks like it doesn't work in new release

Network core traces

*** Booting Zephyr OS build v3.2.99-ncs2 ***
IPC-service nrf5340dk_nrf5340_cpunet demo started
Message length 100, interval 30  <--------------------------------------- I have added this line
[00:00:00.522,338] <inf> sync_rtc: Updated timestamp to synchronized RTC by 8391 ticks (256072us)
Δpkt: 0 (100 B/pkt) | throughput: 0 bit/s
Δpkt: 0 (100 B/pkt) | throughput: 0 bit/s
Δpkt: 0 (100 B/pkt) | throughput: 0 bit/s
Δpkt: 0 (100 B/pkt) | throughput: 0 bit/s

App core , only short line

*** Booting Zephyr

Looks like some problem. I try to use this sample in own application and someting weired there as well.

Regards,

Eugene

Parents
  • Hi !

    I think, very short interval is set by default

    with CONFIG_APP_IPC_SERVICE_SEND_INTERVAL=20000

    Traces are visible from both cores:

    *** Booting Zephyr OS build v3.2.99-ncs2 ***
    IPC-service nrf5340dk_nrf5340_cpunet demo started
    [00:00:00.520,477] <inf> sync_rtc: Updated timestamp to synchronized RTC by 8360 ticks (255126us)
    Δpkt: 50 (100 B/pkt) | throughput: 40000 bit/s
    Δpkt: 50 (100 B/pkt) | throughput: 40000 bit/s
    Δpkt: 49 (100 B/pkt) | throughput: 39200 bit/s

    *** Booting Zephyr OS build v3.2.99-ncs2 ***
    IPC-service nrf5340dk_nrf5340_cpuapp demo started
    Δpkt: 50 (100 B/pkt) | throughput: 40000 bit/s
    Δpkt: 50 (100 B/pkt) | throughput: 40000 bit/s
    Δpkt: 50 (100 B/pkt) | throughput: 40000 bit/s

    But

    from what component come trace 

    [00:00:00.520,477] <inf> sync_rtc: Updated timestamp to synchronized RTC by 8360 ticks (255126us)

    RTC syncronization should be disabled by default ?

    Regards, Eugene

Reply
  • Hi !

    I think, very short interval is set by default

    with CONFIG_APP_IPC_SERVICE_SEND_INTERVAL=20000

    Traces are visible from both cores:

    *** Booting Zephyr OS build v3.2.99-ncs2 ***
    IPC-service nrf5340dk_nrf5340_cpunet demo started
    [00:00:00.520,477] <inf> sync_rtc: Updated timestamp to synchronized RTC by 8360 ticks (255126us)
    Δpkt: 50 (100 B/pkt) | throughput: 40000 bit/s
    Δpkt: 50 (100 B/pkt) | throughput: 40000 bit/s
    Δpkt: 49 (100 B/pkt) | throughput: 39200 bit/s

    *** Booting Zephyr OS build v3.2.99-ncs2 ***
    IPC-service nrf5340dk_nrf5340_cpuapp demo started
    Δpkt: 50 (100 B/pkt) | throughput: 40000 bit/s
    Δpkt: 50 (100 B/pkt) | throughput: 40000 bit/s
    Δpkt: 50 (100 B/pkt) | throughput: 40000 bit/s

    But

    from what component come trace 

    [00:00:00.520,477] <inf> sync_rtc: Updated timestamp to synchronized RTC by 8360 ticks (255126us)

    RTC syncronization should be disabled by default ?

    Regards, Eugene

Children
No Data
Related