Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN
Tool/software:
I am attempting to implement support for the TMS570LS1224 for Zephyr, and I am currently working on the SCI driver. I am able to get the SCI/LIN module to work just fine, however the other SCI module does not work as I am unable to configure the IOMM.
When writing to the kick registers, the writes do not seem to have any effect as I am reading out 0x0 for both kick0 and kick1 (using GDB). When attempting to write to the PINMMR registers, these do not seem to take any effect either as they remain unchanged. I have checked that the CPU is operating in priviliged mode (system mode), and the ESM register is not reporting any errors (FFFF F558h is 0x0). Is there an initialization step that is neccesary for the IOMM module to function that I have missed?
Currently the setup that is done prior to attempting to set the IOMM registers is:
* PLL/Clock initialization
* PSPWRDWNCLR0-3 cleared (writing 0xffffffff)
* Setting PERIENA bit
Any help is appreciated, as I have no clue why it is not currently working. The repo I am working with is available at https://github.com/OrbitNTNU/zephyr-hw, if that is of any help. I will gladly post any additional information if neccessary, however Im not sure what is relevant to post now.

