Hi ,all
I am configuring ucc5 for hdlc in mpc8309twr board,and getting CRC error at the receive side .
I am able to send ppp data but that data is dropped at the other end because it contains crc error.
i have configured upsmr register for 16 bit crc.
hdlc controller should append CRC but ,it's not happening so.
@Please reply if any suggestion.
Thanks
Solved! Go to Solution.
1. CRC must be properly pre-initialized, please look QE Reference Manual, Table 14-3, fields C_MASK and C_PRES
2. CRC is transmitted only if L and TC bits are both set in TxBD, please look Table 14-6 for details.
3. CRC is transmitted msb first.
Here is a direct link to QE Reference Manual:
http://cache.freescale.com/files/netcomm/doc/ref_manual/QEIWRM.pdf
Have a great day,
Alexander
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
1. CRC must be properly pre-initialized, please look QE Reference Manual, Table 14-3, fields C_MASK and C_PRES
2. CRC is transmitted only if L and TC bits are both set in TxBD, please look Table 14-6 for details.
3. CRC is transmitted msb first.
Here is a direct link to QE Reference Manual:
http://cache.freescale.com/files/netcomm/doc/ref_manual/QEIWRM.pdf
Have a great day,
Alexander
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thankyou alot for your kind response . I got CRC .same problem i had not set bit TC in TxBD .so now i have set now and its working :smileyhappy::smileyhappy: .
Now my problem is that i am not getting RX packet and event handler is not executing for that .