TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS5670LS0714 SCI 配置问题??

在HALCoGen里面使能SCI设备,设置完中断后生成的代码依旧没有中断函数,如下所示:我该怎么办?我是按照例程里面的方法来的。

static const t_isrFuncPTR s_vim_init[128U] =
{
    &phantomInterrupt,
    &esmHighInterrupt,            /* Channel 0 */
    &phantomInterrupt,            /* Channel 1 */
    &phantomInterrupt,            /* Channel 2 */
    &phantomInterrupt,            /* Channel 3 */
    &phantomInterrupt,            /* Channel 4 */
    &phantomInterrupt,            /* Channel 5 */
    &phantomInterrupt,            /* Channel 6 */
    &phantomInterrupt,            /* Channel 7 */
    &phantomInterrupt,            /* Channel 8 */
    &phantomInterrupt,            /* Channel 9 */
    &phantomInterrupt,            /* Channel 10 */
    &phantomInterrupt,            /* Channel 11 */
    &phantomInterrupt,            /* Channel 12 */
    &phantomInterrupt,            /* Channel 13 */
    &phantomInterrupt,            /* Channel 14 */
    &phantomInterrupt,            /* Channel 15 */
    &phantomInterrupt,            /* Channel 16 */
    &phantomInterrupt,            /* Channel 17 */
    &phantomInterrupt,            /* Channel 18 */
    &phantomInterrupt,            /* Channel 19 */
    &phantomInterrupt,            /* Channel 20 */
    &phantomInterrupt,            /* Channel 21 */
    &phantomInterrupt,            /* Channel 22 */
    &phantomInterrupt,            /* Channel 23 */
    &phantomInterrupt,            /* Channel 24 */
    &phantomInterrupt,            /* Channel 25 */
    &phantomInterrupt,            /* Channel 26 */
    &phantomInterrupt,            /* Channel 27 */
    &phantomInterrupt,            /* Channel 28 */
    &phantomInterrupt,            /* Channel 29 */
    &phantomInterrupt,            /* Channel 30 */
    &phantomInterrupt,            /* Channel 31 */
    &phantomInterrupt,            /* Channel 32 */
    &phantomInterrupt,            /* Channel 33 */
    &phantomInterrupt,            /* Channel 34 */
    &phantomInterrupt,            /* Channel 35 */
    &phantomInterrupt,            /* Channel 36 */
    &phantomInterrupt,            /* Channel 37 */
    &phantomInterrupt,            /* Channel 38 */
    &phantomInterrupt,            /* Channel 39 */
    &phantomInterrupt,            /* Channel 40 */
    &phantomInterrupt,            /* Channel 41 */
    &phantomInterrupt,            /* Channel 42 */
    &phantomInterrupt,            /* Channel 43 */
    &phantomInterrupt,            /* Channel 44 */
    &phantomInterrupt,            /* Channel 45 */
    &phantomInterrupt,            /* Channel 46 */
    &phantomInterrupt,            /* Channel 47 */
    &phantomInterrupt,            /* Channel 48 */
    &phantomInterrupt,            /* Channel 49 */
    &phantomInterrupt,            /* Channel 50 */
    &phantomInterrupt,            /* Channel 51 */
    &phantomInterrupt,            /* Channel 52 */
    &phantomInterrupt,            /* Channel 53 */
    &phantomInterrupt,            /* Channel 54 */
    &phantomInterrupt,            /* Channel 55 */
    &phantomInterrupt,            /* Channel 56 */
    &phantomInterrupt,            /* Channel 57 */
    &phantomInterrupt,            /* Channel 58 */
    &phantomInterrupt,            /* Channel 59 */
    &phantomInterrupt,            /* Channel 60 */
    &phantomInterrupt,            /* Channel 61 */
    &phantomInterrupt,            /* Channel 62 */
    &phantomInterrupt,            /* Channel 63 */
    &phantomInterrupt,            /* Channel 64 */
    &phantomInterrupt,            /* Channel 65 */
    &phantomInterrupt,            /* Channel 66 */
    &phantomInterrupt,            /* Channel 67 */
    &phantomInterrupt,            /* Channel 68 */
    &phantomInterrupt,            /* Channel 69 */
    &phantomInterrupt,            /* Channel 70 */
    &phantomInterrupt,            /* Channel 71 */
    &phantomInterrupt,            /* Channel 72 */
    &phantomInterrupt,            /* Channel 73 */
    &phantomInterrupt,            /* Channel 74 */
    &phantomInterrupt,            /* Channel 75 */
    &phantomInterrupt,            /* Channel 76 */
    &phantomInterrupt,            /* Channel 77 */
    &phantomInterrupt,            /* Channel 78 */
    &phantomInterrupt,            /* Channel 79 */
    &phantomInterrupt,            /* Channel 80 */
    &phantomInterrupt,            /* Channel 81 */
    &phantomInterrupt,            /* Channel 82 */
    &phantomInterrupt,            /* Channel 83 */
    &phantomInterrupt,            /* Channel 84 */
    &phantomInterrupt,            /* Channel 85 */
    &phantomInterrupt,            /* Channel 86 */
    &phantomInterrupt,            /* Channel 87 */
    &phantomInterrupt,            /* Channel 88 */
    &phantomInterrupt,            /* Channel 89 */
    &phantomInterrupt,            /* Channel 90 */
    &phantomInterrupt,            /* Channel 91 */
    &phantomInterrupt,            /* Channel 92 */
    &phantomInterrupt,            /* Channel 93 */
    &phantomInterrupt,            /* Channel 94 */
    &phantomInterrupt,            /* Channel 95 */
    &phantomInterrupt,            /* Channel 96 */
    &phantomInterrupt,            /* Channel 97 */
    &phantomInterrupt,            /* Channel 98 */
    &phantomInterrupt,            /* Channel 99 */
    &phantomInterrupt,            /* Channel 100 */
    &phantomInterrupt,            /* Channel 101 */
    &phantomInterrupt,            /* Channel 102 */
    &phantomInterrupt,            /* Channel 103 */
    &phantomInterrupt,            /* Channel 104 */
    &phantomInterrupt,            /* Channel 105 */
    &phantomInterrupt,            /* Channel 106 */
    &phantomInterrupt,            /* Channel 107 */
    &phantomInterrupt,            /* Channel 108 */
    &phantomInterrupt,            /* Channel 109 */
    &phantomInterrupt,            /* Channel 110 */
    &phantomInterrupt,            /* Channel 111 */
    &phantomInterrupt,            /* Channel 112 */
    &phantomInterrupt,            /* Channel 113 */
    &phantomInterrupt,            /* Channel 114 */
    &phantomInterrupt,            /* Channel 115 */
    &phantomInterrupt,            /* Channel 116 */
    &phantomInterrupt,            /* Channel 117 */
    &phantomInterrupt,            /* Channel 118 */
    &phantomInterrupt,            /* Channel 119 */
    &phantomInterrupt,            /* Channel 120 */
    &phantomInterrupt,            /* Channel 121 */
    &phantomInterrupt,            /* Channel 122 */
    &phantomInterrupt,            /* Channel 123 */
    &phantomInterrupt,            /* Channel 124 */
    &phantomInterrupt,            /* Channel 125 */
    &phantomInterrupt,            /* Channel 126 */
};

