2008-05-13 11:27 PM
2008-05-04 08:19 PM
Hi,
Anyone tried to configured 256K baud rate on their UART? I tried doing it with UART_Init but the host not able to receive any data. Did some calculation based on the reference manual example and found that output is 256410 which is 0.16% error. Could this be the problem? What setting should I use? Thanks2008-05-05 06:50 PM
You could have miscalculated. Or you are using a RS-232 driver that is not able to support the 256K data rate. Ultimately, a digitizing scope can tell you what's wrong: you'll be able to see if the bits are on the wire, and verify timing.
2008-05-13 11:25 PM
Using the default STR7 library codes, so the calculations should not be incorrect. Use my IAR debugger to verified that the calculation is correct. Data is send to the host through an USB-to-Serial converter.
To ensure the dongle is working, I have separate a device that can send out a baud rate of 256000 and there are no data error. It is only when using this USB dongle with the STR751 at 256000 baud, the data received are incorrect.2008-05-13 11:27 PM
one more thing, I am using a STR7 demo board and a modification of the STR7 In-Application Programming example code for testing.