This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28377S: Running example "usb_host_msc" on F28377S LaunchPad

Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE

 I am working on F28377S LaunchPad on "usb_host_msc" and its crystal frequency is 10MHz. I want to change UART port and its baud rate to 9600. So what changes are required in this function to generate correct boud rate.

SysCtlClockSet (SYSCTL_OSCSRC_XTAL | SYSCTL_PLL_ENABLE |SYSCTL_IMULT (10)|SYSCTL_SYSDIV (2));
SysCtlAuxClockSet(SYSCTL_OSCSRC_XTAL | SYSCTL_PLL_ENABLE |SYSCTL_IMULT(12) | SYSCTL_SYSDIV(2));

  • Hi Sam,

    To configure the baud rate, you need to set this in the SCI configuration registers. Please see the SCI examples in C2000Ware. These will help you.

    Also, Aux clock will not be in use for SCI communication.

    Finally, the SCI clock runs off of the Low Speed Peripheral Clock (LSPC). This by default is 1/4 the frequency of SYSCLK.

    Regards,
    sal