Thank you for reply.
I set TH field and THE field in CPMEM, and enable EOF/TH interrupt, and init 38(sync) irq interrupt. The result is that I can only catch the EOF interrupt. I do not know why TH interrupt does not raise.
PS:The reason why I want to use TH interrupt is that I want to use the OCRAM(256K) as my specific framebuffer to display a big picture(>1M) without using the DRAM (CH23: MEM--->DP, without EOBND interrupt). I plan to split the picture into several parts, then use TH_isr to display the part one by one. The EBA0 of CH23 is set to the start address of OCRAM.
So there is another problem: if I catch TH interrupt and place another part of picture into the OCRAM, can LCD display from the start address of OCRAM again? What about the double buffer?
Refer to : How to use the small iRAM to display a big picture by IPU on imx6q?