zephyr/samples
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
..
application_development doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
arch doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
basic driver: pwm: infineon: cyw920829m2evk_02 pwm 2024-10-26 03:57:41 +01:00
bluetooth samples: Bluetooth: BAP: Add missing return in stream_is_streaming 2024-11-06 10:10:06 -08:00
boards samples: net: wifi: Relocate AP and STA wifi sample 2024-11-01 12:08:32 -05:00
cpp doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
drivers generic: add `frame_incomplete` where missing 2024-11-16 13:35:17 -05:00
fuel_gauge doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
hello_world samples: hello_world: remove redundant title 2024-09-26 17:40:42 -04:00
kernel doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
modules boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
net samples: net: mdns_responder: Increase interface name len for VLAN 2024-11-16 13:51:27 -05:00
philosophers samples: doc: convert philosophers sample to code-sample directive 2024-09-23 12:00:00 +02:00
posix doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
psa samples: psa: persistent_key: add the persistent_key sample 2024-10-07 13:38:43 +02:00
sensor drivers: spi: RPi Pico PIO SPI code size and byte order. 2024-11-16 14:00:16 -05:00
shields doc: fix occurrences of broken zephyr_file: links 2024-10-30 09:43:50 -07:00
subsys samples: dap: drop 'sample.dap.bulk.nrf' 2024-11-16 13:38:07 -05:00
synchronization samples/synchronization: fix thread b pinning 2024-07-30 18:30:30 +01:00
sysbuild doc: fix occurrences of broken zephyr_file: links 2024-10-30 09:43:50 -07:00
tfm_integration boards: st: adopt new zephyr:board directive and role 2024-10-24 17:51:15 +02:00
userspace samples: userspace: cortex_r8_virtual: Set CONFIG_DYNAMIC_OBJECTS=y 2024-10-01 09:58:22 +02:00
index.rst doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
sample_definition_and_criteria.rst doc: overhaul sample criteria and expectations 2024-09-12 10:03:30 +02:00