2016-12-30 01:20 PM
Hello there,
Is there any list of STM32 devices with native ModBus support? I am trying to find a proper mcu and I have to open each datasheet by hand and ctrl+F for modbus. There has to be a better way. So far I have figured out that only the newer devices have it (ie. F0 and F7). I need something in between with modbus support.
I would appreciate all help.
#stm32 #modbus2017-01-11 09:11 AM
2017-01-11 09:20 AM
This is interesting. I did not know one could choose ''Modbus communication'' in any MCU. Also your example is the first mcu that allowed that for me, other F0's didnt have this feature. I configured it manually using async uart. I have reproduced your problem on my CubeMX. Indeed only TX pin is being configured. Additionaly, one cannot configure this peripheral:
2017-01-11 09:42 AM
It is not absolute necessary to set the USART as it offers a menu of the
Cube. You can combine the modern functions as you need. For example You can
use IDLE detection of Modbus with automatic DE signal by full duplex mode.
With using 3 pins connection.
2017-01-11 18:21 GMT+02:00 Lukasz Przenioslo <st-microelectronics@jiveon.com
>:
STMicroelectronics Community
<https://community.st.com/?et=watches.email.thread>
Re: STM32 chips with native modbus support
reply from Lukasz Przenioslo
<
in STM32 MCUs Forum - View the full discussion
<https://community.st.com/0D70X000006SzTJSA0
2017-01-11 09:44 AM
Yes everything works when one sets it manually. The mxcube generator just doesnt.
2017-01-11 09:53 AM
CubeMX is a good tool, but as it is not perfect, now. I think all ahead.
2017-01-11 18:45 GMT+02:00 Lukasz Przenioslo <st-microelectronics@jiveon.com
>:
STMicroelectronics Community
<https://community.st.com/?et=watches.email.thread>
Re: STM32 chips with native modbus support
reply from Lukasz Przenioslo
<
in STM32 MCUs Forum - View the full discussion
<https://community.st.com/0D70X000006T1CWSA0