Dear all,
I'm tring to configure a SkyHigh ONFI Nand flash (cod. S34ML01G3) using SEMC and AXI interface in IMXRT1171 processor.
I'm starting from nandflash_semc example, and modifing some parts, the memory seems to work properly. However, ther's some details that I can't understand, and I would like to ask:
1) Burst Lenght : which value I have to use? In memory datasheet I can't find anythink regarding this field, and also in processor reference manual. Could you please explain better this field? In my projetc burst length is 64, and seems to work, but i would like to understand why.
2) Access to AXI memory: witch data width is the best choice? using a memcpy, the access seems to be 32 byte wide, but it doesn't works always: in my project I have to use 16 byte wide when reading, and 32 byte wide when I write. In this way reading and writing memory is good, but I would like to understand why, and if there is a rule to set it.
3) In my understanding, AXI access automatically add a 05h and E0h commands when read, and 85h command when write. When reading, how the controller know how many bytes it has to read from nand flash device? There a register (if exist, I can't find it), or every access to AXI mapped memory generate a read instruction to nandflash device? May be burst length to handle this?
Thanks in advance for your support.
Best regards
Francesco