Is there any examples of getting the CAN Bus modules working? Even if it's just for a single write or read that would be great.
In the case that there isn't, I'm for right now just trying to send out a simple write, which I should see on my CAN logger (which has been verified to work correctly on many other applications), or even on my oscilloscope.
I have found the documentation and it appears that CAN_SysInit must be called first. It says that CAN0 or CAN1 must be passed, but in the ft900.c file I can't find any definitions for the CAN modules or a CANStruct variable.
The example in the documentation shows as:
Code: Select all
// initialize system registers for CAN0 module usage
CAN_SysInit(&CAN0);
Sorry if this seems extremely stupid, but I've always been in a well documented product area when developing in the past (Arduino mostly). Thanks for your help!