Simple questions about SmartPin configurations

rjo__rjo__ Posts: 2,076
edited 2019-11-30 - 18:02:32 in Propeller 2
Except for setting up the SmartPins, I honestly believe that the easiest language to learn and most efficient to use will always be P2PASM. It is such a joy and simple that it is hard to not recommend it as the first choice for a new user with any experience at all... except for the SmartPins.

I simply cannot read the documentation. Every time I try, I end up crying out for help. Which always arrives in the nick of time, but eventually you guys are going to get tired of answering SmartPin questions.

So... here goes: My investigation into whether or not an easy SmartPin configurator can be written....by me:)

Questions:

Is there a bit or bits which says "you're an output or you're an input"
Is there a bit or bits which says "you are digital" or "you are analog"

thanks

Rich

Comments

  • cgraceycgracey Posts: 11,954
    edited 2019-11-30 - 18:43:05
    The five-bit smart pin mode should correlate with the 13-bit low-level pin configuration for things like DAC and ADC functions, as well as input and output functions.
  • That's what I mean:)

    You are speaking English. I'm hearing Greek as translated by a Russian as told to a Latvian.

    I'm guessing that your answer is "no."

    I used to invoke "for anyone but Chip" because it really upsets me to use any of your time.

    I'll get there... let the other guys chime in.

    Thanks

  • evanhevanh Posts: 8,400
    edited 2019-12-01 - 02:05:18
    I've written a couple of assistant docs to go with the main I/O and smartpins section in Chip's google doc. First one covers the config bits for custom pin modes, largely independent of smartpins. I know it probably also needs more verbose descriptions for each mode. Let me know if it helps - https://forums.parallax.com/discussion/comment/1452036/#Comment_1452036

    The other one is re-labelling the smartpin counter modes in general terms - https://forums.parallax.com/discussion/comment/1482243/#Comment_1482243

    EDIT: I also had a shot at making a block diagram of the I/O functions - https://forums.parallax.com/discussion/comment/1473762/#Comment_1473762

    We have the vastness of the internet and yet billions of people decided to spend most of their time within a horribly designed, fake-news emporium of a website that sucks every possible piece of personal information out of you so it can sell it to others. And they see nothing wrong with that.
  • Thank you EvanH. I took a look just to see what was there. I'm going to have to go back and study it.
    The "Figuator" that I was thinking about was a Boolean exercise. Now it looks as though it is going to be a series of switch buttons and fill in the blanks. The end result will be a P2Pasm prototype. It isn't real high on my list right now, but a little each day should get me there by February.

  • evanhevanh Posts: 8,400
    edited 2019-12-01 - 06:59:34
    A little trivia: There is 128 DAC channels (4x8 cogs + 4x8 streamers + 64 smartpins) feeding 64 DACs that can be muxed in 1088 ways. EDIT; Err, maybe that's not very realistic since the cog/streamer muxing is done in groups of four. So, more like 8 cogs x 16 four-channel groups x 2 for streamers + 64 smartpins = 320 ways.
    We have the vastness of the internet and yet billions of people decided to spend most of their time within a horribly designed, fake-news emporium of a website that sucks every possible piece of personal information out of you so it can sell it to others. And they see nothing wrong with that.
  • evanhevanh Posts: 8,400
    edited 2019-12-01 - 14:10:23
    [deleted] Updated smartpin counter modes in other topic instead
    We have the vastness of the internet and yet billions of people decided to spend most of their time within a horribly designed, fake-news emporium of a website that sucks every possible piece of personal information out of you so it can sell it to others. And they see nothing wrong with that.
  • evanh,

    you are wonderful.

    thanks
Sign In or Register to comment.