Hello,
I’m working on the CPSW Ethernet driver on AM642 (SDK 8) and have some questions:
- I want to set CTRLMMR_CPTS_CLKSEL register to 0x7 (MAIN_SYSCLK0), but when I write to this register, its value is not changed and keeps 0. As described in the TRM, I cleaned the CPTS_EN bit to 0. before write this. Then is there any other restriction in writing to this register? CTRLMMR_CPSW_CLKSEL is set to 0x7, same as Linux.
- AM64X TRM Fig 12-344 CPSW0 Integration shows that CTPS_RFT_CLK is selected by CTRLMMR_CPTS_CLKSEL register, but Fig 12-353 CPSW0 CPTS Integration shows that it's selected by CTRLMMR_CPSW_CLKSEL register. Which one is correct?
Thanks,