ECAN - Help with new project for newbie - CAN programming
So, i'm part of the formula student at my university and they gave me the job to do the whole acquisition data.
The thing is, I didn't know anything about electronics before.
I did some research and I manage to learn lots of new things, such as filters, ADC, type of microcontrollers, what is CAN, and I downloaded some books so they can help me with the programming. On my first day of the university, I didn't know what was a capacitor used for.
Here is where I got confused.
My project consists on receiving the information on the BMS and the inverter via CAN and, with an SPI (NRF24L01+), communicate via Wireless with another board that i'm designing myself and show all the information of the BMS and the Inverter of the vehicle on an interface on my pc. I did the 2 bus, separated by a resistance of 120Ohms, but... I'm having trouble in the software, at receiving the information. I don't know how to do that at all, and nobody here at the university knows too, not even the teachers.
My microcontroller is a PIC18f46k80, connecter with a normal transceiver (MCP2551). I have the IDs on the datasheet, but software speaking, how can I make this work?
I have basic knowledge of programming a pic.
Thank you in advance.