Two E8XX type expanders

Support forum for users of the M1 Build

Two E8XX type expanders

Postby aNinjaneer on Thu Sep 01, 2016 3:10 am

I'm adding two RaceGrade TC8s to my custom M1 firmware package. I got the first bank working fine with the built-in E8XX module, but need to know if there is a clever way to add a second E8XX module. I can add a second object, but there is no way to receive the data and set it as a separate input resource. As of now, my only thought is to treat the second device as just a standard CAN receive, or implement custom CAN receive and set the values to a firmware resource. Has anyone tried to add multiple expanders to an M1 before?

If the only way is to receive the raw CAN and parse it accordingly, what is the E8XX CAN format like? I know it uses two separate PIDs. Based on mode 4/5 of the TC8, it shows that the 8 channels are spread over the two PIDs with two bytes for each channel. Is this how it is in mode 1/2/3, which emulate the E8XX format?

Thanks.
aNinjaneer
 
Posts: 27
Joined: Tue Apr 05, 2016 4:57 am

Re: Two E8XX type expanders

Postby Stephen Dean on Thu Sep 01, 2016 10:22 am

Hi,

Currently there is only support for a single E8xx in M1, I have requested a change to be made to allow for a second E8xx to be added into Build.
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1731
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: Two E8XX type expanders

Postby aNinjaneer on Fri Sep 02, 2016 6:20 am

Thanks, Stephen.

In the mean time, I'd like to implement a workaround. Is there any documentation on the standard E888 message format, so I can just write a scheduled function to read the secondary box and set it to firmware resources? I briefly looked at it, and it looked like it's a compound message, but haven't worked out the format or scaling yet.

Thanks!
aNinjaneer
 
Posts: 27
Joined: Tue Apr 05, 2016 4:57 am


Return to M1 Build

Who is online

Users browsing this forum: No registered users and 15 guests