|
I am working on example code from the ATMEL IAR at91sam9261-ek and the USB Enumeration project does not configure a USB connection.
The problem appears to start in PIO_Configure and pinVbus struct is not updated.
// Configure PIO PIO_Configure(&pinVbus, 1); <- fails to update struct PIO_ConfigureIt(&pinVbus, ISR_Vbus); PIO_EnableIt(&pinVbus); <- since struct isn't updated ISR doesn't work
There is no error msg it just goes through the commands and then I get a VBUS disconn.
The USB hardware connector is valid... so the problem is isolated to the example code.
Does anyone have a solution or recommendation for this?
|