I am working with SPI on the ESP32 Pico kit to interface the current sensor TLI4970.
I have tried like SoftSPI and SPI(HSPI & VSPI) with the configuration as shown in the example
The problem is that the correct data is not being received. It is either 0xFF or 0x00. One of the things I am not quite clear is about CS pin in SPI. What I have done is that I have tried to manually turn on the pin.vspi = SPI(2, baudrate=80000000, polarity=0, phase=0, bits=8, firstbit=0, sck=Pin(18), mosi=Pin(23), miso=Pin(19))
I tried the same example on esp32-wroom kit with the same result.
p5 = PinPin.(5, OUT)
p5.on()