Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB


Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | BasicX | BX35 ATN confusion, and some other BX35 stuff

Discussion forum for the BasicX family of microcontroller chips.

BX35 ATN confusion, and some other BX35 stuff - andrewflys - Jul 21 20:36:00 2002

Hi all,

I have had a successful time with the LS7166 encoder counter and
have it working nicely with the BX24. As I want to have about 10 of
them hanging off the end of a BX, I needed to move to the BX35 and
use a few more pins.

Now I am sure folk have griped about this before, but the BX35 is
not the most documented puppy in the Netmedia doghouse. I didn't
worry about it too much. I just pushed on... and tried to assemble
it its component friends on a big bit of veroboard, foreever casting
off the handy development board. Most of the problems I had are my
own ineptitude, but some of it appears to be reasonable confusion.

AT25256 EPROM:

My first stupid error, I looked at the BX01 board diagrams and
placed a 100K resistor to 5v on CS. This worked very erratically
and most not at all. Whole thing would lock up - you could download
to it, but it would never get up and run after you reset it or
cycled power to it. Lesson: check the development board diagrams -
no 100K on that one.

Inverting the RX and TX using a 74HCT04:

I remember seeing an post from a month or two back where someone
commented that you had to use one to have it work serially. Well, I
have a socket with no chip 7404 in it and a few little wires pushed
into the holes. Unlike the BX24, no hex inverter required to talk
to the BX35 serially.

Hold Reset High:

You need to hold the reset line high if you want the chip to start
reliably when you power it up. This one I get -10 points for not
realizing about 2 days ago. I am not using the little hex inverter
trick used on the dev board (I am just tying it high), but I will
most likely eventually give it a go at some stage.

ATN and ATN-1?:

I want to be able to download new code occasionally so I hooked up
the DTR line to ATN (pin 2 on the BX35). I jumpered it so that I
could remove it for when I don't want to download it no more
(sometime in 2050). The trick was, I took the jumper off and it
locked up. Also, if I tried to download (with it on), it got ACK1,
but never makes it to ACK2. Very strange.

Once again, back to the dev board diagram and (duh, again) a few
resistors are required. A 10K to ground on the ATN pin itself and
another going to "ATN-1" with 100K on the front of it. "ATN-1"
according to the dev board diagram is pin 16, the first of the two
interrupt pins on the BX35. In the hardware guide, this ATN-1 is
not even mentioned. The dev board diagram shows that this is only
used for the BX35 (not BX24 or 01).

I took one look at that and though "I'll just stick the 10K to
ground in". Low and behold, I can take the jumper off and have it
continue running. But I have happily killed off any capacity to
download at all (just keeps retrying). So it looks like the 100K is
necessary, but on "ATN-1" (pin 16). I checked ATN (pin 2)against
the jumper on the dev board and found rather than having 0K
resistance (it is supposed to be direct connect), it had 100K. I
checked the ATN-1 pin and it appears to have nothing to do with ATN
as a whole (infinite resistance). "What in the world is going on
here?". Maybe they have wired ATN with 100K and a 10K to ground.
Maybe I have no idea anymore (more likely).

So, this is actually a plea to two sets of folks:

1. Anyone who has got the BX35 happily running as per the dev board
on anything other than a dev board - please share you experiences.
If you can please explain the ATN thang, I will be very grateful.

2. To Netmedia folk: dumb bums such as myself could do with a
little more documentation on what a default setup for a BX35 should
look like!

Keep smilin' all.

Andrew



______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Re: BX35 ATN confusion, and some other BX35 stuff - kj62 - Jul 22 8:38:00 2002

Andrew: What is the LS7166 encoder counter, can it be used to count multiple shaft rpms?? Thanks
Kevin

