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
- if different needed, what message ID, what exact data ? See CanBus
- CAN messages are not "1 dimensional", (not like a 0-5V that can be tuned with a pot); If the message is known and specified, it can be programmed; otherwise not.
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?
Yes, see BroadcastDatastreamAim section: "Configure 2nd UART to send "5 byte stream" with datacontent matching the AIM"