Hi All,
I am looking at the board-am335xevm.c inside am335x jb 4.2.2 / kernel -3.2.0.
There i have found ,
static struct gpmc_timings am335x_nand_timings = {
.sync_clk = 0,
.cs_on = 0,
.cs_rd_off = 44,
.cs_wr_off = 44,
.adv_on = 6,
.adv_rd_off = 34,
.adv_wr_off = 44,
.we_off = 40,
.oe_off = 54,
.access = 64,
.rd_cycle = 82,
.wr_cycle = 82,
.wr_access = 40,
.wr_data_mux_bus = 0,
};
can anyone explain me how this timings are calculated?
I have read related sections in TRM but still iam not able to understand the same.
I have some doubt.
in above structure :
.cs_rd_off = 44,
.cs_wr_off = 44,
From TRM , the above value are 5 bit long. so maximum can be 0x1F (31).
then how it is 44?
How above values are going to be written in gpmc configuration registers?
-------------------------------------------------------------------------------------------------------------------------
Thanks,
Jags Gediya