Part Number: TMS320F28P650DK Tool/software: Hi TI, I am trying to configure the slave stack source code, but I am not able to write the XML file to my external EEPROM which communicates through the SPI peripheral. The TwinCAT master can download the XML information to the EEPROM chip from the starter kit which communicates through I2C, but I want to write it myself by polling the Al Event Register (0x0220) and checking the EEPROM_CMD_PENDING bit (bit 5). I've tried multiple methods but I am still not able to make it work. I am not sure if I am missing something in peripheral's initialization or in the slave stack code. If I let my code running with the I2C pins active on I2C functionality, the XML information gets successfully downloaded and read by the TwinCAT master. I receive interrupts, treat them and the kit works really well, but I want to write the XML information myself on my EEPROM chip. Thank you
↧