nuttx-apps/examples/i2schar
Tiago Medicci 61e82925dc examples/i2schar: Implement loopback mode check
This commit implements the loopback mode for the i2schar example
application. This mode - available only when both RX and TX are
enabled - allows the user to test the I2S buses when the TX pin is
connected to the RX pin. This is done by pre-filling a buffer with
known data (additionally, it checks the peripheral's data width to
format the data in the buffer accordingly) and passing it for both
the transmitter and the receiver threads. This buffer is written to
the TX and the received buffer is compared to the known buffer.

Signed-off-by: Tiago Medicci <tiago.medicci@espressif.com>
2025-08-28 21:58:41 +08:00
..
CMakeLists.txt examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
i2schar.h examples/i2schar: Implement loopback mode check 2025-08-28 21:58:41 +08:00
i2schar_main.c examples/i2schar: Implement loopback mode check 2025-08-28 21:58:41 +08:00
i2schar_receiver.c examples/i2schar: Implement loopback mode check 2025-08-28 21:58:41 +08:00
i2schar_transmitter.c examples/i2schar: Implement loopback mode check 2025-08-28 21:58:41 +08:00
Kconfig Kconfig: Change !BUILD_PROTECTED && !BUILD_KERNEL to BUILD_FLAT 2020-04-29 07:23:51 -06:00
Make.defs examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Makefile examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00