IRC Logs

16. 09 2010

2010 9
Mo Tu We Th Fr Sa So
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      
[00:09:44] *** Limp_Trizkit is now known as DrBuffer
[00:10:28] *** DrBuffer is now known as Limp_Trizkit
[00:14:06] *** LimpTrizkit has joined #zipit
[00:16:35] *** Limp_Trizkit has quit IRC
[00:16:35] *** LimpTrizkit is now known as Limp_Trizkit
[00:35:07] *** hoversquirrel is now known as mtb369
[01:34:04] *** absamide has quit IRC
[01:42:53] *** bryan_w has joined #zipit
[02:04:49] *** bryan_w has quit IRC
[02:23:13] *** Marex has quit IRC
[03:13:26] *** azend_ has quit IRC
[03:21:11] *** azend has joined #zipit
[06:28:49] *** olegfink has quit IRC
[07:38:16] *** bryan_w has joined #zipit
[09:05:20] *** bryan_w has quit IRC
[09:48:05] *** SDuensin1 has joined #zipit
[10:27:08] *** ssieb has quit IRC
[11:02:55] *** Marex has joined #zipit
[12:29:08] *** ssieb has joined #zipit
[13:34:59] *** jarek has joined #zipit
[13:35:05] <jarek> heya
[13:35:17] <jarek> i have a general ARM question
[13:35:25] *** jarek is now known as Guest38676
[13:35:34] <Guest38676> errr
[13:36:53] *** Guest38676 is now known as jarek319
[13:37:01] *** jarek319 has left #zipit
[13:37:24] *** jarek319 has joined #zipit
[13:38:24] <jarek319> so yea
[13:38:30] <jarek319> I have a general ARM question
[13:38:39] <jarek319> I've been using atmel microcontrollers for a while
[13:38:54] <jarek319> and I was looking to upgrade to ARM
[13:39:14] <jarek319> I asked around for cheap devkits that integrate LCD's into their bundlke
[13:39:18] <jarek319> *bundle
[13:39:22] <jarek319> and someone brought up the zipit
[13:39:42] <jarek319> my project requires reading from an accelerometer and displaying a graph on the screen
[13:40:06] <jarek319> I already have this up and working on an Arduino, and I have experience programming on Linux computers
[13:40:18] <jarek319> so I was wondering, are the GPIO pins on the zipit easy to interface?
[13:40:40] <jarek319> I'd rather not use the serial link, as I'm trying to keep the accelerometer portion as light as possible
[13:40:56] <jarek319> so if there is an ADC or interrupt pin free on the Zipit core, I'd use that
[13:41:17] <jarek319> has anyone ever done a project using any of the GPIO pins on the zipit?
[14:08:25] *** netbook has quit IRC
[14:34:55] <ssieb> I haven't heard of anyone using them. I don't see why you couldn't. You would either have to wire directly to the board or find the connector for the back.
[14:35:36] <jarek319> the idea would be to wire it directly into the board; this isnt going to me a big production build, just a proof of concept
[14:40:55] <ssieb> should do the job then
[14:46:45] <Marex> jarek319: there's gazilion of GPIO lines on the back connector, they can all be configured as IRQ sources
[14:52:05] <jarek319> is there a reference for using these pins in a simple program written in C? e.g. datasheets with example code, or someone's source
[14:52:22] <jarek319> just a hello world with a button would be more than enough
[14:52:56] <jarek319> if (stateofGPIOpin = HIGH) printf "it works"; or something like that
[14:59:28] <ssieb> to get the pinout of the connector you have a sign something like an NDA. but you can probably just get the PXA270 datasheet and work from that
[15:08:58] <LokiChaos> I have a mostly complete cleanroom of the rear port (and some other pinouts) a friend of mine removed the chips and used the datasheets and a multi-meter to track the pins
[15:12:56] <Marex> LokiChaos: publish it then
[15:13:21] <Marex> jarek319: you'd better write a kernel-level driver for that ... or use gpio api (/sys/class/gpio, but then you dont get the interrupt stuff)
[15:13:43] <LokiChaos> k, I need to pester him for a more complete one, but the pinout thing he sent me (still only partial) I can post
[15:13:52] <LokiChaos> http://dpaste.com/244559/
[15:20:49] <jarek319> ah, that gives me a lot of info, thanks
[15:21:04] <jarek319> would I have to muck about with drivers and such?
[15:22:28] <jarek319> interrupts aren't really that important, as the program would poll for the data
[15:23:17] <jarek319> is there some source written that includes some functions from that API you mentioned?
[15:23:33] <jarek319> i'd like to get a look at it to make sure it's within my skill level before I drop 50 on a zipit
[15:57:01] *** MS3FGX has joined #zipit
[15:57:37] <ssieb> you could try to poll, it depends on the data rate and how you're using the pins
[15:58:01] <ssieb> just remember that you're using a multitasking os so you're likely to get interrupted for unknown periods of time
[15:58:41] * ssieb is not familiar with the gpio api as mentioned by Marex, so you might want to check that out
[16:07:38] *** LokiChaos has quit IRC
[17:20:50] *** Reddog^ has left #zipit
[17:28:20] *** bryan_w has joined #zipit
[17:30:05] *** azend_ has joined #zipit
[17:34:22] *** azend has quit IRC
[17:34:50] *** rkdavis has joined #zipit
[17:36:14] *** Foxx has quit IRC
[17:37:13] *** rkdavis1 has quit IRC
[17:42:20] *** rkdavis1 has joined #zipit
[17:44:29] *** rkdavis has quit IRC
[18:08:13] *** LokiChaos has joined #zipit
[18:29:18] *** bryan_w has quit IRC
[19:00:56] *** ssieb has quit IRC
[19:13:47] *** user_ has joined #zipit
[19:31:40] *** Foxx has joined #zipit
[19:33:07] *** user_ has joined #zipit
[19:33:15] *** user_ has quit IRC
[21:16:21] *** zmef has quit IRC
[21:23:15] *** Marex has quit IRC
[21:35:36] *** dTal has joined #zipit
[22:02:22] *** absamide has joined #zipit
[22:14:47] *** jarek319 has quit IRC
[22:31:20] *** zmef has joined #zipit
[23:23:11] *** mozzwald has joined #zipit