A Minimally Invasive Low-Power Platform for Real-Time Brain Computer Interaction based on Canonical Correlation Analysis