ALFAT L command syntax

regarding the L command, when the datasheet specifies 4 bytes max in hex data size to be written, is that in bits, bytes or blocks?
getting myself quite confused.

@ hibby - That would be the number bytes to be written.

Thanks James.

@ hibby -

  • For each single L command, there is up to 0xFFFFFFFF (4GB) bytes can be sent
  • For each SPI frame, there is 0xFFFF bytes can be sent (65KB)
  • For each block using by L command, there is max 8KB can be sent.

And after every 250MB has been transferred, better if you flush your data.