Jump to content
  • 0

XADC Automatic Channel Sequencer (Default Mode)


Bilal29

Question

In this mode results are stored automatically in status register like 00h (temperature), etc. No need to select channel for conversation and configure once sets initially in IP core.

I know default mode monitors on chip sensors only.

My question is that how you can read status register without selecting channel (01h, 02h,06h…)? We have to write address through drp Daddr register and enabling den and dwe register and then read dout by disabling dwe and enabling den again. When drdy==1  read dout ?

 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Hi,

this may be a typo but "daddr" is not a "register". It's an input to the XADC.

- wait for eoc
- take the output from "chan" and - put it into daddr (zero-padded with two high bits) , raise den with dwe=0
- when drdy goes up, get the result from dout
 

Link to comment
Share on other sites

Hi  @Bilal29

You can find two examples of default XADC usage in Xilinx library Xilinx\SDK\201....\data\embeddedsw\XilinxProcessorIPLib\drivers\xadcps_v2_2\examples

It is well documented and it pretty much effortless. Everything is done in SDK, no hardware configuration is required. It worked for me.

I don't know what is your goal but these examples could be a good starting point.

Good luck!

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...