JN-AN-1041 Using 2-wire serial interface on JN5121
Describes the use of the 2-wire serial interface. This interface is capable of running in a multi-master/multi-slave configuration, but for this discussion, only master mode is considered. The typical use of this interface is to communicate with serial memories, sensors, real-time clocks, etc. The benefits of using this interface include:
- Minimal IO pins required
- Serial bus devices typically have a smaller footprint compared with parallel parts
- Many devices can co-exist on the same Serial bus
An example illustrates how to READ and WRITE to a 24LC04 EEPROM memory device, which is readily available from a number of manufacturers.
NOTE: This Application Note does not support the new SDK/Application directory of the latest toolchain release for the JN5139 and JN5121. To migrate this project to the new structure, refer to the Application Note JN-AN-1053.
Version
1.1
7th Dec '06
Section added on 'building and downloading the application'. New Code::Blocks project files included.