Hello,
I would like to use MSP430 F5529 launchpad to control 6713 DSK with HPI. I can access HPIC, HPIA and HPID. However, the memory of DSP cannot update the value if I write HPID and I also cannot read the value of memory from HPID.
I program MSP430 to perform the following steps:
(1) Write HPIC 0x00000000.
(2) Write HPIA 0x80001234 (The example in reference guide).
(3) Write HPID 0x1234abcd.
(4) Read HPIC. In the debug window of CCS for MSP430, the value is 0x00080008.
(5) Read HPIA. In the debug window of CCS for MSP430, the value is 0x80001234.
(6) Read HPID. In the debug window of CCS for MSP430, the value is 0x1234abcd.
(7) Write HPIC 0x00000002. In the debug window of CCS for DSP, the program can enter the interrupt function of DSPINT and I can read the value change of HPIC from the Registers window.
From the previous steps, I think I have verified that I can access (write/read) the HPIC, HPIA and HPID successfully. In the DSP, I set a pointer to the address 0x80001234 in the main function.
int *ram_test = (int *)0x80001234;
*ram_test = 0; //Initialization
Then the DSP will run in a while loop. The DSP can be interrupted by DSPINT. However, *ram_test always equals 0 in the Expressions window . Would you please help me solve this problem?
BTW, the connection between MSP430 and 6713 DSK is
HAS->3.3V VCC, HDS2->3.3v VCC, HCS->GND, HDS1->P1.6, HCNTL1->P1.5, HCNTL0->P1.4, HHWIL->P1.3
HRW->P1.2, HINT->P4.3, HRDY->P4.0.
HD7-HD0->P3.7-P3.0, HD15-HD10,->P2.7-P2.2, HD9->P8,2, HD8->P2.0
Thanks
Bing

