Hi
I have now also used the test board from freescale.
Also I have used 2 projects from freescale for the test.
With one of it, it is possible to change SPI RSER register, with the other not.
I have used out oftthe folder
- C:\Freescale\KSDK_1.2.0\examples\frdmk64f\driver_examples\dspi\dspi_edma_
blocking\master\mdk
Freescale project
- dspi_edma_blocking_example_master.uvprojx
This project is written for the SPI 0 port but it can be used to check if SPI1 is working or not.
During the run I have stopped the program with the Debugger.
I have changed the SIM register manually Enable clock for SPI 1)
Afterwards I have tried to change the SPI register RSER.
It is not possible.
It is always 0.
Now I have just the non blocked project
- C:\Freescale\KSDK_1.2.0\examples\frdmk64f\driver_examples\dspi\dspi_edma_non_blocking\master\mdk
Freescale project
- dspi_edma_non_blocking_example_master.uvprojx
This project is also written for the SPI 0 port.
I did the same check as before.
During the run I have stopped the program with the Debugger.
I have changed the SIM register manually
Afterwards I have tried to change the SPI register RSER
Now it is possible to change the port.
I have tried to find the difference in the code for the configuration.
I cannot find any relevant difference.
Do you have any idea what the reason is for this different behaviour?
Best regards.
Lothar Nawroth
.