cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
1,943 Views
Registered: ‎05-18-2014

Linux (Microblaze) and DS18B20 (1-wire). Help!!

Hello,

 

I am working with "Xilinx Spartan-6 FPGA LX9 MicroBoard" and I have installed a uClinux with microblaze 3.12.0 kernel.

 

DS18B20 is connected to IP-Core xps-gpio.

 

The UCF configuration for DS18B20 is the next.

# 1-wire interface.
# External pull-up is 680 Ohms requiring approximately 5mA to drive the line Low.
NET axi_gpio_0_GPIO_IO_pin[0] LOC = "E18" | IOSTANDARD = LVCMOS33 | SLEW = SLOW | DRIVE = 8; 

 

In the kernel configuration I have added the driver for "1-wire Bus Masters -> GPIO 1-wire busmaster" and I get the next message in the console output:

"Driver for 1-wire Dallas network protocol." 

  

The problem is that i can't find my device in sysfs? Any suggestion why i can't detect my device? How can I link the sensor with the GPIO or initialize the sistem to detect it?

 

The driver should check connection every 10 seconds but I dont see any signal in the GPIO pin.

 

Thank you in advance and best regards,

MagicPhoton

 

 

 

 

0 Kudos
0 Replies