I have connect cjmcu-230(SN65HVD23x) with stm32f103cb with flowing connection
then I modified the can test hal example to disable CAN_BTR_LBKM and change the baud-rate
Code: Select all
static const CANConfig cancfg = {
CAN_MCR_ABOM | CAN_MCR_AWUM | CAN_MCR_TXFP,
CAN_BTR_SJW(0) | CAN_BTR_TS2(1) | //CAN_BTR_LBKM |
CAN_BTR_TS1(8) | CAN_BTR_BRP(35)
};
Then i set :
-GPIOA12 ---->Alternate_pushpull .
-GPIOA11 ---->input _pullup .
But when I test the signal on CTX there is available packet output but it is disappear in CANH,CANL.
can any body advice me what to do ?
best regard,
asd