Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hello Designer,
I want to generate a pulse output with GPIO, for example D16.
I set related config by sysconfig as below:
But there is no pulse signal in the oscilloscope.
Is there still something required to be set?
Help.
Regards,
Zisheng Wang
Hi, I just tried to create a task to do it, but it still didn't work.
my pesudo code is like:
#begin
task_function(){
while(1){
GPIO_pinWriteHigh(baseAddr, pinNum);
ClockP_sleep(1)
GPIO_pinWriteLow(baseAddr, pinNum);
ClockP_sleep(1)
}
}
STACK_SIZE = 32
PRIORITY = 1
xTaskCreate(Task_function, STACK_SIZE, NULL, PRIORITY, &taskHandle)
#end
I don't know what I can do now.
Really need your help.
Regards,
Zisheng Wang