Data transfer between tiny261 and mega324

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi!

It is possilbe to transfer data between tiny261 (has USI) and Mega324 (UART, SPI, TWI)? Or if only tiny261 send data to mega324.

If I can use both SPI and TWI to transfer data, what is will be best for small data transfer (<1kb) and not critical for speed, just what is well noise-resistant and easy to implement.

thank u )

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Using SPI with the tiny261 as a Slave is probably the simplest.

Using TWI with the tiny261 as a Slave is fairly easy.

Neither are particularly noise resistant, but should be fine for short inter-pcb connections.

You could also use the UART with direct TTL levels. Or with RS232 or RS485 buffer chips at both ends.

Anything with the USI requires more complicated programming than regular Mega peripherals. You could use a mega48?

If you are just imagining your system with Proteus, why not just imagine that it works?

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0