Hi,
I'm trying to make bench setup for testing F series modules.
Base of bench are ZGW 4SK and arduino.
I have no problem with modules connected to CAN - I can see them in ESYS. Flashing and coding without problem.
But right now I'm trying to connect KOMBI using PT_CAN and no luck. Don't see it in ESYS.
12+ connected to pin 1,2 and 11 on KOMBI
12 - connected to pin 7 and 8 on KOMBI
PT_CAN_H: KOMBI (pin 6) --> ZGW (pin 1 small plug)
PT_CAN_L: KOMBI (pin 12) --> ZGW (pin 2 small plug)
My arduino program looks like this:
Code:
#include <mcp_can.h>
#include <mcp_can_dfs.h>
#include <mcp_can.h>
#include <SPI.h>
const int SPI_CS_PIN = 9;
unsigned char stmp1[5] = {0x45, 0x40, 0x21, 0x8F, 0xFE};
unsigned char stmp2[8] = {0x37, 0x7C, 0x8A, 0xDD, 0xD4, 0x05, 0x33, 0x06};
MCP_CAN CAN(SPI_CS_PIN);
void setup() {
while (CAN_OK != CAN.begin(CAN_500KBPS));
}
void loop() {
CAN.sendMsgBuf(0x130,1, 5, stmp1);
delay(100);
CAN.sendMsgBuf(0x12F,1, 8, stmp2);
delay(100);
}
Maybe I need send different frame to wake up PT_CAN?
Thanks for any help