DSPRelated.com
Forums

WHY the state the GPIO of PE3(dsp56f807) doesn't change

Started by dj sunny February 28, 2007
hi,
i use the PE3 as a output signal,i have make a program:
{ periphMemWrite(0x0000,&ArchIO.PortE.PeripheralReg);

periphMemWrite(0x00f0,&ArchIO.PortE.DataDirectionReg);

periphMemWrite(0x0000,&ArchIO.PortE.DataReg);
}
/************************************************/
{
periphBitSet(0x0008,&ArchIO.PortE.DataDirectionReg);

periphBitClear(0x0008,&ArchIO.PortE.DataReg);
}

The result is the level of PE3 doesn't change,nomatter the PE3 of DataReg is 1 or 0,why?How to modify?thanks
The GPIOE3_A7 pin is shared with the external bus (address line 7). This can cause your problem.