Expand your processor's I/Os and implement additional logic using MachXO2
Using MachXO2's hardened block functions, save up to 600 LUTs for additional logic
The MachXO2 contains popular bus interfaces such as the I2C
and SPI which are used for I/O expansion. The hardened function blocks interface
through the wishbone bus with routing as shown in the diagram above.
Block Diagram: Sensor Monitoring Solution for I/O Expansion
The MachXO2 can be used with a variety of I2C temperature sensors.
Once the temperature is captured, this information could be used in a number of
ways such as logging it to the SPI memory or controlling CPU fans, LCD displays
or Alarms using the logic block. The I2C can be used to communicate with other processors
Besides temperature monitoring, the I2C could also be used to monitor other kinds
of sensors such as accelerometers, gyroscopes and light sensors.
Key Features in MachXO2 for I2C I/O Expansion
Two I2C IP cores
Configurable Master/Slave mode
Support 7-bit and 10-bit addressing
Support multi-master arbitration
Support clock stretching
Up to 400KHz data transfer speed
General call support
Interface to custom logic through 8-bit WISHBONE interface