AnsweredAssumed Answered

CAN 2 problems using examples from Keil.STM32F2xx_DFP.2.5.0.pack

Question asked by Friendship on Jan 25, 2016
Latest reply on Jan 25, 2016 by Clive One
Hi!

I use the example CANdata from Keil.STM32F1xx_DFP.2.5.0 pack and can not get CAN channel 2 to transmit any messages. The example uses external loopback.

I dont need to show or use the LCD due to I have a CAN logger that can receive the messages sent on CAN.

Channel 1 works but no messages are sending to channel 2.

#define  CAN_CONTROLLER         1       // CAN

Is is possible to just change two 2 above to try channel 2 or do I have to change anything else?

My setup is
CAN ch 1 to Saleae logger ch 2
CAN ch 2 to saleae logger ch 2

I use ground even if I dont have to as I understand.

I have the STM32F107VCT6 microcontroller and board MCBSTM32C (http://www.keil.com/boards2/keil/mcbstm32c/) using Keil.

I Attached original example.

Attachments

Outcomes