--- In basicx@y..., "andrewflys" <andrewflys@y...> wrote:
> Hi all,
>
> I have had a successful time with the LS7166 encoder counter and
> have it working nicely with the BX24. As I want to have about 10 of
> them hanging off the end of a BX, I needed to move to the BX35 and
> use a few more pins.
>
> Now I am sure folk have griped about this before, but the BX35 is
> not the most documented puppy in the Netmedia doghouse. I didn't
> worry about it too much. I just pushed on... and tried to assemble
> it its component friends on a big bit of veroboard, foreever casting
> off the handy development board. Most of the problems I had are my
> own ineptitude, but some of it appears to be reasonable confusion.
>
> AT25256 EPROM:
>
> My first stupid error, I looked at the BX01 board diagrams and
> placed a 100K resistor to 5v on CS. This worked very erratically
> and most not at all. Whole thing would lock up - you could download
> to it, but it would never get up and run after you reset it or
> cycled power to it. Lesson: check the development board diagrams -
> no 100K on that one.
>
> Inverting the RX and TX using a 74HCT04:
>
> I remember seeing an post from a month or two back where someone
> commented that you had to use one to have it work serially. Well, I
> have a socket with no chip 7404 in it and a few little wires pushed
> into the holes. Unlike the BX24, no hex inverter required to talk
> to the BX35 serially.
>
> Hold Reset High:
>
> You need to hold the reset line high if you want the chip to start
> reliably when you power it up. This one I get -10 points for not
> realizing about 2 days ago. I am not using the little hex inverter
> trick used on the dev board (I am just tying it high), but I will
> most likely eventually give it a go at some stage.
>
> ATN and ATN-1?:
>
> I want to be able to download new code occasionally so I hooked up
> the DTR line to ATN (pin 2 on the BX35). I jumpered it so that I
> could remove it for when I don't want to download it no more
> (sometime in 2050). The trick was, I took the jumper off and it
> locked up. Also, if I tried to download (with it on), it got ACK1,
> but never makes it to ACK2. Very strange.
>
> Once again, back to the dev board diagram and (duh, again) a few
> resistors are required. A 10K to ground on the ATN pin itself and
> another going to "ATN-1" with 100K on the front of it. "ATN-1"
> according to the dev board diagram is pin 16, the first of the two
> interrupt pins on the BX35. In the hardware guide, this ATN-1 is
> not even mentioned. The dev board diagram shows that this is only
> used for the BX35 (not BX24 or 01).
>
> I took one look at that and though "I'll just stick the 10K to
> ground in". Low and behold, I can take the jumper off and have it
> continue running. But I have happily killed off any capacity to
> download at all (just keeps retrying). So it looks like the 100K is
> necessary, but on "ATN-1" (pin 16). I checked ATN (pin 2)against
> the jumper on the dev board and found rather than having 0K
> resistance (it is supposed to be direct connect), it had 100K. I
> checked the ATN-1 pin and it appears to have nothing to do with ATN
> as a whole (infinite resistance). "What in the world is going on
> here?". Maybe they have wired ATN with 100K and a 10K to ground.
> Maybe I have no idea anymore (more likely).
>
> So, this is actually a plea to two sets of folks:
>
> 1. Anyone who has got the BX35 happily running as per the dev board
> on anything other than a dev board - please share you experiences.
> If you can please explain the ATN thang, I will be very grateful.
>
> 2. To Netmedia folk: dumb bums such as myself could do with a
> little more documentation on what a default setup for a BX35 should
> look like!
>
> Keep smilin' all.
>
> Andrew





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: BX35 ATN confusion, and some other BX35 stuff - andrewflys - Jul 22 8:49:00 2002

Kevin,

I am referring to the US Digital/LSI LS7166 (check out
www.usdigital.com). It is a 24 bit counter for encoders with a 8 bit
interface. It has various modes (x1, x4 etc). I am using it for
radio dials and instrument adjustments (pretty low speed stuff) but
it is really designed for higher speed applications. Because you can
chip select them, you can hang a whole lot of the same set 12 pins (8
data bus, 4 or so for control). Hence my using a BX35 to get extra
pins. I have had one counting issue with it, but this still might be
me... The LS7166 is not a cheap chip - about $10 from US Digital. There
are other alternatives (the HCT2000 or something like it, a Agilent
chip) which you can look at, but the 7166 was less scary for me than
the other counting alternatives and I got it to work with the BX24
first time (read: extremely lucky).

