Jump to content

Does anyone have information on the ATtiny424?

Parkman29

I am using it and it has all the specs I need for what I am using it for, but I don't have a big enough brain to really understand the datasheet. I basically need to know how to connect up an SPI device and an I2C device.

 

ATtiny: https://www.mouser.com/ProductDetail/Microchip-Technology/ATTINY424-SSU?qs=pUKx8fyJudAN08X1dMxSgw%3D%3D

SPI Device: https://www.e-paper-display.com/products_detail/productId=403.html

I2C Device: https://uk.farnell.com/microchip/24lc128-i-sn/serial-eeprom-128kbit-400khz-soic/dp/9757937

Link to comment
Share on other sites

Link to post
Share on other sites

Page 18 in the datasheet : https://eu.mouser.com/datasheet/2/268/ATtiny424_426_427_824_826_827_DataSheet_DS40002311-2887739.pdf

 

Your ATTiny424 is a SOIC4 part, so you need to look at the 4th column.

 

So

 

SPI (MOSI, MISO, SCK)  : pins 11,12, 13  .  Alternative location 14, 13, 12 (see note 4). See PORTMUX in datasheet, page 139. 

SS (select device) is only on pin 2 on SOIC14, it's optional for SPI anyway and you have only one SPI device so it doesn't matter.

I2C (SDA, SCL)  : pins 8, 9

 

See chapter 25 (page 324) for SPI information. See chapter 26 (page 339) for TWI (I2C is patented/copyrighted, so they use Two-Wire Interface instead)

 

image.png.ad6e95b3c9a578abad5ee5d46fcef173.png

Link to comment
Share on other sites

Link to post
Share on other sites

41 minutes ago, mariushm said:

Page 18 in the datasheet : https://eu.mouser.com/datasheet/2/268/ATtiny424_426_427_824_826_827_DataSheet_DS40002311-2887739.pdf

 

Your ATTiny424 is a SOIC4 part, so you need to look at the 4th column.

 

So

 

SPI (MOSI, MISO, SCK)  : pins 11,12, 13  .  Alternative location 14, 13, 12 (see note 4). See PORTMUX in datasheet, page 139. 

SS (select device) is only on pin 2 on SOIC14, it's optional for SPI anyway and you have only one SPI device so it doesn't matter.

I2C (SDA, SCL)  : pins 8, 9

 

See chapter 25 (page 324) for SPI information. See chapter 26 (page 339) for TWI (I2C is patented/copyrighted, so they use Two-Wire Interface instead)

 

image.png.ad6e95b3c9a578abad5ee5d46fcef173.png

Dude thank you so much!

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×