Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Have an account? Sign In
Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people's questions & connect with other people.

Sign Up Here
Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Volt.Tech

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

volt.tech Logo volt.tech Logo
Sign InSign Up

volt.tech

volt.tech Navigation

  • Home
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Tags
  • Category
    • Amplifiers
    • Passives & Protection
    • Clocks & Timing
    • Diodes & Rectifiers
    • FPGAs & PLDs
    • Interface ICs & Transceivers
    • LEDs & Optoelectronics
    • Memories
    • MEMS & Sensors
    • Microcontroller
    • Power Management
    • RF & Microwave
    • Security & Smart Card
    • Motor Drivers
    • Wireless Connectivity
  • Groups
  • Add group
  • Badges
  • Help
  • Home
  • About Us
  • Contact Us
Home/Questions/Q 968
Next
In Process
vsharma
  • 0
vsharma
Asked: May 21, 20222022-05-21T15:05:01+05:30 2022-05-21T15:05:01+05:30In: Microcontroller

UART

  • 0

How do we change the UART BR in runtime?

renesasrh850runtimeuartuart br
  • 1 1 Answer
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    Related Questions

    • R_SPI_Write Read is non-blocking?
    • How to Set Trigger ADC from GPT?
    • RA6M3 SPI_Transmit NMI_HANDLER?
    • Regarding the connection of some electronic components on MCU 7?
    • What is straightforward and more logical methods for RA6M3 Video Record?

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. pallavi sharma
      2022-07-13T15:55:52+05:30Added an answer on July 13, 2022 at 3:55 pm

      There are basically two way to change the UART baud rate at run-time.  It depends how you allocated the UART. If you allocated by PDL-method (ie. In the PSoC Creator TopDesign or Modustoolbox Device Configurator [design.modus])  then use the PDL SysClk API calls: Configure Baud Rate To get the UARTRead more

      There are basically two way to change the UART baud rate at run-time.  It depends how you allocated the UART.

      If you allocated by PDL-method (ie. In the PSoC Creator TopDesign or Modustoolbox Device Configurator [design.modus])  then use the PDL SysClk API calls:

      Configure Baud Rate

      To get the UART to operate with the desired baud rate, the clk_scb frequency and the oversample must be configured. Use the SysClk (System Clock) driver API to configure clk_scb frequency. Set the oversample parameter in configuration structure to define the number of the SCB clocks within one UART bit-time.

      /* UART desired baud rate is 115200 bps (Standard mode).* The UART baud rate = (clk_scb / Oversample).

      * For clk_peri = 50 MHz, select divider value 36 and get SCB clock = (50 MHz / 36) = 1,389 MHz.

      * Select Oversample = 12. These setting results UART data rate = 1,389 MHz / 12 = 115750 bps.

      */

      Cy_SysClk_PeriphSetDivider  (UART_CLK_DIV_TYPE, UART_CLK_DIV_NUMBER, 35UL);

      Cy_SysClk_PeriphEnableDivider(UART_CLK_DIV_TYPE, UART_CLK_DIV_NUMBER);

      Refer to the technical reference manual (TRM) section UART sub-section Clocking and Oversampling to get information about how to configure the UART to run with desired baud rate.

      link: file:///C:/Program%20Files%20(x86)/Cypress/PDL/3.1.1/doc/pdl_api_reference_manual/html/group__group_…

      If you allocated the UART by the HAL-method use:

      cyhal_uart_set_baud()  link: Hardware Abstraction Layer (HAL)

      See less
      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Continue with Facebook
    Continue with Google
    or use

    What is the capital of Egypt? ( Cairo )

    Forgot Password?

    Need An Account, Sign Up Here
    Continue with Facebook
    Continue with Google

    Sidebar

    Ask A Question

    Related Questions

    • Julian White

      How to Set Trigger ADC from GPT?

      • 1 Answer
    • nidhi singh

      RA6M3 SPI_Transmit NMI_HANDLER?

      • 1 Answer
    • vikas Nagpal

      Tool chain configured for a project not presently available Error ...

      • 1 Answer
    • ashishgawade

      How to set the Heap and Stack Sizes in Simple ...

      • 1 Answer
    • nidhi singh

      How Virtual EEPROM and RA2E1 Product work Together?

      • 1 Answer

    Stats

    • Questions 418
    • Answers 405
    • Comments 0
    • Best Answers 9
    • Popular
    • Answers
    • Manoj

      Configuration using .dp vision in Infineon XDPL series IC .

      • 5 Answers
    • Linto

      Renesas RL78/G14 ADC interface code

      • 4 Answers
    • Julian White
      Julian White added an answer Hello Alex, By default, the perpetration of the drivers in… June 7, 2023 at 9:52 am
    • ashishgawade
      ashishgawade added an answer Hi, For enabling the automatic password sequencing you can write… June 2, 2023 at 11:23 am
    • ashishgawade
      ashishgawade added an answer Hello, C19 (parallel to Riseth resistor) marked as NC in… May 31, 2023 at 11:41 am
    • Alex thomas
      Alex thomas added an answer It will not. Note that the 3.3 V LDO doesn't"… May 29, 2023 at 10:15 am
    • nidhi singh
      nidhi singh added an answer Hello, Thanks for reaching out to Volt Tech Engineering Community.… May 26, 2023 at 10:30 am

    Users

    smartzip

    smartzip

    • 0 Questions
    • 0 Answers
    test10670802

    test10670802

    • 0 Questions
    • 0 Answers
    cocobellacb

    cocobellacb

    • 0 Questions
    • 0 Answers

    Explore

    • Tags
    • Category
      • Amplifiers
      • Passives & Protection
      • Clocks & Timing
      • Diodes & Rectifiers
      • FPGAs & PLDs
      • Interface ICs & Transceivers
      • LEDs & Optoelectronics
      • Memories
      • MEMS & Sensors
      • Microcontroller
      • Power Management
      • RF & Microwave
      • Security & Smart Card
      • Motor Drivers
      • Wireless Connectivity
    • Groups
    • Add group
    • Badges
    • Help

    Footer

    volt.tech

    Volt.Tech

    Find your spark

    About Us

    • About Us
    • Contact Us
    • Groups

    Legal Stuff

    • Privacy Policy
    • Faqs

    Follow

    © 2022 volt.tech. All Rights Reserved
    With Love by volt.tech.

    Go to mobile version

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.