Shop OBEX P1 Docs P2 Docs Learn Events
Question Activity Board — Parallax Forums

Question Activity Board

DiscoveryDiscovery Posts: 606
edited 2014-11-11 07:42 in Propeller 1
The ADC uses P(18), P(19), P(20), and P(21) to interface with the Propeller IC.

I am laying out traces for a printed circuit board using the 40 pin DIP version of the Propeller IC and would like to use Propeller pins P(0), P(1), P(2), and P(3).

Can this be easily accomplished?

How would one do this?

Discovery

Comments

  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-11-11 06:55
    Discovery wrote: »
    The ADC uses P(18), P(19), P(20), and P(21) to interface with the Propeller IC.

    I am laying out traces for a printed circuit board using the 40 pin DIP version of the Propeller IC and would like to use Propeller pins P(0), P(1), P(2), and P(3).

    Can this be easily accomplished?

    How would one do this?

    Discovery

    Because it is the Propeller chip and all I/O are essentially equal then there is no reason at all why you can't use these other I/O lines. You just need to specify them in the software of course but you can mix the pins around as suits. This is what I normally do with pcb designs, lay out the board dimensions to suit the enclosure, lay out the connectors along the edges where they are most practical, then fill in the rest and pretty much route them to the Prop pins that are convenient.
  • DiscoveryDiscovery Posts: 606
    edited 2014-11-11 07:42
    Good...so adc_init(3,2,1,0) should work perfectly well.

    Thanks,

    Discovery
Sign In or Register to comment.