Andrew --- In basicx@y..., "kj62" <kj62@y...> wrote:
> Andrew: What is the LS7166 encoder counter, can it be used to count
multiple shaft rpms?? Thanks
> Kevin >
>
> --- In basicx@y..., "andrewflys" <andrewflys@y...> wrote:
> > Hi all,
> >
> > I have had a successful time with the LS7166 encoder counter and
> > have it working nicely with the BX24. As I want to have about 10
of
> > them hanging off the end of a BX, I needed to move to the BX35
and
> > use a few more pins.
> >
> > Now I am sure folk have griped about this before, but the BX35 is
> > not the most documented puppy in the Netmedia doghouse. I
didn't
> > worry about it too much. I just pushed on... and tried to
assemble
> > it its component friends on a big bit of veroboard, foreever
casting
> > off the handy development board. Most of the problems I had are
my
> > own ineptitude, but some of it appears to be reasonable confusion.
> >
> > AT25256 EPROM:
> >
> > My first stupid error, I looked at the BX01 board diagrams and
> > placed a 100K resistor to 5v on CS. This worked very erratically
> > and most not at all. Whole thing would lock up - you could
download
> > to it, but it would never get up and run after you reset it or
> > cycled power to it. Lesson: check the development board
diagrams -
> > no 100K on that one.
> >
> > Inverting the RX and TX using a 74HCT04:
> >
> > I remember seeing an post from a month or two back where someone
> > commented that you had to use one to have it work serially.
Well, I
> > have a socket with no chip 7404 in it and a few little wires
pushed
> > into the holes. Unlike the BX24, no hex inverter required to
talk
> > to the BX35 serially.
> >
> > Hold Reset High:
> >
> > You need to hold the reset line high if you want the chip to
start
> > reliably when you power it up. This one I get -10 points for not
> > realizing about 2 days ago. I am not using the little hex
inverter
> > trick used on the dev board (I am just tying it high), but I will
> > most likely eventually give it a go at some stage.
> >
> > ATN and ATN-1?:
> >
> > I want to be able to download new code occasionally so I hooked
up
> > the DTR line to ATN (pin 2 on the BX35). I jumpered it so that I
> > could remove it for when I don't want to download it no more
> > (sometime in 2050). The trick was, I took the jumper off and it
> > locked up. Also, if I tried to download (with it on), it got
ACK1,
> > but never makes it to ACK2. Very strange.
> >
> > Once again, back to the dev board diagram and (duh, again) a few
> > resistors are required. A 10K to ground on the ATN pin itself
and
> > another going to "ATN-1" with 100K on the front of it. "ATN-1"
> > according to the dev board diagram is pin 16, the first of the
two
> > interrupt pins on the BX35. In the hardware guide, this ATN-1 is
> > not even mentioned. The dev board diagram shows that this is
only
> > used for the BX35 (not BX24 or 01).
> >
> > I took one look at that and though "I'll just stick the 10K to
> > ground in". Low and behold, I can take the jumper off and have
it
> > continue running. But I have happily killed off any capacity to
> > download at all (just keeps retrying). So it looks like the 100K
is
> > necessary, but on "ATN-1" (pin 16). I checked ATN (pin 2)against
> > the jumper on the dev board and found rather than having 0K
> > resistance (it is supposed to be direct connect), it had 100K. I
> > checked the ATN-1 pin and it appears to have nothing to do with
ATN
> > as a whole (infinite resistance). "What in the world is going on
> > here?". Maybe they have wired ATN with 100K and a 10K to
ground.
> > Maybe I have no idea anymore (more likely).
> >
> > So, this is actually a plea to two sets of folks:
> >
> > 1. Anyone who has got the BX35 happily running as per the dev
board
> > on anything other than a dev board - please share you
experiences.
> > If you can please explain the ATN thang, I will be very grateful.
> >
> > 2. To Netmedia folk: dumb bums such as myself could do with a
> > little more documentation on what a default setup for a BX35
should
> > look like!
> >
> > Keep smilin' all.
> >
> > Andrew


______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Re: BX35 ATN confusion, and some other BX35 stuff - twesthoff - Jul 22 8:56:00 2002

Andrew,
I'm not sure of your actual application, but from what I see you can
easily select more chips using the BX-24 by using a 74HC154 Binary to
decimal decoder chip. One of these will allow you to select 16 chips
with just 4 output pins. It converts a 4-bit binary number to one
output per binary input combination. They are not too expensive.
See: http://www.fairchildsemi.com/pf/MM/MM74HC154.html

I hpe this helps you...
Tom

andrewflys wrote:

> Kevin,
>
> I am referring to the US Digital/LSI LS7166 (check out
> www.usdigital.com). It is a 24 bit counter for encoders with a 8 bit
> interface. It has various modes (x1, x4 etc). I am using it for
> radio dials and instrument adjustments (pretty low speed stuff) but
> it is really designed for higher speed applications. Because you can
> chip select them, you can hang a whole lot of the same set 12 pins (8
> data bus, 4 or so for control). Hence my using a BX35 to get extra
> pins. I have had one counting issue with it, but this still might be
> me... > The LS7166 is not a cheap chip - about $10 from US Digital. There
> are other alternatives (the HCT2000 or something like it, a Agilent
> chip) which you can look at, but the 7166 was less scary for me than
> the other counting alternatives and I got it to work with the BX24
> first time (read: extremely lucky).
>
> Andrew > --- In basicx@y..., "kj62" <kj62@y...> wrote:
> > Andrew: What is the LS7166 encoder counter, can it be used to count
> multiple shaft rpms?? Thanks
> > Kevin
> >
> >
> >
> >
> > --- In basicx@y..., "andrewflys" <andrewflys@y...> wrote:
> > > Hi all,
> > >
> > > I have had a successful time with the LS7166 encoder counter and
> > > have it working nicely with the BX24. As I want to have about 10
> of
> > > them hanging off the end of a BX, I needed to move to the BX35
> and
> > > use a few more pins.
> > >
> > > Now I am sure folk have griped about this before, but the BX35 is
> > > not the most documented puppy in the Netmedia doghouse. I
> didn't
> > > worry about it too much. I just pushed on... and tried to
> assemble
> > > it its component friends on a big bit of veroboard, foreever
> casting
> > > off the handy development board. Most of the problems I had are
> my
> > > own ineptitude, but some of it appears to be reasonable confusion.
>
> > >
> > > AT25256 EPROM:
> > >
> > > My first stupid error, I looked at the BX01 board diagrams and
> > > placed a 100K resistor to 5v on CS. This worked very erratically
> > > and most not at all. Whole thing would lock up - you could
> download
> > > to it, but it would never get up and run after you reset it or
> > > cycled power to it. Lesson: check the development board
> diagrams -
> > > no 100K on that one.
> > >
> > > Inverting the RX and TX using a 74HCT04:
> > >
> > > I remember seeing an post from a month or two back where someone
> > > commented that you had to use one to have it work serially.
> Well, I
> > > have a socket with no chip 7404 in it and a few little wires
> pushed
> > > into the holes. Unlike the BX24, no hex inverter required to
> talk
> > > to the BX35 serially.
> > >
> > > Hold Reset High:
> > >
> > > You need to hold the reset line high if you want the chip to
> start
> > > reliably when you power it up. This one I get -10 points for not
> > > realizing about 2 days ago. I am not using the little hex
> inverter
> > > trick used on the dev board (I am just tying it high), but I will
> > > most likely eventually give it a go at some stage.
> > >
> > > ATN and ATN-1?:
> > >
> > > I want to be able to download new code occasionally so I hooked
> up
> > > the DTR line to ATN (pin 2 on the BX35). I jumpered it so that I
> > > could remove it for when I don't want to download it no more
> > > (sometime in 2050). The trick was, I took the jumper off and it
> > > locked up. Also, if I tried to download (with it on), it got
> ACK1,
> > > but never makes it to ACK2. Very strange.
> > >
> > > Once again, back to the dev board diagram and (duh, again) a few
> > > resistors are required. A 10K to ground on the ATN pin itself
> and
> > > another going to "ATN-1" with 100K on the front of it. "ATN-1"
> > > according to the dev board diagram is pin 16, the first of the
> two
> > > interrupt pins on the BX35. In the hardware guide, this ATN-1 is
> > > not even mentioned. The dev board diagram shows that this is
> only
> > > used for the BX35 (not BX24 or 01).
> > >
> > > I took one look at that and though "I'll just stick the 10K to
> > > ground in". Low and behold, I can take the jumper off and have
> it
> > > continue running. But I have happily killed off any capacity to
> > > download at all (just keeps retrying). So it looks like the 100K
> is
> > > necessary, but on "ATN-1" (pin 16). I checked ATN (pin 2)against
> > > the jumper on the dev board and found rather than having 0K
> > > resistance (it is supposed to be direct connect), it had 100K. I
> > > checked the ATN-1 pin and it appears to have nothing to do with
> ATN
> > > as a whole (infinite resistance). "What in the world is going on
> > > here?". Maybe they have wired ATN with 100K and a 10K to
> ground.
> > > Maybe I have no idea anymore (more likely).
> > >
> > > So, this is actually a plea to two sets of folks:
> > >
> > > 1. Anyone who has got the BX35 happily running as per the dev
> board
> > > on anything other than a dev board - please share you
> experiences.
> > > If you can please explain the ATN thang, I will be very grateful.
> > >
> > > 2. To Netmedia folk: dumb bums such as myself could do with a
> > > little more documentation on what a default setup for a BX35
> should
> > > look like!
> > >
> > > Keep smilin' all.
> > >
> > > Andrew > Yahoo! Groups Sponsor
ADVERTISEMENT > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed]



______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: BX35 ATN confusion, and some other BX35 stuff - andrewflys - Jul 22 14:40:00 2002

Tom,

Well, if I can't the BX35 to behave itself, I might have to! Thanks
for tip.

Andrew --- In basicx@y..., twesthoff <twesthoff@f...> wrote:
> Andrew,
> I'm not sure of your actual application, but from what I see you can
> easily select more chips using the BX-24 by using a 74HC154 Binary
to
> decimal decoder chip. One of these will allow you to select 16
chips
> with just 4 output pins. It converts a 4-bit binary number to one
> output per binary input combination. They are not too expensive.
> See: http://www.fairchildsemi.com/pf/MM/MM74HC154.html
>
> I hpe this helps you...
> Tom
>
> andrewflys wrote:
>
> > Kevin,
> >
> > I am referring to the US Digital/LSI LS7166 (check out
> > www.usdigital.com). It is a 24 bit counter for encoders with a 8
bit
> > interface. It has various modes (x1, x4 etc). I am using it for
> > radio dials and instrument adjustments (pretty low speed stuff)
but
> > it is really designed for higher speed applications. Because you
can
> > chip select them, you can hang a whole lot of the same set 12
pins (8
> > data bus, 4 or so for control). Hence my using a BX35 to get
extra
> > pins. I have had one counting issue with it, but this still
might be
> > me...
> >
> >
> > The LS7166 is not a cheap chip - about $10 from US Digital. There
> > are other alternatives (the HCT2000 or something like it, a
Agilent
> > chip) which you can look at, but the 7166 was less scary for me
than
> > the other counting alternatives and I got it to work with the BX24
> > first time (read: extremely lucky).
> >
> > Andrew
> >
> >
> > --- In basicx@y..., "kj62" <kj62@y...> wrote:
> > > Andrew: What is the LS7166 encoder counter, can it be used to
count
> > multiple shaft rpms?? Thanks
> > > Kevin
> > >
> > >
> > >
> > >
> > > --- In basicx@y..., "andrewflys" <andrewflys@y...> wrote:
> > > > Hi all,
> > > >
> > > > I have had a successful time with the LS7166 encoder counter
and
> > > > have it working nicely with the BX24. As I want to have
about 10
> > of
> > > > them hanging off the end of a BX, I needed to move to the BX35
> > and
> > > > use a few more pins.
> > > >
> > > > Now I am sure folk have griped about this before, but the
BX35 is
> > > > not the most documented puppy in the Netmedia doghouse. I
> > didn't
> > > > worry about it too much. I just pushed on... and tried to
> > assemble
> > > > it its component friends on a big bit of veroboard, foreever
> > casting
> > > > off the handy development board. Most of the problems I had
are
> > my
> > > > own ineptitude, but some of it appears to be reasonable
confusion.
> >
> > > >
> > > > AT25256 EPROM:
> > > >
> > > > My first stupid error, I looked at the BX01 board diagrams and
> > > > placed a 100K resistor to 5v on CS. This worked very
erratically
> > > > and most not at all. Whole thing would lock up - you could
> > download
> > > > to it, but it would never get up and run after you reset it or
> > > > cycled power to it. Lesson: check the development board
> > diagrams -
> > > > no 100K on that one.
> > > >
> > > > Inverting the RX and TX using a 74HCT04:
> > > >
> > > > I remember seeing an post from a month or two back where
someone
> > > > commented that you had to use one to have it work serially.
> > Well, I
> > > > have a socket with no chip 7404 in it and a few little wires
> > pushed
> > > > into the holes. Unlike the BX24, no hex inverter required to
> > talk
> > > > to the BX35 serially.
> > > >
> > > > Hold Reset High:
> > > >
> > > > You need to hold the reset line high if you want the chip to
> > start
> > > > reliably when you power it up. This one I get -10 points for
not
> > > > realizing about 2 days ago. I am not using the little hex
> > inverter
> > > > trick used on the dev board (I am just tying it high), but I
will
> > > > most likely eventually give it a go at some stage.
> > > >
> > > > ATN and ATN-1?:
> > > >
> > > > I want to be able to download new code occasionally so I
hooked
> > up
> > > > the DTR line to ATN (pin 2 on the BX35). I jumpered it so
that I
> > > > could remove it for when I don't want to download it no more
> > > > (sometime in 2050). The trick was, I took the jumper off and
it
> > > > locked up. Also, if I tried to download (with it on), it got
> > ACK1,
> > > > but never makes it to ACK2. Very strange.
> > > >
> > > > Once again, back to the dev board diagram and (duh, again) a
few
> > > > resistors are required. A 10K to ground on the ATN pin itself
> > and
> > > > another going to "ATN-1" with 100K on the front of it. "ATN-
1"
> > > > according to the dev board diagram is pin 16, the first of the
> > two
> > > > interrupt pins on the BX35. In the hardware guide, this ATN-
1 is
> > > > not even mentioned. The dev board diagram shows that this is
> > only
> > > > used for the BX35 (not BX24 or 01).
> > > >
> > > > I took one look at that and though "I'll just stick the 10K to
> > > > ground in". Low and behold, I can take the jumper off and
have
> > it
> > > > continue running. But I have happily killed off any capacity
to
> > > > download at all (just keeps retrying). So it looks like the
100K
> > is
> > > > necessary, but on "ATN-1" (pin 16). I checked ATN (pin 2)
against
> > > > the jumper on the dev board and found rather than having 0K
> > > > resistance (it is supposed to be direct connect), it had
100K. I
> > > > checked the ATN-1 pin and it appears to have nothing to do
with
> > ATN
> > > > as a whole (infinite resistance). "What in the world is
going on
> > > > here?". Maybe they have wired ATN with 100K and a 10K to
> > ground.
> > > > Maybe I have no idea anymore (more likely).
> > > >
> > > > So, this is actually a plea to two sets of folks:
> > > >
> > > > 1. Anyone who has got the BX35 happily running as per the dev
> > board
> > > > on anything other than a dev board - please share you
> > experiences.
> > > > If you can please explain the ATN thang, I will be very
grateful.
> > > >
> > > > 2. To Netmedia folk: dumb bums such as myself could do with a
> > > > little more documentation on what a default setup for a BX35
> > should
> > > > look like!
> > > >
> > > > Keep smilin' all.
> > > >
> > > > Andrew
> >
> >
> > Yahoo! Groups Sponsor
> ADVERTISEMENT
>
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service. > [Non-text portions of this message have been removed]



______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: BX35 ATN confusion, and some other BX35 stuff - andrewflys - Jul 22 23:25:00 2002

... and as for my original troubles, I got done by three (!) dry
solder joints. It is happily chatting serially back to me now.
Once you get it to behave itself, it is not too bad at all. :-)

Cheers,

Andrew

--- In basicx@y..., "andrewflys" <andrewflys@y...> wrote:
> Tom,
>
> Well, if I can't the BX35 to behave itself, I might have to!
Thanks
> for tip.
>
> Andrew > --- In basicx@y..., twesthoff <twesthoff@f...> wrote:
> > Andrew,
> > I'm not sure of your actual application, but from what I see you
can
> > easily select more chips using the BX-24 by using a 74HC154
Binary
> to
> > decimal decoder chip. One of these will allow you to select 16
> chips
> > with just 4 output pins. It converts a 4-bit binary number to
one
> > output per binary input combination. They are not too expensive.
> > See: http://www.fairchildsemi.com/pf/MM/MM74HC154.html
> >
> > I hpe this helps you...
> > Tom
> >
> > andrewflys wrote:
> >
> > > Kevin,
> > >
> > > I am referring to the US Digital/LSI LS7166 (check out
> > > www.usdigital.com). It is a 24 bit counter for encoders with
a 8
> bit
> > > interface. It has various modes (x1, x4 etc). I am using it
for
> > > radio dials and instrument adjustments (pretty low speed
stuff)
> but
> > > it is really designed for higher speed applications. Because
you
> can
> > > chip select them, you can hang a whole lot of the same set 12
> pins (8
> > > data bus, 4 or so for control). Hence my using a BX35 to get
> extra
> > > pins. I have had one counting issue with it, but this still
> might be
> > > me...
> > >
> > >
> > > The LS7166 is not a cheap chip - about $10 from US Digital.
There
> > > are other alternatives (the HCT2000 or something like it, a
> Agilent
> > > chip) which you can look at, but the 7166 was less scary for
me
> than
> > > the other counting alternatives and I got it to work with the
BX24
> > > first time (read: extremely lucky).
> > >
> > > Andrew
> > >
> > >
> > > --- In basicx@y..., "kj62" <kj62@y...> wrote:
> > > > Andrew: What is the LS7166 encoder counter, can it be used
to
> count
> > > multiple shaft rpms?? Thanks
> > > > Kevin
> > > >
> > > >
> > > >
> > > >
> > > > --- In basicx@y..., "andrewflys" <andrewflys@y...> wrote:
> > > > > Hi all,
> > > > >
> > > > > I have had a successful time with the LS7166 encoder
counter
> and
> > > > > have it working nicely with the BX24. As I want to have
> about 10
> > > of
> > > > > them hanging off the end of a BX, I needed to move to the
BX35
> > > and
> > > > > use a few more pins.
> > > > >
> > > > > Now I am sure folk have griped about this before, but the
> BX35 is
> > > > > not the most documented puppy in the Netmedia doghouse. I
> > > didn't
> > > > > worry about it too much. I just pushed on... and tried to
> > > assemble
> > > > > it its component friends on a big bit of veroboard,
foreever
> > > casting
> > > > > off the handy development board. Most of the problems I
had
> are
> > > my
> > > > > own ineptitude, but some of it appears to be reasonable
> confusion.
> > >
> > > > >
> > > > > AT25256 EPROM:
> > > > >
> > > > > My first stupid error, I looked at the BX01 board diagrams
and
> > > > > placed a 100K resistor to 5v on CS. This worked very
> erratically
> > > > > and most not at all. Whole thing would lock up - you could
> > > download
> > > > > to it, but it would never get up and run after you reset
it or
> > > > > cycled power to it. Lesson: check the development board
> > > diagrams -
> > > > > no 100K on that one.
> > > > >
> > > > > Inverting the RX and TX using a 74HCT04:
> > > > >
> > > > > I remember seeing an post from a month or two back where
> someone
> > > > > commented that you had to use one to have it work serially.
> > > Well, I
> > > > > have a socket with no chip 7404 in it and a few little
wires
> > > pushed
> > > > > into the holes. Unlike the BX24, no hex inverter required
to
> > > talk
> > > > > to the BX35 serially.
> > > > >
> > > > > Hold Reset High:
> > > > >
> > > > > You need to hold the reset line high if you want the chip
to
> > > start
> > > > > reliably when you power it up. This one I get -10 points
for
> not
> > > > > realizing about 2 days ago. I am not using the little hex
> > > inverter
> > > > > trick used on the dev board (I am just tying it high), but
I
> will
> > > > > most likely eventually give it a go at some stage.
> > > > >
> > > > > ATN and ATN-1?:
> > > > >
> > > > > I want to be able to download new code occasionally so I
> hooked
> > > up
> > > > > the DTR line to ATN (pin 2 on the BX35). I jumpered it so
> that I
> > > > > could remove it for when I don't want to download it no
more
> > > > > (sometime in 2050). The trick was, I took the jumper off
and
> it
> > > > > locked up. Also, if I tried to download (with it on), it
got
> > > ACK1,
> > > > > but never makes it to ACK2. Very strange.
> > > > >
> > > > > Once again, back to the dev board diagram and (duh, again)
a
> few
> > > > > resistors are required. A 10K to ground on the ATN pin
itself
> > > and
> > > > > another going to "ATN-1" with 100K on the front of
it. "ATN-
> 1"
> > > > > according to the dev board diagram is pin 16, the first of
the
> > > two
> > > > > interrupt pins on the BX35. In the hardware guide, this
ATN-
> 1 is
> > > > > not even mentioned. The dev board diagram shows that this
is
> > > only
> > > > > used for the BX35 (not BX24 or 01).
> > > > >
> > > > > I took one look at that and though "I'll just stick the
10K to
> > > > > ground in". Low and behold, I can take the jumper off and
> have
> > > it
> > > > > continue running. But I have happily killed off any
capacity
> to
> > > > > download at all (just keeps retrying). So it looks like
the
> 100K
> > > is
> > > > > necessary, but on "ATN-1" (pin 16). I checked ATN (pin 2)
> against
> > > > > the jumper on the dev board and found rather than having 0K
> > > > > resistance (it is supposed to be direct connect), it had
> 100K. I
> > > > > checked the ATN-1 pin and it appears to have nothing to do
> with
> > > ATN
> > > > > as a whole (infinite resistance). "What in the world is
> going on
> > > > > here?". Maybe they have wired ATN with 100K and a 10K to
> > > ground.
> > > > > Maybe I have no idea anymore (more likely).
> > > > >
> > > > > So, this is actually a plea to two sets of folks:
> > > > >
> > > > > 1. Anyone who has got the BX35 happily running as per the
dev
> > > board
> > > > > on anything other than a dev board - please share you
> > > experiences.
> > > > > If you can please explain the ATN thang, I will be very
> grateful.
> > > > >
> > > > > 2. To Netmedia folk: dumb bums such as myself could do
with a
> > > > > little more documentation on what a default setup for a
BX35
> > > should
> > > > > look like!
> > > > >
> > > > > Keep smilin' all.
> > > > >
> > > > > Andrew
> > >
> > >
> > > Yahoo! Groups Sponsor
> > ADVERTISEMENT
> >
> > >
> > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.
> >
> >
> > [Non-text portions of this message have been removed]




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )