Tool/software:
I am facing issue while configuring Window watchdog as below,
CASE 1: When I flash software using IAR workbench with Seggar J-Link debugger, software seems running fine. please refer screenshot below.

CASE 2: If i perform Power OFF --> Power ON with 12v Powersupply, MCU sends valid SPI command however MISO line stays always HIGH. After ~170ms MCU gets reset and same sequence repeats. Please refer screenshot below,

Below is my code:

Could you please review code and provide hints why this issue might occure?
Thank you in advance!
				
        		
                          


