This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB - Ethernet clash on AT91SAM7X

Hi all,

I have an issue here that driver me nuts. I have original evaluation kit from Atmel and I am trying to build an application where I will use both ethernet and USB. I cannot get them both to work together. Now I am only testing the devices so the code is very simple. I use the RL-ARM framework for Ethernet so initializing ethernet is as follows:

init_TcpNet (); tcp_soc = tcp_get_socket (TCP_TYPE_SERVER, 0, 30, tcp_callback); if (tcp_soc != 0) { tcp_listen (tcp_soc, 200); }

For USB enumeration I use the functions provided by Keil. Initialization as follows:

USB_Init(); /* USB Initialization */
USB_Connect(TRUE); /* USB Connect */

If I place ethernet init first then ethernet works and USB enumeration does not. If I swap them then USB enumeration works and eth. does not. The same happen if I comment out either of the initialization routines. Can anyone please tell me where the bug is?

Radovan.

0