Which ports are available after enabling USB?

If you have a simple question and just want an answer.
User avatar
migueljds
Experienced Member
Posts: 66
Joined: Thu Dec 10, 2009 7:08 pm

Which ports are available after enabling USB?

Postby migueljds » Mon Jul 15, 2019 4:23 pm

XMOS uses port precedence; where there are multiple functions on a pin, the narrowest active port wins the pin.

Consider an XU216-512-TQ128 device. If Port 1M and Port 8D are both enabled as outputs, then XD36 is connected to output register of port 1M. You can still use the other 7 bits of 8D, however if you read from 8D, bit 0 will contain the output value of 1M.

So because the USB PHY uses 8A and 8B internally, you can still use 4A/4B/4C/4D to read/write from the pins. Unfortunately you do loose 1E/1F/1G/1H/1I/1J because the pin these appear on has no other ports connected to it, and besides, 1b is the narrowest port so would win anyway.

Who is online

Users browsing this forum: No registered users and 0 guests