cancel
Showing results for 
Search instead for 
Did you mean: 

USART COMMUNICATION

chethurocks
Associate II
Posted on November 09, 2013 at 08:51

Hi;

In my project i am using two modules(Master and Slave). The master module uses STM32F103RBT6 and the slave module uses STM32F103ZET6.The master module is operating at 72MHz and with 115200 baudrate and  the slave modules is operating at 8MHz and with 115200 baudrate, with the above configuration i am able to communicate using modbus protocol.

However  I am not able communicate the master module with the slave, if i configure the master module at 8MHz and with 115200 baudrate.

So I need some assistance for the above,the configuration file has been attached please go through it.

Thanks in advance...

 
1 REPLY 1
Posted on November 09, 2013 at 09:17

When you're configuring the clocks, the process should be sequenced, testing the readiness at each step, you don't spin at the end waiting on everything.

Use the MCO and a Scope and confirm the part is running at the speed you expect.

Consider using the library code to set up the part.
Tips, Buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..