LO1 reference design and SPI
-
Hi all!
In the reference design for the LO1 OEM board, the GPIO21/P12 is used to switch the WiFi Antenna between a onboard chip antenna, and a antenna socket.
Can someone confirm, that I have no SPI functionality with this refence design, because GPIO21 ist also the MISO signal of the SPI bus?Cheers,
Thomas -
@Thosch42
You can re-assign the SPI by adding the pins=(CLK, MOSI, MISO) parameter at initialization, e.g:spi = SPI(0, mode=SPI.MASTER, baudrate=2000000, polarity=0, phase=0,pins=('P21','P22','P23')) -
@jmarcelino
D'oh! You'r right. It's a ESP32. After 20 years with Atmels and PICs, my mind falls back into this world...Cheers,
Thomas
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login