SPI, I2C... does not work with pico RP2040 board, only the board LED

Hello,

my ini-file and code looks as following. Unfortunately only the board LED is blinking.
I can’t measure anything on the pins, so SPI is not working.
Why this? What can I change?

Thank you

[env:pico]
platform = raspberrypi
board = pico
framework = arduino
lib_deps = lvgl/lvgl@^8.3.4
upload_protocol = picotool

and my code:


#include <Arduino.h>
#include <SPI.h>
#include <Wire.h>

#define LED_BOARD 25
#define TFT_CS 13
#define TFT_DC 11
#define TFT_RST 10
#define TFT_SCK 14
#define TFT_MISO 12
#define TFT_MOSI 15

#define CTP_SDA 0
#define CTP_SCL 1
#define CTP_INT 2
#define CTP_RST 3

arduino::MbedSPI SPI1(TFT_MOSI, TFT_MISO, TFT_SCK);

void setup() {
    pinMode(LED_BOARD, OUTPUT);
    pinMode(TFT_CS, OUTPUT);
    SPI.begin();
    SPI1.begin();
}

void loop() {
  digitalWrite(LED_BOARD,!digitalRead(LED_BOARD));

  SPI.transfer(0x44);
  SPI1.transfer(0x0F);

  delay(100);
}

vs

?

you mean first MISO then MOSI… let me try…