// JAM 2016: introduced again polling delay to make it independent of host hardware speed...
//#define PEXOR_DMA_MAXPOLLS 10000
// JAM 2017: try with longer polling timeout -> 40 ms maximum
-#define PEXOR_DMA_MAXPOLLS 2000000
+//#define PEXOR_DMA_MAXPOLLS 2000000
+#define PEXOR_DMA_MAXPOLLS 20000000
/** polling delay for each cycle in ns for dma complete bit*/
-#define PEXOR_DMA_POLLDELAY 100
+//#define PEXOR_DMA_POLLDELAY 100
+#define PEXOR_DMA_POLLDELAY 200
+
#define PEXOR_MEMWRITE_SIZE 128
//#define UDELAY_TIME 1
* task to be scheduled in near future, but sched() will initiate the
* schedule directly
* this must not be enabled if dma completion is polled in interrupt tasklet*/
-#define PEXOR_DMA_POLL_SCHEDULE 1
-
+#define PEXOR_DMA_POLL_SCHEDULE 0
+// JAM 21-Sep-2020 - try without schedule
struct pexor_dma