• In any case this is what I see on the SPI lines for HW and SW SPI of this example code (nothing on MOSI):

    const PIN_SCK = D18;
    const PIN_MISO = D19;
    const PIN_MOSI = D23;
    
    // HW SPI
    SPI2.setup({ sck: PIN_SCK, miso: PIN_MISO, mosi: PIN_MOSI});
    SPI2.write([1,2,3]);
    
    // SW SPI
    // const spi = new SPI();
    // spi.setup({ sck: PIN_SCK, miso: PIN_MISO, mosi: PIN_MOSI});
    // spi.write([1,2,3]);
    

    2 Attachments

    • HW SPI, SPI only example.png
    • SW SPI, SPI only example.png
About

Avatar for rj @rj started