Our task is to port the modbus library for the LPC4370 controller using DMA. Tell me, please, how to make the timer, counting the timeout from the time of the last received byte on UART, be reset by the interrupt "Receive data ready"? The reset must be hardware, without the CPU usage. We suspect that we need to use the State Configurable Timer for these purposes, but we do not know how to use it
Solved! Go to Solution.
Hi Vitaliy Livnov,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Actually, I'm very clear about your implementation.
So to provide the fastest possible support, I'd highly recommend you to refer to the application note (AN11538) which demonstrates a variety of SCTimer usage.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Vitaliy Livnov,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Actually, I'm very clear about your implementation.
So to provide the fastest possible support, I'd highly recommend you to refer to the application note (AN11538) which demonstrates a variety of SCTimer usage.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi, jeremyzhou. Thanks for your help. Perhaps you know the ready-made examples of modbus implementation for LPC43xx?
Hi Vitaliy Livnov,
Unfortunately, there're no application notes about MODBUS protocol implementation for LPC43xx series.
I think you can contact NXP's partner: CASCADEMIC Solutions Pvt. Ltd to apply for this kind of solution.
There is a paper which introduces MODBUS Protocol Implementation for Microcontroller, you can refer to it for details.
http://academicscience.co.in/admin/resources/project/paper/f201708081502176908.pdf
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Ok, thank you.