spi problem with p12 pin and boot modes



  • Hi,
    I try to work with an ADC converter in SPI. I have connected the device like this:
    SCK - > p10
    MOSI - > p11
    MISO -> p12
    But i have a problem because the MISO is in wait at high level and after a reset the wipy enters a safe boot mode (the orange led blink).

    Which solutions can I have to avoid this problem?



  • @anthony_soben
    choose different pin
    e.g. change pins in init

    spi = SPI(0, mode=SPI.MASTER, baudrate=2000000, polarity=0, phase=0, pins=('P19','P20','P21'))
    

Log in to reply
 

Pycom on Twitter

Looks like your connection to Pycom Forum was lost, please wait while we try to reconnect.