This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28335: C2000 microcontrollers forum

Part Number: TMS320F28335

Tool/software:

HI,

I am a beginner in learning DSP. When using the example program for eCAN's A to B output, I encountered a problem where the waveform does not change no matter what. This issue persists even when I modify the Data or ID.

Could someone please help me?

This waveform is obtained through the Trigger on the oscilloscope.

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//###########################################################################
//
// FILE: Example_2833xEcanA_to_B_Xmit.c
//
// TITLE: eCAN-A to eCAN-B Transmit Loop Example
//
//! \addtogroup f2833x_example_list
//! <h1>eCAN-A to eCAN-B Transmit Loop (ecan_a_to_b_xmit)</h1>
//!
//! This example TRANSMITS data to another CAN module using MAILBOX5
//! This program could either loop forever or transmit "n" # of times,
//! where "n" is the TXCOUNT value. \n
//!
//! This example can be used to check CAN-A and CAN-B. Since CAN-B is
//! initialized in DSP2833x_ECan.c, it will acknowledge all frames
//! transmitted by the node on which this code runs. Both CAN ports of
//! the 2833x DSP need to be connected to each other (via CAN transceivers)
//!
//! \b External \b Connections \n
//! - eCANA is on GPIO31 (CANTXA) and GPIO30 (CANRXA)
//! - eCANB is on GPIO8 (CANTXB) and GPIO10 (CANRXB)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX