Hi to everyone,
I want to map the SPI interface to the following configuration (I know that IO34 and IO35 can be used just as input)
MOSI: IO34
CLK:IO35
CS:IO33
MISO:IO25
Is this possible ?
Awaiting your kind reply
Thanks in advance.
Nicola
remapping SPI with IO34 and IO35 like MOSI and CLK
Re: remapping SPI with IO34 and IO35 like MOSI and CLK
Hi,
sorry, could you please clear my doubts about this configuration?
Awaiting your kind reply.
Thanks.
Nicola
sorry, could you please clear my doubts about this configuration?
Awaiting your kind reply.
Thanks.
Nicola
Re: remapping SPI with IO34 and IO35 like MOSI and CLK
If you're pins support the direction (you are not trying to make an input pin act as MOSI) then sure, yes.
You should consider that if you do swap to non default pins then the GPIO mux will kick you and limit you're maximum achievable SPI clock. The calculations are posted within ESP's SPI documentation and depend in part on which SPI device you use.
My experience has been that (generally) you will be limited to around 8MHz when using non standard SPI pins. Theoretical suggest 12 MHz. I would accept that the difference may be down to my lay out man having had a 'lads' night out before posting his Gerbers.
Just to say check the Wiki and then derate a bit.
You should consider that if you do swap to non default pins then the GPIO mux will kick you and limit you're maximum achievable SPI clock. The calculations are posted within ESP's SPI documentation and depend in part on which SPI device you use.
My experience has been that (generally) you will be limited to around 8MHz when using non standard SPI pins. Theoretical suggest 12 MHz. I would accept that the difference may be down to my lay out man having had a 'lads' night out before posting his Gerbers.
Just to say check the Wiki and then derate a bit.
& I also believe that IDF CAN should be fixed.
Who is online
Users browsing this forum: No registered users and 86 guests