Timeline for Grouping MCU pin connections
Current License: CC BY-SA 4.0
17 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 24, 2022 at 22:53 | vote | accept | Infinite_Maelstrom | ||
Nov 24, 2022 at 12:00 | history | tweeted | twitter.com/StackElectronix/status/1595749073973547009 | ||
Nov 24, 2022 at 9:48 | answer | added | Lundin | timeline score: 2 | |
Nov 24, 2022 at 6:26 | history | became hot network question | |||
Nov 23, 2022 at 23:13 | comment | added | Justme | Well that is a key part, PWM can disturb other digital and analog signals, especially those which have relatively high impedance. Any other fast signals? And what to do with the signals just depends on how they relate, if any. For example if you have 8 buttons and a LED for each button, you could have 8 inputs and 8 outputs, or group button and matching LED next to each other. But then it depends on if you need special pin features like pin change interrupt etc that may only be available on specific pins. | |
Nov 23, 2022 at 23:01 | comment | added | Infinite_Maelstrom | It is unlikely that the analog signals will disturb each other in this design, they will be changing very slowly (no more than 3V/sec). I will want to keep the GPIO outs away from everything since they'll be PWM, but that isn't a strong enough constraint to answer my question. | |
Nov 23, 2022 at 22:47 | history | edited | toolic | CC BY-SA 4.0 |
deleted 16 characters in body
|
Nov 23, 2022 at 22:46 | comment | added | Justme | That depends on if the analog signals can disturb each other or not. Or if they are sensitive so they get disturbed by digtal signals. You really don't give any reasons to do it in a specific way because of some reason. | |
Nov 23, 2022 at 22:45 | comment | added | Spehro 'speff' Pefhany | @Infinite_Maelstrom Why do you think the analog signals might better be separated? | |
Nov 23, 2022 at 22:45 | answer | added | Spehro 'speff' Pefhany | timeline score: 5 | |
Nov 23, 2022 at 22:36 | comment | added | Infinite_Maelstrom | Yes, that much is clear. My question is more about the arrangement of the pins: for my 8 analog signals for example, should I try really hard to put them all right next to each other (using eg pins 18-25), or should I try hard to keep them far apart, with two on every side of the device? | |
Nov 23, 2022 at 22:33 | history | edited | JYelton | CC BY-SA 4.0 |
Removed unnecessary thanks; show thanks by voting on and accepting answers.
|
Nov 23, 2022 at 22:33 | comment | added | Jonathan S. | Signals that must connect to specific peripherals (i.e. SPI, I2C, UART, etc) might also have to go to a specific pin, or at least to one of a subset of pins. | |
Nov 23, 2022 at 22:31 | comment | added | Justme | It depends what the signals are and what you need them for. For example analog signals must go to pins that can be read as analog. | |
Nov 23, 2022 at 22:28 | history | edited | Infinite_Maelstrom | CC BY-SA 4.0 |
Fix incomplete sentence
|
S Nov 23, 2022 at 22:26 | review | First questions | |||
Nov 23, 2022 at 22:47 | |||||
S Nov 23, 2022 at 22:26 | history | asked | Infinite_Maelstrom | CC BY-SA 4.0 |