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.

TMS320F28388D: F28388D EtherCAT SDO

Part Number: TMS320F28388D


Software configuration:

1、ssc tool release :1.4.0.0

2、ESC_CONFIG_DATA :080E02EE409C0000000000000000

(

PDI selection                                              :uController async.16bit    -> 0x140   =  0x08

device emulation                                       :off

Enhanced Link Detection                          :all ports on               -> 0x140.8 = 0

DC uints power saving                              :DC Latch+Sync Unit         -> 0x140.[11:10] = 0

 

ucController:

Busy output driver/polarity                  :push-pull active high      -> 0x150.[1:0] = 10

IRQ out driver/polarity                         :push-pull active lower     -> 0x150.[3:2] = 00

BHE polarity                                        :active lower               -> 0x150.4 = 00

RF polarity                                           :active lower               -> 0x150.7 = 00

Read BUSY delay                                :normal delay               ->0x152.0 = 0

 

SYNC/LATCH configuration:

Pulse length SyncSignals                         :640ns                      ->0x982:0x983 = 0x40

SYNC0/LATCH0                                        :SYNC output                ->0x0151.2 = 1

Output driver/polarity                                 :push-pull active lower     -> 0x0151[1:0] = 00

Map to AL Event Request                          :on                         -> 0x0151.3 = 1

SYNC1/LATCH1                                        :LATCH input                ->0x0151.6 = 0

Map to AL Event Request                          :on                         ->0x0151.7 = 1

)

3、SSCTOOL Configuration

 

BOOTSTRAPMODE_SUPPORTED        1

OP_PD_REQUIRED        1

PREOPTIMEOUT        0x7D0

SAFEOP2OPTIMEOUT        0x2328

 

AL_EVENT_ENABLED  :1

DC_SUPPORTED      :1

ECAT_TIMER_INT    :1

MIN_PD_CYCLE_TIME        0x7A120

MAX_PD_CYCLE_TIME        0xC3500000

 

MAILBOX_QUEUE        1

COE_SUPPORTED        1

COMPLETE_ACCESS_SUPPORTED        1

SEGMENTED_SDO_SUPPORTED        1

SDO_RES_INTERFACE        1

FOE_SUPPORTED        1

 

 

excel configuration:(0x6000\0x7000 object is right configured ,so I don't list the content)

0x8000        VARIABLE UINT16        SDORTmp1 0x0001        rw        SdoRead1_user                

0x8001        VARIABLE UINT16        SDORTmp2 0x0001        rw        SdoRead2_user                

0x8002        VARIABLE UINT16        SDOWTmp1 0x0001        rw      SdoWrite1_user        

0x8003        VARIABLE UINT16        SDOWTmp2 0x0001        rw        SdoWrite2_user

Hardware : F28388d(uc) + 83822(ESI) (supplier:TI)

 

Problem Description:

1; PDO funtion is test right in SM/free synchron and DC synchron mode.

2: when i want to configure some parameter defined in 0x8000 object with excel configure file. and alreay implenment function prototype in slave stack code generated by SSCTOOL. I change the value on the COE -Online Tap in Twincat3.but the Value in CCS(TI IDE)can't be changed in debug mode. and then I set break point at the 'SdoRead1_user','SdoRead1_user''SdoWrite1_user''SdoWrite2_use',meanwhile i change the value SDOWTmp1\SDOWTmp2 (SDORTmp1,SDORTmp2  ),the program can't stop at the breakpoint.

 

Later i  click the 'Advanced' option button on the COE -Online Tap and  modify the 'Offline - from Device Decription' to 'Online - via SDO information' ,the content about the object of 1C00 - 8002 disappeared.

 

That's a strange issue. Some thing wrong with my mailbox communication.

Can u help me check the proplem, I would appreciate it .