Pages: [1]
Author Topic: Simos 18 and Raspberry Pi  (Read 370 times)
dcooksey
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


« on: October 13, 2024, 03:59:42 PM »

Has anyone here managed to use a Pi to bench read a Simos 18 ? https://github.com/bri3d/TC1791_CAN_BSL
Pretty sure I've got the software sorted. I can see activity on the CAN bus lines with my osciliscope and have confirmed both CAN hat and ECU are both generating CAN data signals individually. The two PWM lines look good, I can see 5v waveform at 3.2khz.
All I get as a response to any request is "none".
I am suspicious of the reset line. When connected to the PI the current drawn by the ECU drops from 700ma to around 400ma.
Only other thing is I am using a 2515 CAN hat instead of a 2517 because I had one lying around.
Any tips, tricks or suggestions? Otherwise the next step is to check my GPIO lines on the PI are not toasted and then get a 2517 CAN hat.
Logged
fastboatster
Full Member
***

Karma: +3/-0
Offline Offline

Posts: 73


« Reply #1 on: October 14, 2024, 01:19:50 PM »

Only other thing is I am using a 2515 CAN hat instead of a 2517 because I had one lying around.
the instructions explicitly said to use 2517, 2515 won't work.
Logged
dcooksey
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


« Reply #2 on: October 14, 2024, 03:19:42 PM »

Yep, thanks. Got one on order
Logged
fastboatster
Full Member
***

Karma: +3/-0
Offline Offline

Posts: 73


« Reply #3 on: October 16, 2024, 02:00:33 PM »

Yep, thanks. Got one on order
good luck!
Also, make sure that the grounds are connected:
Quote
If your Pi and ECU are powered separately (for example, the Pi via USB and the ECU via a bench PSU), make sure the grounds are linked and not floating as this can cause issues. The easiest way to do this is to connect another GND pin on the ECU connector to a GND on the Pi.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.017 seconds with 17 queries. (Pretty URLs adds 0s, 0q)