Page 2 of 2
Re: QSPIv2 driver issues H757I EVAL
Posted: Wed May 26, 2021 7:59 pm
by sidbh
Yes, that's what I have been using. But I have been having issue with DMA caching. For some reason occasionally SCB_CleanInvalidateCache() seems to not work, I tried disabling Cache altogether, but somehow that also fails with stack corruption when AXI SRAM is set for Stack memory. I am probably going to write a separate driver for the chip that uses our bounce buffer system (Ardupilot Project).
Re: QSPIv2 driver issues H757I EVAL
Posted: Tue Jun 01, 2021 11:22 pm
by sidbh
Hi Giovanni,
I think I found another issue with QSPIv2 Driver, so for receiving data instructions we are ending wait on Transfer Finish interrupt, but the MDMA transfers might not have pulled all the data from FIFO yet. I believe right path for Receive call to finish is in MDMA interrupt. For send I think Transfer Complete is correct location. I have attached the patch for the same.
Re: QSPIv2 driver issues H757I EVAL
Posted: Thu Jun 03, 2021 9:40 am
by Giovanni
Hi,
I committed some of the patches but implemented some things differently. Could you assess the current state of the trunk code? I have not a board for testing this right now.
Note, mcuconf.h files have been updated, you should do the same in your project.
Giovanni
Re: QSPIv2 driver issues H757I EVAL
Posted: Sun Jun 13, 2021 1:33 pm
by Giovanni
Any news?
Giovanni
Re: QSPIv2 driver issues H757I EVAL
Posted: Fri Aug 20, 2021 9:42 am
by Giovanni
Closing.