timeberrain,
1, 查询TXRDY,RXRDY。
2. 类似这种定义
在C28文件中
long int c28_r_array[2048]; // mapped to S2 of shared RAM owned by M3
long int c28_r_w_array[2048]; // mapped to S0 of shared RAM owned by c28
#pragma DATA_SECTION(c28_r_array,"SHARERAMS2");
#pragma DATA_SECTION(c28_r_w_array,"SHARERAMS0");
在M3文件中
int m3_r_array[2048]; // this array is mapped to S0
int m3_r_w_array[2048]; // this array is mapped to S2
#pragma DATA_SECTION(m3_r_array,"SHARERAMS0");
#pragma DATA_SECTION(m3_r_w_array,"SHARERAMS2");
可以查看例程:C:ticontrolSUITEdevice_supportf28m35xv201F28M35x_examples_DualRAM_management
Eric
- ERIC
timeberrain,
1, 查询TXRDY,RXRDY。
2. 类似这种定义
在C28文件中
long int c28_r_array[2048]; // mapped to S2 of shared RAM owned by M3
long int c28_r_w_array[2048]; // mapped to S0 of shared RAM owned by c28
#pragma DATA_SECTION(c28_r_array,"SHARERAMS2");
#pragma DATA_SECTION(c28_r_w_array,"SHARERAMS0");
在M3文件中
int m3_r_array[2048]; // this array is mapped to S0
int m3_r_w_array[2048]; // this array is mapped to S2
#pragma DATA_SECTION(m3_r_array,"SHARERAMS0");
#pragma DATA_SECTION(m3_r_w_array,"SHARERAMS2");
可以查看例程:C:ticontrolSUITEdevice_supportf28m35xv201F28M35x_examples_DualRAM_management
Eric
- ERIC
举报