-
Notifications
You must be signed in to change notification settings - Fork 7.6k
drivers: i2s: max32: Driver with TX/RX Support #91508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
drivers: i2s: max32: Driver with TX/RX Support #91508
Conversation
we iterate over all the channels, and if more than one channel is active at a time. interrupt on any one of active channel was triggering callback for other active channel, because flags value is 1 (enabled). this is commit handle this behaviour and only trigger callback if bits other than status is set Signed-off-by: Anuj Pathak <anuj@croxel.com>
The following west manifest projects have changed revision in this Pull Request:
Additional metadata changed:
⛔ DNM label due to: 1 project with metadata changes Note: This message is automatically posted and updated by the Manifest GitHub Action. |
207f3d9
to
bc5c1ad
Compare
@cx-anuj-pathak Please add PR description and Testing evidence |
bc5c1ad
to
05bd9c5
Compare
- add basic dma only i2s dts binding for max32-i2s - add i2s node with default config to max32655.dtsi - add i2s pin definition for max32655fthr board as per spec Signed-off-by: Anuj Pathak <anuj@croxel.com>
add necessary build files and i2s driver with tx/rx support Signed-off-by: Anuj Pathak <anuj@croxel.com>
MAX32655 uses I2C1 to control on board PMIC and Audio Codec this commit enable it as per board spec Signed-off-by: Anuj Pathak <anuj@croxel.com>
Add MAX9867 codec initialization support to the sample to later use for MAX32655FTHR support Signed-off-by: Anuj Pathak <anuj@croxel.com>
- reduced block length from 100ms to 40ms to compile for low ram - add compile time conditional option to slave mode - add overlay file for max32655fthr Signed-off-by: Anuj Pathak <anuj@croxel.com>
- add hal_adi repo dependency to help compile and testing Signed-off-by: Anuj Pathak <anuj@croxel.com>
05bd9c5
to
c7cdd6f
Compare
|
Description
Adds I2S driver for MAX32655 MCU. It was only tested on MAX32655FTHR board using
samples/i2s/echo
sample.Theoretically it should work on most MAS32 MCU (except MAX32650/MAX32660 which uses SPIMSS peripheral), given same MXC_I2S_* APIs and config structure are used internally. But due to lack of hardware it is not tested and dts of other mcu/board is also not updated.
Testing
west update
west build -b max32655fthr/max32655/m4 ..\zephyr\samples\drivers\i2s\echo\
openocd.exe -f interface/cmsis-dap.cfg -f target/max32655.cfg -c "init" -c "reset" -c "halt" -c "flash write_image erase build/zephyr/zephyr.hex" -c "reset" -c "exit"
(note: use openocd from msdk)Depends on: