Page 1 of 1

freemodbus on stm32

Posted: Wed Oct 02, 2013 2:03 pm
by aspnair
I am interested to use freemodbus on stm32f407 discovery. But, a couple of questions.
As per freemodbus, it is required to have interrupt support for UART.
http://www.freemodbus.org/index.php?idx=2

I also saw one of the previous threads.
http://forum.chibios.org/phpbb/viewtopic.php?f=16&t=1072

Since, ChibiOS does not support UART interrupt would it work properly?
Anyone got it working?
Or any port is already available?

Thanks and Regards

Anand

Re: freemodbus on stm32

Posted: Wed Oct 02, 2013 2:53 pm
by Giovanni
You can implement that using the UART driver and its callback or using directly the UART if you like.

aspnair wrote:ChibiOS does not support UART interrupt


Where did you read that? you can use any interrupt.

Giovanni

Re: freemodbus on stm32

Posted: Tue Oct 08, 2013 2:37 pm
by Pavel
Hello, Aspnair!
What's about your work with freemodbus?
I'll be very thankful if you can share results of your work.
May be, I could help you if you need (although, I'm absolutely novice in ChibiOS/RT).
Best regards,
Pavel

Re: freemodbus on stm32

Posted: Mon Oct 14, 2013 10:19 pm
by alex31
i had done an implementation of freemodbus for chibios for a project, mode details in this thread :
viewtopic.php?f=4&t=667&hilit=freemodbus

Alexandre

Re: freemodbus on stm32

Posted: Thu Nov 07, 2013 12:50 pm
by Pavel
Good work, Alexandre! Thank you!
Are you planning to realize freemodbus with master mode?

Pavel