Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Balasubramanian Vaidhyana
03/13/17 08:57
Read: 577 times
Andover Ma
United States


 
#190762 - GPIO pin toggle on TUSB3410
Hi

I am trying to toggle the GPIO pin on TUSB3410 and I am working with the TUSB3410PDK EVM kit. Below is the code

void main(void)
{

int index;
//bWDCSR = 0x2a; // this would disable the watchdog (tested!) *

//bWDCSR |= WDCSR_WDT;

while ( 1 )
{

(* (char __xdata *)(0xFF9E))&=0xF7;

for (index=0;index<10000000L;index++)
{
}

(* (char __xdata *)(0xFF9E))|=0x08;
bWDCSR |= WDCSR_WDT;

}
}

My question is when I download this code into the EEPROM using the TI EEPROM burner and restart the TIUSBPDK is not recognized at all. And ofcourse, I cannot see any toggling of that pin....
Should I re-enumrate? and then only add the code to toggle?.... Thanks.

regards
Bala

List of 7 messages in thread
TopicAuthorDate
GPIO pin toggle on TUSB3410      Balasubramanian Vaidhyana      03/13/17 08:57      
   Short Pulse      Michael Karas      03/16/17 06:05      
      GPIO working      Balasubramanian Vaidhyana      03/16/17 11:28      
         Was it?      Michael Karas      03/18/17 12:47      
            GPIO toggle      Balasubramanian Vaidhyana      03/20/17 07:00      
               Good to hear      Michael Karas      03/25/17 19:40      
                  two problems      Maarten Brock      04/13/17 11:59      

Back to Subject List