[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.2393330 [View]
File: 264 KB, 1544x1036, tn1614.png [View same] [iqdb] [saucenao] [google]
2393330

>>2393319
You're not using it for a crystal I take it? Probably not, they're usually normal GPIOs, especially in a modern chip with an internal oscillator, doubly so if the pin-count is low enough to need the extra ones. Look at the datasheet, there should be a description of all the pins and what they can be used for. Here on the ATtiny1614 the TOSC1 and TOSC2 pins can clearly be seen to also act as parts of the USART hardware, and the timer A, and the analog comparators. Less clearly it can be used as general purpose IO.

If you are using it with a crystal, then one pin will be acting as an input and the other will be acting as an output. Basically like putting a crystal across a schmitt inverter. But that's only if you have the oscillator enabled.

What micro?

Navigation
View posts[+24][+48][+96]