zephyr/samples/sensor
Steve Boylan d0aced304b drivers: spi: RPi Pico PIO SPI code size and byte order.
Use minimized PIO code for 3-wire operation.

Input and output buffers are conventionally stored in bus byte order.
For 16 and 32 bit transfers, this is effectively big-endian, so
txbuf and rxbuf need to be read as such.  Those pointers also need
to be declared uint8_t * instead of void *.
In addition, tx_count and rx_count are based on dts, and refer to
whole transfers (8, 16, or 32 bits), not bytes.

Added rpi_pico.overlay to samples/sensor/magn_polling to demonstrate
32-bit word size, and updated the README.rst to make it independent
of the specific sensor.

Clean up compliance check failures.
Fix typos.
Synchronize 3-wire TX and RX cycles.
Simplify state machine synchronization
Minimize SPI bus delay time in 3-wire mode
Move clock delay to PIO code and remove k_sleep

Signed-off-by: Steve Boylan <stephen.boylan@beechwoods.com>
2024-11-16 14:00:16 -05:00
..
accel_polling samples: sensor: Add adxl362 streaming and trigger configurations 2024-10-26 03:56:58 +01:00
accel_trig samples: sensor: Add adxl362 streaming and trigger configurations 2024-10-26 03:56:58 +01:00
adc_cmp_npcx
adt7420
amg88xx
ams_iAQcore
apds9960
bme280 boards: raspberrypi: adopt new zephyr:board directive and role 2024-10-24 17:51:15 +02:00
bmg160
bmi270
bq274xx
ccs811
co2_polling
dht_polling
die_temp_polling
ds18b20 samples: sensor: ds18b20: updates to reflect analog maxim acquisition 2024-11-16 13:51:38 -05:00
fdc2x1x
fxas21002
fxos8700 boards: nxp: adopt new zephyr:board directive and role 2024-10-24 17:51:15 +02:00
grove_light
grove_temperature
grow_r502a
hts221
i3g4250d
icm42605
ina219
isl29035
jc42
lis2dh boards: st: adopt new zephyr:board directive and role 2024-10-24 17:51:15 +02:00
lps22hb
lps22hh
lps22hh_i3c boards: nxp: adopt new zephyr:board directive and role 2024-10-24 17:51:15 +02:00
lsm6dsl
lsm6dso boards: st: adopt new zephyr:board directive and role 2024-10-24 17:51:15 +02:00
lsm6dso_i2c_on_i3c boards: nxp: adopt new zephyr:board directive and role 2024-10-24 17:51:15 +02:00
lsm303dlhc
magn_polling drivers: spi: RPi Pico PIO SPI code size and byte order. 2024-11-16 14:00:16 -05:00
magn_trig
max6675
max17262
max30101
max44009
mcux_acmp boards: nxp: adopt new zephyr:board directive and role 2024-10-24 17:51:15 +02:00
mcux_lpcmp boards: nxp: adopt new zephyr:board directive and role 2024-10-24 17:51:15 +02:00
mhz19b
mpr
mpu6050
ms5837
proximity_polling
qdec samples: sensor: qdec: change pins used for qdec nrf54h20dk 2024-10-31 09:22:58 -05:00
sensor_shell
sgp40_sht4x boards: weact: adopt new zephyr:board directive and role 2024-10-24 17:51:15 +02:00
sht3xd boards: waveshare: adopt new zephyr:board directive and role 2024-10-24 17:51:15 +02:00
sm351lt
soc_voltage
sx9500
th02
thermometer samples: sesnor: thermo: add harness_config for testing 2024-11-01 12:11:00 -05:00
tmp108
tmp112 boards: nxp: adopt new zephyr:board directive and role 2024-10-24 17:51:15 +02:00
tmp116
vcnl4040
veaa_x_3
vl53l0x
sensor.rst