Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).
Ling Bo Ly- > Succeeded in read but failed in write from HOST(S3C2410) to DSP > through HPI in Nonmultiplexed Mode. > My connection is : > HCS<=!(!nGCS2&!ADD23) > HR/W<=ADD22 > HMOED<=VCC33 > HCNTL0<=ADD21 > HDS1<=nRD > HDS2<=nWR > HBE0<=GND > HBE1<=GND > HRDY=>IOCHRDY > HINT=>nIRQ > HD[15..0]<=>DATA[15..0] > HA[19..0]<=ADD[20..1] > RESET_MODE<=GND > SO BASE address of HPID read isÖÐΪ0x10200000£¬BASE address of HPID > write0x10600000. > When I read the data of the internal memory of DSP,for example ,the > address 0x10200200,it's the same with the data I have read through the > simulator.So it's all right. > However,when I write any data to the internal memory of DSP,for > example ,the address 0x10600200,it failed.The data of that address > stands still. Which 55x DSP are you using? We always use multiplexed mode for HPI. However, for non-multiplexed mode I think you still need to connect HCNTL1, which is not in your list above. Both HCNTL0 and HCNTL1 have to be connected to allow access to four (4) possible HPI registers: -HPIC -HPIA -HPID no autoincrement -HPID autoincrement In the C5502 data sheet, Figure 3-5 shows both HCNTLx connected for non-multiplexed HPI. If you're not using 5502, then possibly look for a similar figure in other 55x data sheets. Also, do you have HPIENA active? What about pull-up/down Rs on GPIOx lines that select HPI mode at Reset? -Jeff