Hi,
What kind of sensor you are working with? Many of them are interfaced via a serial protocol like I2C or SPI. The iMX6Q features different modules that can help to achieve what you need. It woulb nice to get more information about the sensor you want to use.
Best Regards,
Alejandro