MESSAGE
DATE | 2016-01-31 |
FROM | Ruben Safir
|
SUBJECT | Subject: [Hangout-NYLXS] Fwd: Free electrons course wii nunchuk and BBB i2c
|
-------- Forwarded Message -------- From: 09 2016 <> X-Account-Key: account1 X-UIDL: 00003841561d71fe X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 X-Mozilla-Keys: Return-Path: X-Original-To: ruben-at-mrbrklyn.com Delivered-To: ruben-at-mrbrklyn.com Received: from shelob.surriel.com (shelob.surriel.com [74.92.59.67]) by mrbrklyn.com (Postfix) with ESMTP id 7382516112B for ; Sun, 31 Jan 2016 07:02:40 -0500 (EST) Received: from localhost ([127.0.0.1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.63) (envelope-from ) id 1aPqi8-00080v-1C; Sun, 31 Jan 2016 07:02:32 -0500 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]) by shelob.surriel.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.63) (envelope-from ) id 1aPqhz-000805-3P for kernelnewbies-at-kernelnewbies.org; Sun, 31 Jan 2016 07:02:23 -0500 Received: by mail-wm0-x22e.google.com with SMTP id l66so35517263wml.0 for ; Sun, 31 Jan 2016 04:02:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=mlhfIS7eQv2XJSclszU4dCAENsxVvQzr5w2rAkh3Nb4=; b=Ft6SH1lE2NuldiXMS/lTiYs34/0QasMZljKUsACkjqqewNH0qYfVZRKRxUB0+QBudc jQd4w2zWrgszCCcX5tGyS58xMIb9pDnGwHHeT5EU1ElE4nYeE4LiOwz8UwWVKoalYaRY ekh/zFYZ0rNrvUkyszvCZSBaW0bitM7oyBQv1nhdtkX7gx2tqMm8cWTmOuuFP7woq9oD U0ukHp94PwvpVPy8PTH4dg67zh3Uzt3iF6iIfvoDkAjW8meXR/guMgwXjQxXkB2uZ3q7 mx8LoxAHJhw4kf0tFS2s/KdyyPcuzGA8MSk8Cm8zjBIJziChU8htbVzP91u9YUmwaw+n 2JVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=mlhfIS7eQv2XJSclszU4dCAENsxVvQzr5w2rAkh3Nb4=; b=ldu+Lhg3PujF98Axm+WBhgd8K9rW6YlEk5opD3ygu8Cndz9/sXiDuP7jgOUdf7vX+0 t21P/H9mUMDmoV21+QwswKCVjE11/e3HGUXZYhhXHWTG/+sVYPEJLXC6MMULXICqrVE6 y8NDf86V044afvnP7JnwRNZ4SC+eSD5VrRXGZ1rAhujtebalVewxdsI6pu+uOI0Ch3YP IStcElZga3CfftKY3iXjgWsqnsXGACnyqUur4SzdAP77DroYYF3esIGl+RBlY/shTjQp VSt078QZ/IoHoKXkrVjJIWREYKACuXudp4XvGgVIf089MqPVC8VdX0qUYYrrPHFG4XYe c8rA== X-Gm-Message-State: AG10YOTsEzvWZou1kWBSX7RYhGnmydA5MmbZ7mkUFLaK1am7YTbAcvcK9tamrF50i24uZA== X-Received: by 10.28.50.137 with SMTP id y131mr6979799wmy.102.1454241740439; Sun, 31 Jan 2016 04:02:20 -0800 (PST) Received: from bytefire-computer (cpc91372-watf11-2-0-cust614.15-2.cable.virginm.net. [86.14.2.103]) by smtp.gmail.com with ESMTPSA id e194sm6551577wma.19.2016.01.31.04.02.19 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 31 Jan 2016 04:02:19 -0800 (PST) Date: Sun, 31 Jan 2016 12:02:12 +0000 From: Okash Khawaja To: kernelnewbies-at-kernelnewbies.org Subject: Free electrons course wii nunchuk and BBB i2c connection DTS Message-ID: <20160131120212.GA4804-at-bytefire-computer> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: kernelnewbies-at-kernelnewbies.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: ,
List-Archive: List-Post: List-Help: List-Subscribe: ,
Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kernelnewbies-bounces-at-kernelnewbies.org Errors-To: kernelnewbies-bounces-at-kernelnewbies.org
Hi,
In this free-electrons course http://free-electrons.com/training/kernel/ it talks about setting up i2c between beagle bone black and nintendo wii nunchuk with UEXT connector. To do that I created the DTS which I have put at the end of this email. It doesn't seem to be working. When I send some bytes to the device which is on i2c1, I get "omap_i2c 4802a000.i2c: timeout waiting for bus ready" message.
Feel free to ask details. Any help will be appreciated.
Thanks, Okash
/dts-v1/;
#include "am33xx.dtsi" #include "am335x-bone-common.dtsi"
/ { model = "TI AM335x BeagleBone Black"; compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; };
&i2c1 { status = "okay"; clock-frequency = <100000>;
nunchuk-at-52 { compatible = "nintendo,nunchuk"; reg = <0x52>; }; };
&am33xx_pinmux { pinctrl-names = "default"; pinctrl-0 = <&i2c1_pins>; i2c1_pins: pinmux_i2c1_pins { pinctrl_single,pins = < 0x158 (PIN_INPUT_PULLUP | MUX_MODE2) /* spi0_d1.i2c1_sda */ 0x15c (PIN_INPUT_PULLUP | MUX_MODE2) /* spi0_cs0.i2c1_scl */ >; }; };
_______________________________________________ Kernelnewbies mailing list Kernelnewbies-at-kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ hangout mailing list hangout-at-nylxs.com http://www.nylxs.com/
|
|