2020/11/25 06:36:26
_dex
Why when I select some of the pins to my SPI1 interface they make entire row orange and the last two  make not?
Entire row orange means for me it was selected and no other pin can be mapped again, but last two makes only green Padlock. Is this a bug or what does it mean?
I recorder video:
 
https://autode.sk/37a0pbB
2020/11/25 08:17:43
du00000001
Look at the "Direction" column:
  • How would you assign multiple pins to a single input signal ?
And to answer your question: the only bug is the bbkac.
2020/11/25 08:23:12
_dex
that is clear for me, so why after selecting last two pins entire rows goes not in to orange?
 
Does it mean that I can route for example MOSI (SDO1)signal to more than one pin, two pins parallel?
2020/11/25 08:36:34
du00000001
_dex
that is clear for me, so why after selecting last two pins entire rows goes not in to orange?
 
Does it mean that I can route for example MOSI signal to more than one pin, two pins parallel?



Obviously, nothing (or not much) is clear for you: the last 2 pins are output signals. You basically could attach multiple output pins to the same signal - irrespective whether this does really make sense or not. (And most likely without considerations about the fan-out of the signal source.)
2020/11/25 13:27:38
_dex
What is a problem actually to connect two pins to one input? I do not see any when you drive signals to these pins via diodes you get nice OR function.
2020/11/25 14:37:22
ric
_dex
What is a problem actually to connect two pins to one input? I do not see any when you drive signals to these pins via diodes you get nice OR function.

That is not how the function is implemented inside the PIC.
For input signals, there is a multiplexer which is programmed to select ONE of its inputs to the peripheral's input.
That means MCC will only let you select ONE signal to connect to.
You can drive as many output pins as you want from a peripheral output signal.
Read the PIC datasheet to see how the PPS mapping is controlled, and this will become plain to you.
 
2020/11/25 15:22:39
du00000001
_dex
What is a problem actually to connect two pins to one input? I do not see any when you drive signals to these pins via diodes you get nice OR function.



Obviously you know nothing or next-to-nothing (I bet on the former) about signal theory etc.:
While it is possible to connect several signal sinks to a single signal source, it is just impossible to connect a signal sink to more than one signal source.
In other words: when you'd connect an internal signal to 2 different input pins: the signal from which of these 2 pins do you expect to be processed further ?
2020/11/25 15:46:07
Mysil
Hi,
The input signal selector in PPS, is a 1 out of N selector/multiplexer.
See Wikipedia: https://en.wikipedia.org/wiki/Multiplexer
Each input selector belong to a input signal of a peripheral, and can only select one signal at a time.
If you have made a mistake, or want to change a selection,
then you may click on the green 'lock' icon, to unlock the selection, and select something else.
 
You may select the same pin as input for another peripheral.
And you may select a pin that have been set as output for one signal, as input for another peripheral.
Such a selection will show up with a 'Chainlink' icon.
 
Fan-out of pin signals isn't so much of a concern with cmos logic.
Each pin have it's own output driver amplifier, so the signal passed by PPS multiplexer is only control signal,
not pin output current.
Anyway, all signals that may be selected, are permantly connected to all the multiplexer inputs that may use it,
so wether two different multiplexers select the same signal, do not matter.
 
Also, each pin have it's own input buffer, feeding signals to all the multiplexers that may use the signal.
 
There have been bugs and unnessary limitations in MCC pin setup.
Among other in connection with Oscillator pins. The crystal oscillator amplifiers for Primary crystal oscillator,
and for Secondary Crystal Oscillator, are essentially analog amplifiers with some gain control and other tricks,
and have nothing to do with digital tristate output setting.
Crystal oscillator circuits have its own control over the pin drivers, 
so override eventual setup mistake made by MCC.
This seem to have become better in the latest version of MCC.
 
    Mysil
 
 
 
2020/11/25 16:21:51
RISC
Hi,
MCC tutorials : https://microchipdeveloper.com/mcc:start 
Regards
2020/11/26 01:14:02
_dex
du00000001
 
In other words: when you'd connect an internal signal to 2 different input pins: the signal from which of these 2 pins do you expect to be processed further ?

I hope you know how the OR function can be done on two EXTERNAL diodes. If not check electrical engineering basics then it will be clear, signal theory is not even needed.
 
I had simple question why it is not becoming orange. Thanks for the link but developers site i checked before posting this topic and it was not described there. Best answer have been marked, thanks to all for the clarification.
12
© 2021 APG vNext Commercial Version 4.5

Use My Existing Forum Account