Change SPI HW pins to lower speed #2888
Replies: 3 comments 4 replies
-
Probably the best place to ask this is the ESP32 forum. One option to slow down edges is to add a series resistor at the output pin. |
Beta Was this translation helpful? Give feedback.
-
Resistor is not enough, the best option is slow down rising and falling edges internally in MCU, ESP32 forum maybe couldn't help it, because this option should be added in this code together with definition of output SPI pins, so only I need to know where is that definition. |
Beta Was this translation helpful? Give feedback.
-
Have you tried setting the strength on the output pins after the SPI port is initialised? That seems like a very simple thing to try. Example:
The strength setting will just control the driver output impedance, so if there is not much capacitance load on the pin you may see not much of a change in rise/fall times. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have question, how to set that parameter and where to add: gpio_set_drive_capability(GPIO_example, GPIO_DRIVE_CAP_0); to SPI lines?
It is very important for me, because I have 10MHz clock from ESP32 and I need to reduce noise from this lines.
I tried to investigate it myself without success :(
Thanks
Beta Was this translation helpful? Give feedback.
All reactions