Hello Everyone,
I hav configured two gpio pins from Psoc3 one for Reset and another for Power On likewise in the below attached i wrote my simple main inorder to reset the logic actually my device will turn on only if the Reset pin held low for few seconds and then go back to high so inorder to achieve this logic i have intially set the high for RESET pin and then it will be high for few seconds then it should go (RESET pin) to logic low for 2 seconds after that it should go again logic high
so finally which brings hte logic of reset the device and it will restart again but my problem is above logic is not working as expected coudl anyone please suggest me what mistake did i made in the below code or please suggest me some alternative ways to implement the logic in PSOC3
int main()
{
Switch_int_Start();
isr_100ms_Start();
CyGlobalIntEnable;
RESET_Write(1);
PWR_ON_Write(0);
Enable_3V8_Write(0);
CyDelay(5000);
RESET_Write(0);
CyDelay(2000);
RESET_Write(1);
}
Any help would be greatly aprreciated
Thank you
prabhu