I got the info from this page.
https://lang-ship.com/blog/work/m5stickc-spi-sd-3wire/