I have a problem in SPI. I am using BF531 in a personalized plate.
By unmasking the interrupt (SIC_IMASK = 0x2000) program now jumps to the interrupt routine and not out. Go out and back to routine.
If within the ISR I turn off SPI interrupt disappears, but soon turn back to the problem.
The interruption occurs before any settings, simply unmask the interrupt.
SPI_STAT equals 0x0001.
The CS pin is high. There is no clock on the SCK pin.
There is a flag that needs to be cleaned or initial setup?