![]() Since all the bytes were successfully sent to the I2C device, we conclude that the connections with the pin assignment were made correctly. Check the transaction log to see if the transaction was successful.ĥ. ![]() Enter the slave address as 0x50 and write to the master with any data bytes. Enable Target Power to turn on the socket board by clicking Adapter? Target Power? Click 5V and activate I2C pull-ups.Ĥ. Pins 0, A1 and A2 were set to 0 because the I2C device address is 0x50 (for more information, see the 24AA256 data sheet).ģ. software SPI: since all pins can be changed in the Hardware section of LED. Set all GPIOs to OUT direction and value to 0. In this mode, SPI pins act as GPIO pins that can be used to configure A0, A1, and A2 address bit pins.Ģ. Connect the Aardvark adapter to the serial Control Center software in I2C + GPIO mode. When the connections are complete, connect the Aardvark I2C / SPI host adapter to the Control Center serial software to verify that it is communicating properly using the pin assignment.ġ. ![]() Program the I2C EEPROM using the Control Center software ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |