analogdevicesinc / no-OS

Software drivers in C for systems without an operating system
http://analogdevicesinc.github.io/no-OS/
Other
922 stars 1.65k forks source link

ad9361: src: main.c: Set DAC rate for 1r1t mode #2200

Closed danmois closed 4 months ago

danmois commented 4 months ago

Set tx_dac rate to 1 for 1r1t mode fo AD9361.

Problem signaled and solved in the following two EZ threads: https://ez.analog.com/microcontroller-no-os-drivers/f/q-a/581897/no-os-1r1t-dac-dma https://ez.analog.com/microcontroller-no-os-drivers/f/q-a/571313/ad9364-dac-rate/498804?queryID=92a6dba6aaea82ca5f95812696f18cc2&objectId=0479fa6a-6177-4c34-8bc3-cd9264901e12&eztype=Forum%20Reply

PR Type

PR Checklist

danmois commented 4 months ago

a proper explanation in the commit message would be nice :) (why is this change needed) I updated the commit message. also, now the rate is ovewritten with the same value for ad9364 device. It is true, the rate is overwritten with the same value I was thinking the code is more readable this way. Will modify the statement.

danmois commented 4 months ago

V2

danmois commented 4 months ago

V3