Hello,
we use the DMA Controller to fill the transmit buffer. The data should then be transmitted by FlexSPI/Hyperbus. The Configuration of FlexSPI contains a free running clock because we communicate with an FPGA.
Our device is a RT1051.
We need to transfer more than 128 Byte (TX FIFO size). Hence, we rely on multiple minor or major loop executions.
The LUT is configured similar to AN12239 ("How to Enable HyperRAM with i.MX RT").
If we increase the transmission speed to a certain level, we experince the following behavior:
We can measure this by using chipscope. The picture shown is a high speed transfer (160MHz DDR -> 320MB/s). 0x0c is the value if the lines are not driven.
Is there a possibility to configure the chip select line of FlexSPI to be deasserted when there is no transmit data available but the transfer is not finished yet?
Thanks in advance and best regards,
Oliver
Hi Oliver He,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) Is there a possibility to configure the chip select line of FlexSPI to be deasserted when there is no transmit data available but the transfer is not finished yet?
-- The FlexSPI doesn't support this feature that makes the CS be deserted automatically when without any data transaction, unless, control the Flex_SS pin manually.
Have a great day,
TIC
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------
Isn't that quite a limit on the achievable speed and realtime capabilities, if we are using DMA and Hyperbus? Considering the DMA performance according to: https://community.nxp.com/message/1238037
BR,
Oliver
Hi Oliver He,
Thanks for your reply.
1) Isn't that quite a limit on the achievable speed and realtime capabilities, if we are using DMA and Hyperbus?
-- No, I don't think. Actually, I'm curious about the testing result as the Memory to Memory DMA on i.MX Rt 1020 presents, however, I'm also cautious, as I don't know the exact testing code he used, so I can't provide an explanation or jump to some conclusion about it, and I wish he will provide some more detail information in next reply.
Have a great day,
TIC
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------
Thanks for the quick reply!
Best regards,
Oliver