Hi Masaru,
1. "Should I clear the mmr_refresh_req register before back-to-back next refresh request?"
- No the IP should handle it.
2. "What happens if I disable the auto-precharge control?
In this case, are both IP planned refresh and user controlled refresh happens?"
- You should control the refresh since the IP doesn't issue the refresh if user controlled refresh is enabled.
3. "What is the relationship of them?
Does the IP parameter define initial state of cfg_user_rfsh_en register?
Is the logical AND condition needed for the user controlled refresh?"
- You don't have to care about that. Only use the MMR interface.
4. "Do I need to handle this register?"
- No need.
Regards,
Adzim