analogdevicesinc / msdk

Software Development Kit for Analog Device's MAX-series microcontrollers
Apache License 2.0
60 stars 76 forks source link

fix(PeriphDrivers, Examples): MSDK-1232: Update I2S driver for confused usage of wsize and bits_word register fields - PR after discussions #878

Closed ahmetalincak closed 5 months ago

ahmetalincak commented 6 months ago

Description

After discussions and careful considerations, I decided to create another PR for #MSDK-1232. This description is a clone of #847.

Fix I2S Peripheral Driver for mixed usage of sample_size and bits_word registers. As described in the related Jira tickets, there was a confused usage for the word size and bits_word.

image

image

I updated all I2S examples to use new changes and made them buildable. I am going to open a new PR for examples after my changes are approved.

Jake-Carter commented 5 months ago

Thanks @ahmetalincak, will take another look this week

ahmetalincak commented 5 months ago

Falling back to #847