From owner-freebsd-arm@FreeBSD.ORG Thu Aug 14 17:20:09 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A0C9A6D for ; Thu, 14 Aug 2014 17:20:09 +0000 (UTC) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 317F323F6 for ; Thu, 14 Aug 2014 17:20:09 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id ho1so2642286wib.16 for ; Thu, 14 Aug 2014 10:20:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=Lhm3FXQDgEIExOWXtTc73T4XVT8Lemwm78/2+t69lic=; b=RWlTA1+sQRGl85u7TPZQkB6G9hgkzjnGLb1ZDY5VsvVQYXfQ8QTGdDy/Y1maYCyGUS WeHoOJa5u0hfnAXOUPkVU1gMgSR90GmSBkw0SGVkS5i7Z0y1YYKXwN2KGbt4LEr18+1K kLyGGDO0lzvoXMvqxJzk1wCbziloqbw047gow6pARBA9pr0xS+ng1gN3p2oO0BLbXWcX o/GnNdPhLi72yFqihnnQCp55L+4ava+IZl4Hm7EB3zqBl8DMff4mHSB2y2SHxbuPoGYa gM1bq0LOl3nfrxaj+n+yllpDtNiYPLvmHQ6z1i0n5Coec9xe3x1/rzXPE2BBP/vvPpJu xnbA== X-Received: by 10.195.13.34 with SMTP id ev2mr13556851wjd.55.1408036807048; Thu, 14 Aug 2014 10:20:07 -0700 (PDT) Received: from ketas-laptop.mydomain (ketas-laptop6.si.pri.ee. [2001:ad0:91f:0:21a:6bff:fe66:2ad3]) by mx.google.com with ESMTPSA id cy9sm2746000wib.15.2014.08.14.10.20.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Aug 2014 10:20:06 -0700 (PDT) Sender: Sulev-Madis Silber Message-ID: <53ECEFBE.6020500@hot.ee> Date: Thu, 14 Aug 2014 20:19:58 +0300 From: "Sulev-Madis Silber (ketas)" User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-arm Subject: Driving WS2801 and similar LED controllers with BBB X-TagToolbar-Keys: D20140814201958348 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2014 17:20:09 -0000 Hello. Maybe someone else works on things like this? I basically know how those are controlled, however I'm unsure what should I choose. Maybe SPI, maybe I should bitbang GPIO for clock / data? Last should work with that specific model (WS2801). Others use weird protocols (or "protocols"). I guess I should just try something. I just let people know that I'm working on that. I won't be surprised if I'm the first one to get it working. I'm also aware that this platform contains PRU's, which are maybe better for this task. Though, that seems like even more complex task. Like how to get code compiled for that (there seems to be one open way for C), how to get it running there and how to assign IO pins.