Code hangs when using SPI3

we are using SPI3 in nrf52840 with nrf SDK 16.0

we are using this as below

1. SPI3 init -polling mode  

2. SPI3 unint

3. SPI3 init - DMA mode

4. SPI3 unint 

5. SPI3 init -polling mode

6. SPI3 unit

 

The code gets hanged when we write through SPI3 after SPI3 is intialized in polling mode (STEP 5) in above steps 

Can anyone help us in identifying the reason for the hang? 

Thanks in advance,

 

 

Madhukeshwar P

Related