We're using an S32K341. I understand that I can place DMA buffers into a noncacheable region but I'd prefer to perform DMA transfers and invalidate / clean cache by address.
We're using the RTD. Searching through the install, we can see these "by address" cache commands in files `Cache_IP.c/.h` but they weren't generated with our `.mex` file.
In the past I have used the CMSIS interface to perform this task but the code doesn't appear set up for this as far as I can tell.
For some background, we're using C++ and I've defined a class that will enforce the alignment and padding to the cache line lengths. I have a UART driver that encapsulates the RTD UART calls.
How can I access these cache functions?