Search found 2 matches

by Quadglide
Thu Jul 11, 2024 1:28 pm
Forum: Hardware
Topic: SPI mode 3 on ESP32S3 problem
Replies: 0
Views: 1387

SPI mode 3 on ESP32S3 problem

I have some problem setting SPI mode 3 on my ESP32S3. I did find some info about solutions and how to fix it. I tried it but it did not solve the problem. CPOL=1 and CPHA =1 for mode 0. But it is stuck on CPHA = 0. Seems to have been an issue for many years. It works in the Arduino framework but not...
by Quadglide
Thu May 30, 2024 7:12 am
Forum: ESP-IDF
Topic: i2c_master.h
Replies: 0
Views: 450

i2c_master.h

Hi, I tried to search first but could not find an answer. :? I am trying to figure out how to read from LIS3MDL with a sub address using the "new" i2c_master lib, not the old legacy i2c.h and running on an esp32c6 device. Writing seems to work just by putting the register at index 0. But how do I do...