In MPC8309 Linux BSP, there is a file ucc_tdm_framer.c in Kernel driver can be used as a reference, I have attached it, MPC8309 Linux BSP can be downloaded from MPC8309: Low-Power PowerQUICC II Pro Processor with DDR2, eSDHC, 128-ch. HDLC/TDM, 10/100 Ethernet, ....
In addition, NetComm Software provides UCC HDLC driver, I also attached it for you, please download NetComm 4.4 from http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=NetComm_Software&fpsp=1&tab=Design_To... if needed.
Have a great day,
Yiping Wang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
In MPC8309 Linux BSP, there is a file ucc_tdm_framer.c in Kernel driver can be used as a reference, I have attached it, MPC8309 Linux BSP can be downloaded from MPC8309: Low-Power PowerQUICC II Pro Processor with DDR2, eSDHC, 128-ch. HDLC/TDM, 10/100 Ethernet, ....
In addition, NetComm Software provides UCC HDLC driver, I also attached it for you, please download NetComm 4.4 from http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=NetComm_Software&fpsp=1&tab=Design_To... if needed.
Have a great day,
Yiping Wang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------