MOHD RIZWAN Posted January 30 Share Posted January 30 I have customize SoC and I am using CMOD A7 for the implementation some application like i am taking data from the sensor , So can use cmod A7 inbuilt XADC for that without any extra soft IP? Link to comment Share on other sites More sharing options...
0 artvvb Posted February 1 Share Posted February 1 Yes, you should technically be able to use XADC without any IP in a project. While the Cmod A7 15T demo (https://digilent.com/reference/programmable-logic/cmod-a7/demos/xadc) instantiates an XADC IP, the primitive that this IP wraps can be directly instantiated in your design. See the screenshot of the language templates built into Vivado, below. Note that primitives like this are not necessarily easy to configure and still require the appropriate review of corresponding datasheets. Thanks, Arthur Link to comment Share on other sites More sharing options...
0 MOHD RIZWAN Posted February 6 Author Share Posted February 6 Thanks for your response. To be more clear, the Custom SoC that I am using doesn't have an inbuilt ADC. And since I am using Cmod A7 35T for creating applications using my SoC, I need a way to process the Analog Data coming from an external source. So, in such a situation how can i utilize the XADC present on the Cmod to? Link to comment Share on other sites More sharing options...
0 artvvb Posted February 8 Share Posted February 8 Please refer to the demo linked in my previous comment for an example project that uses the XADC. Link to comment Share on other sites More sharing options...
0 MOHD RIZWAN Posted February 13 Author Share Posted February 13 Can we enable the XADC without any instantiation and by just using the driver(GCC compiler) for PS(processing subsystem)? Link to comment Share on other sites More sharing options...
0 artvvb Posted February 13 Share Posted February 13 No, the XADC primitive needs to be included in the project somehow for it to be connected in the bitstream, whether it's included through the IP or a direct primitive instantiation. Link to comment Share on other sites More sharing options...
0 MOHD RIZWAN Posted February 14 Author Share Posted February 14 Okay thanks ...Got it Link to comment Share on other sites More sharing options...
0 MOHD RIZWAN Posted April 15 Author Share Posted April 15 Hi I instantiated primitive but I want to read data from sensor so Which address location Should I use ,I am confuse during the software writing which address should i use for read data from the sensor?Plz give me response ASAP. regards Rizwan Link to comment Share on other sites More sharing options...
0 artvvb Posted April 15 Share Posted April 15 AIN15 and AIN16 correspond to XADC auxiliary channels 4 and 12, respectively. These are tied to addresses 0x1c (Aux 12) and 0x14 (Aux 4) in the DRP interface. This is where the XADC demo selects addresses to read from using the DRP interface: https://github.com/Digilent/Cmod-A7-HW/blob/859446665e06c3ccc88fa57b4697477ec922a0d7/src/hdl/XADCdemo.v#L75. Thanks, Arthur Link to comment Share on other sites More sharing options...
Question
MOHD RIZWAN
I have customize SoC and I am using CMOD A7 for the implementation some application like i am taking data from the sensor , So can use cmod A7 inbuilt XADC for that without any extra soft IP?
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now