- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can I change UART Component's baud rate at runtime by Application Programming Interface?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The UART is driven by a clock. when you use a prescaler (timer) you may freely change the baud-rate.
Are you working on PSoC 1,3, 4 or 5?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PSoC5LP. UART version is 2.30. Is it nesessary to set "Clock Selection" to "External Clock"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you want to control baud rate use external clock. Note you do not
have to use timer as clock has APIs you can use to control it.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Ольга.
I have a small project with comments in Russian. I hope it helps you.
it here: http://mylab.wmsite.ru/moi-razrab/cypress-psoc/
UART_Cogfig_Device.zip http://mylab.wmsite.ru/ftpgetfile.php?id=99
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi every body,
I'm doing a project with PSoC1 CY8C24123A, PSoC designer 5.4, using user modules: UART, Counter8 (determine frequency for UART).
Contents of project:
- PSoC receive data from another module.
-Then, PSoC send data to PC via RS232.
-Change UART baud rate while PSoC running (When receive data, baud rate is 4800; then send data, baud rate is 9600) (which I want at this project).
If I don't change baud rate, receiving data or sending data (baud rate is 4800), PSoC run well, data rerults are good (OK).
If I change baud rate when PSoC running (change baud rate by Counter8), no data rerults or once data results (then there are no data results). I don't why about my problem! Can you check my project, please? Is it correct?
Many thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you attach your project's archive, do NOT use chrome, forum software woun't accept that, use ie instead.
Bob