nrfx_spim_spis sample cannot be used UART to print

Hello all,

I'm using nrfx_spim_spis  non_blocking sample to make my nRF5340 DK as SPI SLAVE.

I don't need SPI MASTER, so I delete the SPIM code.

But I found that I can't use printk to print.

My SDK version is ncsv2.3.0.

Here is my project.

5518.SPIS.zip

Are there anything I need to change?

Thanks!

Parents Reply
  • Hi,

    Maybe my description is not accurate.

    The sample project uses log to print information while I just want to use printk.

    However, there is nothing print when I use printk.

    It seems uart0 disabled.

    I have already checked the output zephyr.dts. Status of uart0 is "okay".

    There is nothing print in RTT Viewer. And in debug mode the code works as usual.

    Besides, other samples will firstly print "*** Booting Zephyr OS build fcaa60a99fa9 ***" after booting while my SPIS project prints nothing.

    I wonder why the uart0 is not working properly.

    Thanks!

Children
Related