Some issue of Pyboard GPIO speed
Posted: Wed Jul 06, 2022 2:23 pm
Hi, I am a fresh man and I have some troubles of my pyboard project. I need use pyboard V1.1 to control sk6182rgbw led array. Usually we use SPI mosi pin to do this, but this time all mosi pin had been used. So I try to use software SPI to do this, but:
1. I dont know the pyboard GPIO speed? There have no parameters to config this in pyb.Pin
2. Datasheet said that GPIO slew rate can reach Mhz, but I test it just 77.6Khz, and I dont know why.
test code:
Looking forward your help , thanks.
1. I dont know the pyboard GPIO speed? There have no parameters to config this in pyb.Pin
2. Datasheet said that GPIO slew rate can reach Mhz, but I test it just 77.6Khz, and I dont know why.
test code:
Code: Select all
from pyb import Pin,freq
import stm
led = Pin('Y9',Pin.OUT_PP)
while 1:
led.high()
led.low()