cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
7,646 Views
Registered: ‎07-22-2013

write xadc register from app

Hi,

 

by default the xilinx-xadcpc driver set the XADC_CONFIG_ENABLE. 

this cause that the reading from the PL doesn't return the temp values.

 

I can change the driver but i want to know ,

how can i write  from the application the xadc CONFIG register , and reset this bit ?

 

thanks in advance

 

Ari

0 Kudos
2 Replies
Highlighted
Xilinx Employee
Xilinx Employee
7,644 Views
Registered: ‎07-01-2010

@ariels1

 

Have you referred to this application note?

http://www.xilinx.com/support/documentation/application_notes/xapp1182_zynq_axi_xadc_mon.pdf

 

Regards,

Achutha

---------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------
0 Kudos
Highlighted
Observer
Observer
7,507 Views
Registered: ‎07-22-2013

@achutha

 

thanks for link.

we might use it that way in the future.

 

but right now we dont use the iio , we use the  xilinx-xadcpc driver.

the PL reads the XADC values.

 

i just want not to "disturb" and reset the XADC_CONFIG_ENABLE bit from user space.

 

is it possible when using the xilinx-xadcpc driver?

 

thanks 

Arii

0 Kudos