0
\$\begingroup\$

I created a custom board with a SAMD21E chip (thanks to this). I2C protocol works very well.

Nevertheless, the SPI line from the Arduino Zero use PB pins which are not present on SAMD21E chip, so I need to create a custom SPI line. I followed Adafruit tutorial to do that but I don't know how to connect my custom SPI with SerialFlash library (or the Spark Fun Serial Flash Library).

My goal is to connect the Serial Flash Breakout - SPX-17115.

JYelton
35.7k34 gold badges149 silver badges281 bronze badges
asked Aug 24, 2021 at 16:27
\$\endgroup\$
2
  • \$\begingroup\$ What is the question you want answered? \$\endgroup\$ Commented Aug 24, 2021 at 16:59
  • \$\begingroup\$ Use my custom SPI with SerialFlash library which use the SPI library \$\endgroup\$ Commented Aug 24, 2021 at 18:57

1 Answer 1

0
\$\begingroup\$

The SerialFlash library may be hardcoded to use the standard SPI class and pins, in which case you will need to modify it (the library) so that it uses your custom SPI.

answered Aug 24, 2021 at 17:33
\$\endgroup\$
1
  • \$\begingroup\$ Thanks. Can you help me to do that ? How can I change the pins in the library ? Don’t know how to do it \$\endgroup\$ Commented Aug 24, 2021 at 18:56

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.