Part Number: EVMK2GX
Hi,
I am working on EVMK2Gx evaluation board. I have gone through the cslr_gpio.h file located at C:\TI\pdk_k2g_1_0_16\packages\ti\csl\src\ip\gpio\V2 and found that the register overlay structure given for CSL_GpioRegs is incompatible with the register addresses given in Technical Reference Manual.
typedef struct { volatile Uint32 PID; volatile Uint32 PCR; volatile Uint32 BINTEN; volatile Uint8 RSVD0[4]; CSL_GpioBank_registersRegs BANK_REGISTERS[8]; CSL_GpioBank_registers_9Regs BANK_REGISTERS_9; } CSL_GpioRegs;
Below are the errors I have identified,
1) There is no PCR register and
2)CSL_GpioBank_registersRegs BANK_REGISTERS[8] , here only 4 sets are required instead of 8 as Each Bank Registers structure has 2 banks paired.
Regards,
Vishnu