Skip to search.
ts-7000 · TS-7000 ARM SBC

Group Information

  • Members: 2497
  • Category: Hardware
  • Founded: Sep 28, 2004
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

  Messages Help
Advanced
interrupt driven GPIO   Message List  
Reply Message #1725 of 21944 |
Re: interrupt driven GPIO

--- In ts-7000@yahoogroups.com, "Yan Seiner" <yan@s...> wrote:
>
> --- In ts-7000@yahoogroups.com, Jim Jackson <jj@f...> wrote:
> >
> >
> >
> >
> > On Thu, 1 Dec 2005, Yan Seiner wrote:
> >
> > > The greater issue is that I need 5V TTL logic so I need a memory map
> > > for the K7V video board with the registers laid out....
> > >
> >
> > Why? What's wrong with just a couple of resistors or zener and
resistor?
> > Jim
> >
>
> Well, because the IR sensor I need runs off of 5V; if I can get 5V TTL
> then it's just a matter of hooking it up... Otherwise, I will need
> more components to provide 5V. I'm thinking one pin to power it, one
> pin to sense it. Simple....
>
> OTOH, if one of the hardware folks has any suggestions for connecting
> a Vishay TSOP 1738 or similar to the 3.3V GPIO on the tx7xx0 boards
> I'd love to hear them....
>
> --Yan
>


Yan,

It looks like the Vishay part is a remote control receiver/
demodulator. All you need to do to "condition" the signal is to use a
resistive divider. The part can handle an output current up to 5ma. So
if power consumption is not an issue, use a 1.8k and a 3.3k resistor
(1ma). Keep it simple. If power consumption is an issue, scale the
resistors up (18k/33k, 180k/330k, etc) Keep the ratio constant. The
resistive divider will limit the output voltage range into an area the
micro can handle.
----------------OUT
1.8k | 3.3k
IN>---/\/\/\/\/--o--/\/\/\/\/----GND

NJOY,
Jamey







Fri Dec 2, 2005 10:11 pm

butteris
Offline Offline
Send Email Send Email

Message #1725 of 21944 |
Expand Messages Author Sort by Date

I've been playing with some concepts for alternate IO. Encoders, LIRC remotes, that sort of thing. One thing I need is some sample code for interrupt driven...
Yan Seiner
cptdondo Offline Send Email
Nov 29, 2005
8:29 pm

User space programs can't receive hardware interupts (only kernel space drivers can), you would need to do polling to simulate interupt in user space, or look...
Curtis Monroe
curtis934x Offline Send Email
Nov 30, 2005
3:27 am

I can't tell you how, but there is some way to do it with a RTLinux kernel. I'm trying to figure that out myself. From what I gather, you can tell the kernel...
birmingham_stover
birmingham_s... Offline Send Email
Nov 30, 2005
2:00 pm

... Right.... I'm getting hauled into writing kernel modules, kicking and screaming all the way... So, I'm going to have to write a kernel module that enables...
Yan Seiner
cptdondo Offline Send Email
Dec 1, 2005
6:13 pm

If you look in the Technologic Yahoo group, I've posted an example driver that does just that. Sorry but I don't have web access right now, so I don't have a...
Andy Gryc
andygryc Offline Send Email
Dec 1, 2005
9:07 pm

... Andy: I'm trying to decipher your example code.... Unfortunately, being a newbie in the world of IRQs, I am having a bit of a hard time.... --Yan...
Yan Seiner
cptdondo Offline Send Email
Dec 1, 2005
9:20 pm

If there's a question I can answer let me know. --Andy ... --Andy Gryc mailto:andy@... http://gryc.ws...
Andy Gryc
andygryc Offline Send Email
Dec 1, 2005
10:40 pm

... Andy: Here's what I am trying to do (at least for now): 1. pick a GPIO pin 2. set it up so that an interrupt is raised on both leading and trailing edge ...
Yan Seiner
cptdondo Offline Send Email
Dec 1, 2005
10:55 pm

You'll absolutely need the Cirrus Logic Data Sheets for this. Although there may be a link on some of the technologic stuff, you should probably just google...
Andy Gryc
andygryc Offline Send Email
Dec 2, 2005
1:05 am

... Why? What's wrong with just a couple of resistors or zener and resistor? Jim...
Jim Jackson
jimbox51 Offline Send Email
Dec 2, 2005
10:57 am

... Well, because the IR sensor I need runs off of 5V; if I can get 5V TTL then it's just a matter of hooking it up... Otherwise, I will need more components...
Yan Seiner
cptdondo Offline Send Email
Dec 2, 2005
9:40 pm

... resistor? ... Yan, It looks like the Vishay part is a remote control receiver/ demodulator. All you need to do to "condition" the signal is to use a ...
Jamey
butteris Offline Send Email
Dec 2, 2005
10:11 pm

... Fine run the power line from the 5V line. ... Yes. As I said just use a couple of resistors or a resistor and zener to limit the output to 3.3v and feed to...
Jim Jackson
jimbox51 Offline Send Email
Dec 3, 2005
10:33 am
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help