CRC Unit in SDMA

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CRC Unit in SDMA

798 Views
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

Labels (2)
Tags (1)
0 Kudos
2 Replies

521 Views
admin
Specialist II

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

0 Kudos

521 Views
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 Kudos