Smartpin Diagram (now with %P..P bit mode table)
Rayman
Posts: 14,385
I took a stab at rendering Evanh's ascii art smartpin diagram.
Take a look. I'm open to any suggestions for improvement.
I don't fully understand it yet, but maybe this will help...
Update: Other moved and dac bus select output signals renamed
Update2: After input from Chip
Update3: Added enable for DAC output
Update4: Moved OUT back where it was and added in direct lines to +1 and -1 inputs between pins.
Update5: Added even/odd barrier and labels
Update6: Added USB notes
Update7: Changed feedback to a branch of input
Update8: Relocated "PinA" etc. and renamed Smart_A/B inputs and revised title.
Update9. Removed OutIn and split Out to take it's place.
Update10: Also have a %P..P table.
Update 11: @evanh reminded me to update the diagram here.
Get higher res version here: https://forums.parallax.com/discussion/download/137264/Slide1.PNG
Take a look. I'm open to any suggestions for improvement.
I don't fully understand it yet, but maybe this will help...
Update: Other moved and dac bus select output signals renamed
Update2: After input from Chip
Update3: Added enable for DAC output
Update4: Moved OUT back where it was and added in direct lines to +1 and -1 inputs between pins.
Update5: Added even/odd barrier and labels
Update6: Added USB notes
Update7: Changed feedback to a branch of input
Update8: Relocated "PinA" etc. and renamed Smart_A/B inputs and revised title.
Update9. Removed OutIn and split Out to take it's place.
Update10: Also have a %P..P table.
Update 11: @evanh reminded me to update the diagram here.
Get higher res version here: https://forums.parallax.com/discussion/download/137264/Slide1.PNG
Comments
At first I thought the diagram was on http://www.rayslogic.com/ but no it is another of those forum tricks!
Perhaps the words could be edited to "Take a look at the attachment below."
Excellent diagram.
This needs to find its way into the "official" P2 documentation.
EDIT: Mainly the following:
- "Other" path, was a toss up as how it selects and routes. I've gone with within the custom I/O ring but the T block was another option.
- OUT looped back to the F block is impacted by DIR if I remember correctly. And is independent of SMART_OUT. This is why I've got it going through the T block first. Relatedly, I've made up the terms driveH/driveL to show a distinction from OUT/DIR. I have no idea if those are representative or not.
I think cog0...cog7, RND, driveH, driveL are all busses, right?
Maybe I should make them thicker to show this...
I didn't remember there being a difference between even and odd pins except for stuff like USB.
What is this RND signal that only goes to the even pin? What mode uses that?
And, what is the purpose of the inverter that goes to the odd pin?
"Other" is the main difference now between odd and even pins. The ADC pairing has been removed. I've not tried to use "other" for anything yet. I'm guessing it's mainly for differential output which presumably USB mode uses.
Using the RND bit is the alternate pin arrangement for "other". It's simply one bit of the free-running random number hardware in the hub. A different bit for each pin I think, only 32 pins need it.
EDIT: There is also the comparator making use of pin pairs.
EDIT: Doh! I've not updated my forum edition ... corrected - https://forums.parallax.com/discussion/comment/1473762/#Comment_1473762
PS: The typo was simply a result of text block copying and forgetting to edit it.
BTW: Isn't it %TT that selects other? Should that be included somehow?
Update: Fixed even/odd issue
On that note, DIR and OUT as listed in that table will be as presented to the custom ring rather than as they are at the cogs. So the driveH/L signals I've got will be bogus.
PNG link - https://forums.parallax.com/discussion/169241/new-pin-instructions/p1
EDIT: Ah! I've got "other" completely wrong. The docs say "for odd pins, ‘OTHER’ = NOT lower(even) pin’s output state (diff source)". I had took that to mean the physical pin drive but "output state" is more likely to mean the OUT at the custom pin interface. Time for a rework ...
Great diagram
Evan,
Is it the PinB to each comparator that has been cut in RevC silicon? If so, perhaps you and Ray can mark this on both drawings
No.
Not true.
Fifteen years of hearing these attacks.
Siemens is very good about emergency license activation.
If licenses get corrupted the machine still runs. Their software is inexpensive if you actually buy parts from them. Development software (everything) was $2000 per year to keep up to date.
They were very good about getting out patches, and their hotline is free (unlike the other big name)
If you buy the floating license it never expires.
I might have to try that. Will install new 1GB download now and see what happens.
Nothing happens if you stop paying other than you can't use the license on the newer major version. But you never lose what you have.
I'm sure somebody help if you can define the issue a little better.
Were there any hard copy printouts? Sometimes i'd print my schematics to pdf for review by someone else or as a sanity check.