I2C Interface
2123 - MachXO2: Can the user use MachXO2's Embedded Functional Block (EFB) I2C pins (SCL and SDA) to work with soft (NOT EFB) I2C logic?
Definition: The MachXO2's EFB Primary I2C have dedicated pins. User can't use them for general purpose when enabled for EFB I2C usage, by enabling the Primary I2C Port. However, if the I2C Primary port is not enabled, then the I2C IOs become User ...
1869 - Platform Manager 2: How do you reset the I2C interface on Power Manager II devices?
It is not necessary to explicitly reset a Power Manager II's I2C interface. Because the I2C interface in this product family is a slave device, it will always be responsive to the SCL and SDA control signals generated by an I2C master. For example, ...
5311 - When does SRW show the correct state after TRRDY goes high?
SRW state is valid on the next rising edge of SCL after TRRDY goes high.
5248 - Crosslink: How to program the CrossLink through I2C with Lattice Diamond Programmer and Lattice HW-USBN-2B download cable or MCU-based I2C programming using I2CEMBEDDED?
The CrossLink device is programmable using SPI or I2C. Thus, the programming is supported through: 1. SPI/I2C-based embedded programming (SSPIEMBEDDED or I2CEMBEDDED) using an Embedded MCU, or 2. SPI/I2C operations through Lattice Diamond Programmer ...
6408 - Embedded Programming: Can the whole data file be transmitted with just one start and one stop condition?
For CrossLink does not require to transmit whole data file via embedded "eprom" with just one start and one stop condition. You can break the data into multiple blocks and send it with the start and stop condition.
2151 - [MachXO2] Does MachXO2 EFB I2C support frequencies other than the 50, 100, and 400 KHz options available in IPexpress?
Yes, even though IPexpress GUI provides only 3 options, you can operate EFB I2C hard core in master or slave mode at any clock that does not violate the I2C spec. You don’t need to do any clock stretch. To achieve any other clock operation meeting ...
6311 - Where to find the I2C Embedded Source Code?
For the i2cembedded source codes, please go to \programmer\embedded_source\i2cembedded example: C:\lscc\radiant\3.0\programmer\embedded_source\i2cembedded
7064 - MachXO2: Why MachXO2 device internal flash (CFG/UFM) is not fully erase with typical tEraseCFG, tEraseUFM wait cycle when using Embedded Programming.
There is 2 methods to confidently ensure ERASE cycle is completed for MachXO2 with Embedded Programming. Follow tErase(max) specification for Erase wait cycle. By following tErase(max) spec, user can ensure that the device will be fully erased. ...
2049 - XP2: Does ispVM Embedded support TAG memory operations with the XP2?
Solution: TAG memory is nothing more than flash memory cells available for the user’s functions. Lattice Technical note TN1213 gives more information on how to access to TAG memory. ispVM System allows LatticeXP2 TAG memory to be read, erased, and ...
6190 - Lattice Radiant and Lattice Diamond: Is there any reference C source code available for embedded programming?
C source code for embedded programming is provided in the software installation directory. For Radiant: <install_path>\programmer\embedded_source Example: C:\lscc\radiant\<Radiant version>\programmer\embedded_source For Diamond: ...
6186 - Lattice Radiant Programmer: How user can Flash FPGA binary file (.rbt) and Propel SDK (RISC-V) binary file to Lattice FPGA?
To flash FPGA binary file (.rbt) user can use the provided C source code in the Lattice software installation directory for embedded programming. C source code for Radiant: <install_path>\programmer\embedded_source Example: C:\lscc\radiant\<Radiant ...
1978 - LegacyDevices: What types of JTAG multi chain designs does the Lattice ispVM System software support?
Solution: The Lattice ispVM System software supports multi-chain BSCAN2 designs as described in the application notes AN8081 and AN8083 at: For other types of multi-drop JTAG designs, third party tools have been shown to be of help to connect the ...
2438 - MachXO2: What is the XO2 Primary port I2C address "yyyxxxxx11" for, and how is it used?
"MachXO2 Programming and Configuration Usage Guide" lists this I2C address with the description, "Resets the device programming/configuration I2C core logic ". The purpose of this command is to reset the internal I2C command processing FIFO. In the ...