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.

115200 UART problem in 6713

Hi,

An engineer left and I need to take over his development.

It is a UART 115200, just using GIO_write, pin are DR1 and DX1 (MSBSP-1). The data was wrong some time. I tried to use better cable and stuff, but no luck. The PCB layout looks ok. 

If it runs at 38400, the UART is so-so, still has wrong character.

My co-worker said 6713 had no hardware UART, the one in the program is software UART (using GIO_write), it is hard to set the speed to 115200.

I'm new to 6713, any information is appreciated. Thanks.

  • Hi Andy,

    Thanks for your post.

    Basically, if the static configuration parameters required by GIO standard API's are met, the UART driver handle will be created through GIO_create API call which are typically accessed at run-time. I mean, the parameters required by these API functions vary for each driver and in your case, to configure UART baudrate through software API call, you have to refer the UART driver's sample application or user guide to validate the configuration parameters used by GIO_create API. Also, validate the GIO_Attrs parameter used by GIO_create API to successfully create a UART driver handle and thereafter, the UART peripheral device would be ready for I/O transactions immediately.

    Please check the PSP's uer guide or sample application for the UART driver to determine the GIO API parameters and kindly validate the same.

    <installdir>\BIOSPSP\packages\ti\pspiom\uart\build

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    -------------------------------------------------------------------------------------------------------

  • Hi Andy,
     
    I got to know that, GIO API calls won't work as similar to C6747 to configure UART parameters since you are familiar that c6713 do not have a UART peripheral as like c6747. So, in this case,  you could use McBSP pins to toggle at the correct baudrate and value to mimic the operation of a UART. To do this, you could refer the application note SPRA633 and this app. note does not use GIO API calls.
     
    Thanks & regards,
    Sivaraj K
    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    -------------------------------------------------------------------------------------------------------