Other Parts Discussed in Thread: OMAPL138, MATHLIB
Tool/software: Code Composer Studio
Dear Experts.
I have question about OMAP-L138 register access.
I progrom the SPI communications using OMAP-L138 sample code.
And there's some problem that the interrupt(INT1 line) related to tx/rx buffer status doesn't occur.
I couldn't find any problem to set the AINTC interrupt and SPI.
During the degugging the function of Int PSCModuleControl(..) in psc.c, I found there's any changes after I write to PTCMD register.
Also I couldn't see any changes in PTSTAT register.
But other register related to the PSC can Read or Write and see the changes.
This is the one of symptom I tried.
Set the PTCMD.GO[0]bit.
But after set in the register map or memory browser, it still reamin to the default.
The below picture shows the state after set PTCMD.GO[0[0]
So this is what I am wondering.
1. Even though it actually set the PTCMD, PSTAT register, when I debug with Code Composer Studio(6.1.2.00015) this value is hard to catch with IDE.(it is too fast to catch up)
2. It is hard to access this register because PTCMD,PTSTAT register has protected.
3. Does SPI occurs the interrupt after active PTCMD.GO[x] set to 1 ?
4. What's another issues which I need to suspect?
Best Regards,
Jay.