CRC Unit in SDMA

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CRC Unit in SDMA

1,787 次查看
larstraeger
Contributor II

Hello,

Did somebody used the CRC Unit in the SDMA Core of the i.mx53? I actually tried, but can't access them like Burst or Per Functional Registers via stf/ldf instructions. Something like :

          stf Greg[3],CA              # Greg3 preloaded with 2

          ( Hex-Inst. => 0x6b80 )

to load the Polynomial Register (CA) did not work. Where could be the Bug?

some hint's will be very helpful

Best regards

Lars

标签 (2)
标记 (1)
0 项奖励
回复
2 回复数

1,510 次查看
admin
Specialist II

Lars, have you tried following the steps of table 66-5 of the i.MX53 RM?

0 项奖励
回复

1,510 次查看
larstraeger
Contributor II

Hello Grant,

yes i use the recommendet order. first load CA, then init CS and process data. But everytime i read 0x00 from the CS Register.

I also tried to load the CA register with a value (0x2)  and read it back after channel script finished from the channel context area. But the value was 0x00. So i think i use the wrong opcodes for CRC ldf/stf instructions?

Is the opcode/hex-inst. right?:

          stf Greg[3],CA              # Greg3 preloaded with 2

          ( Hex-Inst. => 0x6b80 )


Thanks and Regards

Lars

0 项奖励
回复