When I try to use the SPI on the nanocore 12 i canot right to the data register in codewariores time simulator. I think that this is the reason why I cant get the SPI to Work because I cant right to The Data Register. I am configuring the SPI as A master. The slave device is a serial in parallell out shift register. Also I have no need for The SS Line when I am not using it is there some voltage leval i have to put it to or is there a setting in a register that i need to set.
I think you can't write to the SPI data register in simulation time. the data in this register is sent immediately, and the content of this register will retain the data that was before which is mainly 0.