Hi Peter,
I am sorry for confusion. The Code Cache can be enabled for the DRAM controller on the K65 derivative according to the reference manual. This cache can be used for access the SDRAM memory by the Program Code (I&D code) bus but the System Bus does not use any cache, see the following block diagram of K65 derivatives.

The K65 Reference Manual contains also following information:
30.4.1.1 Processor Code accesses
Processor Code accesses are routed to the SRAM_L if they are mapped to that space. All other PC accesses are routed to the Code Cache Memory Controller. This controller then processes the cacheable accesses as needed, while bypassing the non-cacheable, cache write-through, cache miss, and cache maintenance accesses to the CCM bus and the crossbar switch using the Master0 port.
30.4.1.2 Processor System accesses
Processor Space accesses are routed to the SRAM_U if they are mapped to that space. All other PS accesses are routed to the CCM bus and the crossbar switch using the Master1 port.
30.4.1.3 Backdoor port accesses
All LMEM backdoor port accesses are for the SRAM controller. These accesses go to the SRAM_L or the SRAM_U depending on their specific address.
The Optimizing Performance on Kinetis K-series MCUs application note contains the following information:
- ICODE - The ICODE bus is used for instruction accesses for any instructions stored between addresses 0x0000_0000-0x1FFF_FFFF.
- DCODE - The DCODE bus is used for data accesses for any instructions store between addresses 0x0000_0000-0x1FFF_FFFF.
- System - The system bus is used for all accesses to addresses between 0x2000_0000-0xDFFF_FFFF and 0xE010_0000-0xFFFF_FFFF
Therefore the only way how to use cache is the using of 0x08000000 - 0x08800000 memory area. But this memory area can be used in the write-through cache mode only (write-back mode is not available).
I will also send a question to an internal specialist about the usage of the cache and definition of cache regions. It is not clear from the description in the K65 reference manual.
Note:
Please, consider also the following information about write-back mode of the cache.
• A write-back write miss will do a "read-to-write" (allocate on write miss policy
for write-back mode spaces). A line read on the output bus of a 16 byte aligned
memory address containing the desired write address is performed. This miss
data is loaded into the cache and marked as valid and modified; and the write
data will then update the appropriate cache data locations.
It is mean, that writing into SDRAM memory performs reading of 16 bytes of memory into the cache and writing back into SDRAM memory. When you execute long sequence of writing into SDRAM it leads to reading and writing of the whole memory block from/to SDRAM.
Best Regards,
Marek Neuzil