1) I am trying to write an I2C routine for the ATMEL ATSAM4E16E on an Xplained PRO board. The dev board is unimportant for this discussion. I am trying to find a way to verify that my I2C (Slave) is working. So I decided to make one of the TWI's a Master and one a Slave and then connect the two, hoping to transfer data and verify that they're working. I've been having some trouble and I started to wonder if it is even possible to do this on the same chip. I've been using the ASF Wizard, version 3.20.1 and Atmel Studio is version 6.2.1502.
2) I'm also unsure what exactly is the difference between "TWI - Two-Wire Interface (Common API) (service)" and "TWI - Two-wire Interface (driver)". Do I need both? Just one? Which one? All I want to do is set up a simple Master-Slave I2C.
Discussion around product based on ARM Cortex M4 core.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest