ATMega ports / features - clarification
Jul 16, 2019
2 Replies
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281
PkxLr12AGRAkGYNNtyMyyXTHCNmimbB60 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable
dThat is correct (but the data sheet has the last word)!
USB: D- and D+ are separate pins. USART: RXD1 and TXD1 are special functions of port D bits 2 and 3 SPI: MISO, MOSI and SCK are special functions of port B bits 1, 2, and 3
So: yes, you can use all three independently and "at the same time".
(but: no, you couldn't use port D bits 2 and/or 3 together with the UART and/or port B bits 1, 2, and/or 3 together with SPI).
Josef
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required