Other Parts Discussed in Thread: UCD9090, , UCD90160A, UCD9090A
Hello - I have 2 questions regarding new issues that the UCD90320 device raises that we don't see with UCD9090/A or UCD90160A
1.We have a script that we wrote to program ucd device configurations. It uses the SMBus Data Flash Script (DFS) to program the Data Flash. This script works with UCD9090/A and UCD90160A devices. Our script first verifies the device ID in the DFS file and the device, then erases the data flash, writes the the data via commands E2/E3 according to the DFS file and then verifies the FLASH data according to the DFS file. The script did the FLASH erase by disabling the write protect and then erasing the FLASH. The DFS file also has these same commands at the beginning. These commands begin with 04 indicating they are Data Flash Control Register commands.
The ucd90320 DFS file has no E2 commands that begin with 04 indicating that there are no Data Flash Control Register commands. What are the commands to erase the Data Flash? I tried just issuing all the commands in the DFS file but all the verifies fail. Are there any other difference in the DFS file that I need to know about? Is there any documentation on programing the Data Flash using the DFS file?
2. The UCD90320 introduces commands that exceed 32 bytes. Our ucd9000.c driver uses the smbus functions: i2c_smbus_read_block_data() and i2c_smbus_write_data_block to handle block commands. These functions are limited to 32 byte transfers and do not work for the commands that exceed 32 bytes. What does TI recommend to use in the ucd9000.c driver to handle these 32+ commands?