Dear TI Support Team,
We are trying to configure the GPMC with Burst mode in AM3359 processor using DTS, our GPMC is communicating with end device(ARTIX 7 FPGA) on Chip Select "3".
Can you please help us in understanding the configuration for GPMC in burst mode better?
We have performed multiple experiments to get the write burst mode running for now but observed that at the 2nd chip select the signal stays low and does not go high.
Here is our DTS configuration and Images supporting the same.
r4_gpmc: r4_gpmc@50000000 {
compatible = "ti,omap-gpmc";
/*ti,hwmods = "gpmc";*/
/*reg = <0x50000000 0x2000>;*/
/*reg = <3 0 4>; /* CS3, offset 0, IO size 4*/
reg = <3 0 0x01000000>; /* CS3, offset 0, IO size 4*/
/*ti,no-reset-on-init;
ti,no-idle-on-init;
ti,no-idle;*/
interrupt-parent = <&gpmc>;
interrupt-controller;
interrupts = <2 IRQ_TYPE_EDGE_FALLING>, /* GPMC Wait0 active low*/
<3 IRQ_TYPE_EDGE_FALLING>; /* GPMC Wait1 active low*/
#interrupts-cells = <2>;
gpmc,num-cs = <6>;
gpmc,num-waitpins = <2>;
gpmc,sync-clk-ps = <10000>;
/*GPMC Config 2 details*/
gpmc,cs-on-ns = <0>;
gpmc,cs-rd-off-ns = <290>;
gpmc,cs-wr-off-ns = <310>; /*<180>;*/
/*GPMC Config 3 details*/
gpmc,adv-on-ns = <0>;
gpmc,adv-rd-off-ns = <10>;
gpmc,adv-wr-off-ns = <10>;
gpmc,we-on-ns = <20>;
gpmc,we-off-ns = <310>; /*<160>;*/
gpmc,adv-aad-mux-on-ns = <0>;
gpmc,adv-aad-mux-rd-off-ns = <0>;
gpmc,adv-aad-mux-wr-off-ns = <0>;
/*GPMC Config 4 details*/
gpmc,oe-on-ns = <30>;
gpmc,oe-off-ns = <290>;
gpmc,oe-aad-mux-on-ns = <0>;
gpmc,oe-aad-mux-off-ns = <0>;
/*GPMC Config 5,6 wait-monitoring-ns details*/
gpmc,page-burst-access-ns = <20>;
gpmc,access-ns = <80>;
gpmc,rd-cycle-ns = <310>;
gpmc,wr-cycle-ns = <310>;
gpmc,bus-turnaround-ns = <0>;
gpmc,cycle2cycle-delay-ns = <20>;
gpmc,clk-activation-ns = <10>;
gpmc,wait-monitoring-ns = <10>;
/*GPMC Boolean timing parameters*/
gpmc,cs-extra-delay = "false";*/
gpmc,cycle2cycle-diffcsen = "true";
gpmc,cycle2cycle-samecsen = "true";
/*gpmc,oe-extra-delay = "false";
gpmc,we-extra-delay = "false";
gpmc,time-para-granularity = "false";*/
/*GPMC OMAP3+ & AM335x parameters*/
gpmc,wr-access-ns = <20>;
gpmc,wr-data-mux-bus-ns = <30>;
/*GPMC chip select settings*/
gpmc,burst-read = <1>;
gpmc,burst-write = <1>;
gpmc,burst-length = <16>; /*4, 8, 16 word*/
gpmc,device-width = <2>; /*1 for 8 & 2 for 16 bit*/
gpmc,mux-add-data = <2>;
gpmc,sync-read = <1>;
gpmc,sync-write = <1>;
gpmc,wait-pin = <1>;
gpmc,wait-on-read = <1>;
gpmc,wait-on-write = <1>;
gpmc,device-nand = "false";
};
Awaiting reply,
Thanks and Regards,
Rishabh Mishra