I have designed my own PCB using CC3200MOD. I uploaded latest firmware using UNIflash and programmed using Energia IDE. I ran some simple codes which didn't involve WiFi functionalities successfully. But as soon as I run any code which involves the use of WiFi, it restarts and this process goes on in a loop. I have designed almost entire PCB using TI's reference design (for CC3200MOD development board) except the antenna part in which I did small changes to fit my PCB shape and size limitations.
To be more specific, the clearance between ground pour and antenna trace is 18mil in MOD datasheet and 10mil in my design. Though i checked that in CC3200MOD laucnhpad the clearance is just 6mil. I kept the trace width same but the length is bit shorter.
My question is:
1. Can it be an antenna issue? What is the worse that can happen due to improper antenna design?
2. Can this be a firmware issue? The same firmware which I used in my design is running properly in Launchpad.
My guess is that improper antenna design should at max lead to poor reception or low range and should not lead to restarting the Chip. Please help.

