Re: DENALI: can't detect NAND chip

Richard Weinberger
2018-06-04T22:02:08Z

Am Montag, 4. Juni 2018, 22:57:32 CEST schrieb Richard Weinberger:
> Am Montag, 4. Juni 2018, 22:51:17 CEST schrieb Boris Brezillon:
> > > According to the datasheet, the NAND clock rate should be 50Mhz, which is what
> > > is returned in both cases.
> > > So this does not really look invalid to me. :)
> >
> > Did you try to put a scope on the RE or WE pin? The x2 factor looks too
> > perfect to be just a coincidence.
>
> Not yet, but you are right the x2 factor is really interesting.

The NFC uses two clocks, nand_x_clk and nand_clk.
nand_clk is nand_x_clk / 4.
In the device tree nand_clk is referenced, and therefore used to calculate
the timings. So we might need to use the 200Mhz clock instead of the 50Mhz
for the calculation.

Thanks,
//richard

--
sigma star gmbh - Eduard-Bodem-Gasse 6 - 6020 Innsbruck - Austria
ATU66964118 - FN 374287y