Hello,
I want to send AT commands from BBB to a 4G module. Is it necessary to use Pinmux tool and rebuilding PDK to set up UART1 of the board??
I am really new to this, kindly guide me!
SDK : Processor SDK RTOS AM335x
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.
Hello,
I want to send AT commands from BBB to a 4G module. Is it necessary to use Pinmux tool and rebuilding PDK to set up UART1 of the board??
I am really new to this, kindly guide me!
SDK : Processor SDK RTOS AM335x
Hi,
You don't have to rebuild the whole PDK. The only thing that you need to rebuild when you develop your application on your custom board is the board library. Since your application runs on BBB, you should be able to use the pre-built board library in PDK, pdk_am335x_x_x_xx\packages\ti\board\lib\bbbAM335x\a8\release\ti.board.aa8fg.
The example CCS project "UART_BasicExample_bbbAM335x_armExampleProject" in PDK can be a good reference for you. Please refer to PDK example project creation about how to generate the example CCS projects.
Regards,
Jianzhong
Hi Jianzhong,
Thanks, I could execute that example project. But as I posted, I want to use the UART port 1 to interface with a 4G module and print the data transfer in the serial debug terminal. Is it really necessary to use the pinmux tool for configuring port 1 and build the pdk, or can it be done from the example project itself?
Regards,
Karthik
Hi Karthik,
Please refer to this Application Report about modifying board library to change UART instance on AM335x.
Regards,
Jianzhong
Hi Karthik,
Please note that the Application Report I mentioned above refers to some older releases of Processor-SDK. The procedure to generate the pinmux data files is the same. The only difference is, for latest release, you only need to rebuild the board library (but not starterware) after you modify the pinmux source code. The simplest way to build the board library for bbbAM335x is:
Regards,
Jianzhong
Hi Jianzhong,
I saw that pdf earlier. The problem is I could not build any diagnostics or board pdks using gmake (windows host) as I get a error "No rules to make target". I am still having that question open here in forum and I could not get any solution. Kindly suggest if there is some other method to access both UART1 port and serial debug (UART0) ports in an application using Beaglebone Black.
Regards,
Karthik
Hi Karthik,
Were you referring to this thread about the build problem: https://e2e.ti.com/support/tools/ccs/f/81/p/973340/3607542? Since you've solved that problem, you should be able to rebuild the board library with new board configuration.
If you want to use both UART0 and UART1, you just need to add UART1 instead of replacing UART0 with UART1 in the corresponding board configuration files. Here is another similar application note that you can look at for reference: Board porting up using Processor SDK RTOS for AM335x/AMIC110.
Regards,
Jianzhong
Hi Jianzhong,
I could follow the steps but I got error when building pdk with gmake starterware. It displayed some non-infra build error
Regards,
Karthik
Hi Karthik,
As I mentioned earlier, you only need to rebuild the board library (but not starterware) after you modify the pinmux source code.
Regards,
Jianzhong