Skip to content
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

ad7606x: Add dynamic configuration for AD7606X operation modes #1097

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

alin724
Copy link
Contributor

@alin724 alin724 commented Mar 14, 2023

axi_ad7606x_pi:

  • add dynamic configuration for AD7606X operation modes using REG_CNTRL_3 reg;
AD7606x operation mode configuration:
REG_CNTRL_3
bit 8 - 'b1 - set operation mode indicated in bits [7:0];
bit [7:0] - set desired operation mode: 0 - SIMPLE, 1 - CRC, 2 - STATUS_HEADER, 3 - CRC_STATUS

@alin724 alin724 force-pushed the dynamic_ad7606x_par branch 2 times, most recently from 67ab827 to 94253d3 Compare March 15, 2023 11:58
@alin724 alin724 force-pushed the dynamic_ad7606x_par branch 6 times, most recently from 1356cea to 97aebba Compare March 21, 2023 11:22
library/axi_ad7606x/axi_ad7606x.v Show resolved Hide resolved
library/axi_ad7606x/axi_ad7606x.v Show resolved Hide resolved
library/axi_ad7606x/axi_ad7606x_16b_pif.v Outdated Show resolved Hide resolved
library/axi_ad7606x/axi_ad7606x_16b_pif.v Outdated Show resolved Hide resolved
library/axi_ad7606x/axi_ad7606x_16b_pif.v Outdated Show resolved Hide resolved
library/axi_ad7606x/axi_ad7606x_16b_pif.v Outdated Show resolved Hide resolved
library/axi_ad7606x/axi_ad7606x_18b_pif.v Outdated Show resolved Hide resolved
library/axi_ad7606x/axi_ad7606x_18b_pif.v Outdated Show resolved Hide resolved
@IuliaCMoldovan
Copy link
Contributor

Also check the guideline action for errors

@alin724 alin724 force-pushed the dynamic_ad7606x_par branch 2 times, most recently from 1e51d3c to 2743cb7 Compare March 23, 2023 10:51
@alin724
Copy link
Contributor Author

alin724 commented Mar 23, 2023

V2:

  • solved code style issues;

@alin724 alin724 force-pushed the dynamic_ad7606x_par branch 3 times, most recently from dae160c to 647f207 Compare March 23, 2023 11:10
@alin724
Copy link
Contributor Author

alin724 commented Mar 23, 2023

V3:

  • added commit description;

@alin724
Copy link
Contributor Author

alin724 commented Mar 23, 2023

V4:

  • updated ad7606x_fmc.txt file;
  • delete empty lines from *.tcl files;

@alin724
Copy link
Contributor Author

alin724 commented Jul 13, 2023

V5:

  • Rebased to master branch;
  • Renamed ADC_TO_DMA_N_BITS to ADC_CH_DW;
  • Updated adc_config_mode logic;

@AndreiGrozav
Copy link
Contributor

Update the wiki documentation for adc_custom_control at
https://wiki.analog.com/resources/fpga/docs/hdl/regmap_adc_custom

AndreiGrozav
AndreiGrozav previously approved these changes Aug 18, 2023
AD7606x operation mode configuration:
REG_CNTRL_3
bit 8 - 'b1 - set operation mode indicated in bits [7:0];
bit [7:0] - set desired operation mode: 0 - SIMPLE, 1 - CRC, 2 - STATUS_HEADER, 3 - CRC_STATUS
@alin724
Copy link
Contributor Author

alin724 commented Aug 18, 2023

V6:

  • Removed FIRST_DATA related gpio as it wouldn't be used int the initial version of the Linux driver (for IIO_CHAN_INFO_RAW functionality);

@alin724 alin724 merged commit c8a131e into master Sep 6, 2023
1 of 2 checks passed
@alin724 alin724 deleted the dynamic_ad7606x_par branch September 6, 2023 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants