Hello,
there could be 2 problems.
#1
All the bits/pins must belong to the same port and must be dealt with contiguous. For example, Port 0/Pins 0, 1, 2, 3 is correct whereas Port 0/Pins 0, 1, 3, 4 is not correct because the pins are not fully contiguous (unallocated pin 2 constitutes a gap between pin 1 and pin 3. For more details please see ttached screenshot.
#2
There could also problem in UI. So please close and open the project where is the problem and try to select the pins according to instructions in point 1.
best regards
Vojtech Filip
Processor Expert Support Team