Susan Yang:

设备上有两个SCI模块。一个只支持SCI功能。要配置此模块,请使用HALCogen中的“SCI”选项卡。第二个模块支持SCI和LIN功能。要配置此模块,请使用HALCogen中的“SCI2”选项卡。

Susan Yang:

若是可以的话,请您给出您的相关配置截图

另外可以参考下E2E上的相关帖子

e2e.ti.com/…/351762

Steven.Lee:

回复 Susan Yang:

   问题依旧没有解决,想问问SCI2究竟可不可以有独立中断,同时SPI1 SPI3也与没有中断入口?570没有SDK之类的变成文档用来参考吗?

Steven.Lee:

回复 Susan Yang:

求回复

gaoyang9992006:

我按照楼主的设置进行了配置,生成的代码是有中断函数的。
我认为楼主可能之前没用过这个功能,没有找对地方,中断函数在notification.c里面,楼主可以从这个文件里面找对生成的中断函数模板,使用。

gaoyang9992006:

回复 gaoyang9992006:

e2echina.ti.com/…/97104
如果是新手可以查看这个贴里的那个下载地址,在云盘里,是个非常非常不错的入门教程文档

gaoyang9992006:

回复 Steven.Lee:

另外你说的这种类似SDK使用文档的文件是有的,在HALCoGen 04.07.01HELP文件,你点右上角的help,第一个就是,非常详细的介绍了相关的库函数。

赞(0)
未经允许不得转载:TI中文支持网 » TMS5670LS0714 SCI 配置问题??
分享到: 更多 (0)