I am doing an AGSI extension to the Keil Simulator to simulate an ARINC 429 chip (HI-3585) that runs off of the SSP1 port running in the SPI mode. The processor is an ARM LPC2368. I have successfully implemented the basic functionality of the chip using the SSP1_OUT virtual register for the SSP1DR data register. However, I have not yet been successful at setting the ARM SSP1 status register, SSP1SR to show the port as busy. (This is avionics software and we need to verify that the program is well behaved when the busy bit shows busy) The SSP1SR is read only and I would expect to find a virtual register to use, but I do not find a virtual register for the SSP1SR register. When I try to write to the register in the simulator using the WriteMemory capability, the bit does not show as busy to the program. I attempted to define an SPR and have not been able to make that work.
Can anyone suggest a way to make the SSP1SR status register show as busy?
Thank you.