DSPRelated.com
Forums

Question about Booting the TMS320C672X through I2C&SPI SLAVE

Started by liqu...@163.com December 14, 2008
Hi ALL:)
I have problem in booting the c672x device through I2C and SPI both in SLAVE` n MASTER mode.And, I would like to known about the TMS320C672X DSP`S I2C SPI BOOT timing infomation.For example,the I2C MASTER mode useing a
START-SLA&write-ACK-8bitADDR-ACK-8bitADDR-ACK-Sr - SLA&read-ACK-8bit DATA-ACK-8bitDATA-NACK-stop sequence.
and what about the others? Mainly I`d like to know what timeing sequence the IIC&SPI slave boot use.
The second question is,when I try to load AIS to the dsp in i2c master mode,the DSP bootloader reads the magic word 0x41504954,then it just stoped and doesn`t send anything to the bus.The stauts code in address 0x10000708 is 0x00000000 ,that means there is no data error.BUT the address 0x0000 070c shows a code change from 0x00000000 to 0x00000001,when write this addr with a 0 in ccs,reset the DSP from emulator,it will changed to 0x00000001,I wonder if the ONchip bootloader contains error codes or not,if so,is there any way to fix it?
By the way,I have already write a IIC MASTER read program on the DSP which use the same time sequence as what the bootloader does.And it exactlly read the right data defined with 0x41504954.
My circuit is:: IIC Master DSP-C6720
IIC SLAVE MCU-8051 (useing a software program to
simulate the I2C PROTOCOL)
IIC SLAVE ROM-AT24C512
Both fails Either boot from the MCU or the I2C ROM.
The IDE is CCS3.1

Thank you so much.
Does anyone can help me?
在2008-12-15,l...@163.com 写道:
Hi ALL:)
I have problem in booting the c672x device through I2C and SPI both in SLAVE` n MASTER mode.And, I would like to known about the TMS320C672X DSP`S I2C SPI BOOT timing infomation.For example,the I2C MASTER mode useing a
START-SLA&write-ACK-8bitADDR-ACK-8bitADDR-ACK-Sr - SLA&read-ACK-8bit DATA-ACK-8bitDATA-NACK-stop sequence.
and what about the others? Mainly I`d like to know what timeing sequence the IIC&SPI slave boot use.
The second question is,when I try to load AIS to the dsp in i2c master mode,the DSP bootloader reads the magic word 0x41504954,then it just stoped and doesn`t send anything to the bus.The stauts code in address 0x10000708 is 0x00000000 ,that means there is no data error.BUT the address 0x0000 070c shows a code change from 0x00000000 to 0x00000001,when write this addr with a 0 in ccs,reset the DSP from emulator,it will changed to 0x00000001,I wonder if the ONchip bootloader contains error codes or not,if so,is there any way to fix it?
By the way,I have already write a IIC MASTER read program on the DSP which use the same time sequence as what the bootloader does.And it exactlly read the right data defined with 0x41504954.
My circuit is:: IIC Master DSP-C6720
IIC SLAVE MCU-8051 (useing a software program to
simulate the I2C PROTOCOL)
IIC SLAVE ROM-AT24C512
Both fails Either boot from the MCU or the I2C ROM.
The IDE is CCS3.1

Thank you so much.