Does nrf52833's spim support hardware csn pin selection?

Hi,

   I'm doing nrf52833's spi function.I want to use hardware slice selection instead of pulling the gpio pin, and the reference manual has the register IFTIMING.CSNDUR. However, the official SPIM initialization code shows that 52833 does not support spim extensions, which would cause the register IFTIMING.CSNDUR to not be configured.So, support or not?

Sincerely.

Parents Reply
  • hi!

       I assign spim end-event and task-start into an alloced ppi channel, and enabled end-start shortcut for controlling CSNDUR correctly between two transactions. It works forever, when tigger a task-start. So I fork the ppi with timer task-count.  And use a new ppi channel, which configuring timer compare[0] and ch_group[0].dis. The two ppi channels are included in ch_group[0]. It still always work, because the shortcut is opened. So how to stop spim transfer when spim end-start shortcut is enabled?

    Looking forward to your reply, thank you!

Children
Related