Dear Melissa,
Yes, you are absolutely correct. Everything works now.
First of all, let me say you a lot of thanks.
You are the only person in the NXP support team who can really help.
All other guys can only say "read the documentation" and everything will
be okay. We (I and they) only waste time without any success.
Sorry, it's emotions.
What about of AHB RX buffer (the register AHB RX Buffer Control
AHBRXBUFxCR0) . Really I didn't understand what it is the field MSTRID
in this register (and there is no detailed information about that in the
RM).
Now I guess that the each bus master is working with its corresponding
buffer, isn't it?
If yes, what does the field MSTRID mean?
I guess, that
MSTRID=0 - MCU Core,
MSTRID=1 - DMA,
MSTRID=2 - DCP,
MSTRID=3 - Others.
Am I correct?
The idea to increase the buffer size for particular working master is to
increase the reading speed.
For example, for DMA reading to OCRAM I get such benchmarks:
- AHB buffer=256bytes, reading speed = ~215MBytes,
- AHB buffer=1024bytes, reading speed = ~265MBytes.
The speed gain is 25%.
Please, clarify the field MSTRID and I believe the question will be closed.
But we are working to increase the writing speed too and meet some
strange behavior.
I am sure that I do something wrong but can't understand where.
Can I ask you this question too?
And a few words about HyperRAM.
I see that in iMXRT MCUs NXP makes accent on SDRAM as external RAM.
In my opinion, it's an outdated view. SDRAM works with 166 MHz speed,
needs more than 35 pins interface lines and big enough external RAM chip.
The potential transaction speed maybe around 300 MByte.
In other case, modern HyperRAM has 200 MHz clock rate, only 12 pins for
connection, potential transaction speed up to 400MB, and small enough
external RAM chip.
I believe, for embedded realization it's very good solution.
But... in today's iMXRT implementation the writing speed is not good
enough. The MCU needs a very small addition: an implementation of a
bigger write buffer for AHB bus and that's all.
We are hard working now on a very powerful and small new our device.
iMXRT family looks very powerful, but some strange implementations do
not allow us to fully use all the features of the processor.
Again, thanks a lot for your support.
Best regards,
George Volokh.