freemodbus on stm32

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
aspnair
Posts: 2
Joined: Wed Oct 02, 2013 10:43 am

freemodbus on stm32

Post 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
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: freemodbus on stm32

Post 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
Pavel
Posts: 3
Joined: Mon Oct 07, 2013 1:49 pm

Re: freemodbus on stm32

Post 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
User avatar
alex31
Posts: 445
Joined: Fri May 25, 2012 10:23 am
Has thanked: 57 times
Been thanked: 88 times

Re: freemodbus on stm32

Post 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
Pavel
Posts: 3
Joined: Mon Oct 07, 2013 1:49 pm

Re: freemodbus on stm32

Post by Pavel »

Good work, Alexandre! Thank you!
Are you planning to realize freemodbus with master mode?

Pavel
Post Reply