Hi all,
I use the HalCoGen Version 04.07.00 with the TI Processor TMS570LC4357. I check the register values generated from HalCoGen and I have a question about the Pinmux module.
The follwing code line is generated by the HalCoGen Tool:
#define PINMUX_ETPWM_TIME_BASE_SYNC_ENABLE(state) \
(pinMuxReg->PINMUX[165] = (pinMuxReg->PINMUX[165] & PINMUX_ETPWM_TIME_BASE_SYNC_MASK) | (PINMUX_ETPWM_TIME_BASE_SYNC_##state))
But I think in the TI Reference Manual (spnu563.pdf, Version May 2014, table 6.3) this should set to PINMMR166.
Table 6.3:
ePWMx TBCLKSYNC Enable --> Register Adress offset 3A8h --> PINMMR166[1]
What is right ?
Best regards
Lars