Hi Mark Butcher ,
Thanks for your question.
You can check the same ARM cortex M7 core document: ARM® Cortex®-M7 Devices Generic User Guide, you will find the following description:

So, even the ARM document example comment, it also comment select leve 1, I think maybe it is the ARM document problem, you also can check it with the ARM side.
About your second question:
------------------------------------------
With the code as it is it invalidated
- 128 sets 4 ways.
If I select data cache instead (according to ARM documentation) it invalidates
- 256 sets 2 ways.
According to NXP "The data cache is 4-way set-associative and instruction cache is 2-way set-associative with cache line size of 32 bytes"
---------------------------------------------
Please tell me the detail ARM document page, and the NXP document page, then I can help you to check it.
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------