MembersPage/GunnarReynisson/AIMCANBUS (2018-02-04 12:39:09)

I have the CAN BUS mockup module from the shop.

https://shop.vems.hu/catalog/stm32f103mcp2515-p-213.html

By what means can I change the CAN output Id's, scaling, offset etc? Is it pre-programmed into via firmware or is there any way of changing the config and then rebooting?

I also received a USB stick

which has 4 wires

Yellow - SWDIO

Brown - GND

Orange - SWCLK

RED - 3.3v

Inside the module there is a 4 way header pin and also a micro USB connector.

Currently the 4 way header (GND, SWDIO, SWCLK) from the USB-

Programmed to convert aim => AUDI CAN-data, see SimpleCanMessages

.

Testing step 1

I´m only getting Id 0x280 @ 500Kbit @ 10Hz but nothing on it.

The ECU has RPM and is operating, but nothing is coming out on CAN at ID 0x280. What configuration does it have? If nothing how can I put a config on it?

If AIM is verified, See CanBus

I don´t have a Android phone to test the AIM out or a gauge but It looks like I´m not getting AIM out.

Definitely check that first (easy with a terminal, every 5th byte is A3).

Is AIM out only available via second RS232?

Aim output stream is available via 1st or 2nd serial, but 1st is often used for VT, so 2nd serial is much more practical: see BroadcastDatastreamAim section: "Configure 2nd UART to send "5 byte stream" with datacontent matching the AIM"