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.
Tool/software: TI-RTOS
"Hi ,
I need to use a HM-10 Module & CC3100 booster pack with my TM4C123GXL board in RTOS. So the available pins are PC_6 as Rx and PD_7 as Tx for connecting the Bluetooth module. I am unable to establish the UART communication to Bluetooth. I have enabled that in normal CCS. But how to do that in RTOS?
Please help."
Hi Vishnuprasad,
Maybe you can start with one of the BIOS examples and add your driverlib calls to it. Is everything working in the non-BIOS environment?
Best regards,
Janet
Thanks for the reply,
With the imported energia code the system worked pretty fine.
Since enegia has better libaries and simple examples it was quite a simple task to edit that all.
But in the bios environment I gone through the UART examples, but that all only deals with UART 0 only.
I only started working with CCS just 2months ago.
Without bios(ie. Non-rtos) I worked on some UARTS and. It all was fine. But when it come to RTOS I am not clear about where to start actually.
I didnt get any right way to work on UARTs in the .cfg file.
Hi Vishnuprasad,
In TIRTOS, the peripherals are configured in a <board>.c file, e.g., in EK_TM4C123GXL.c. If you import any of the TIRTOS examples, they will have this board file in the project. You can add an entry to the uartTivaHWAttrs[] and UART_config[] tables. The pins can be configured in EK_TM4C123GXL_initUART() (also in the board file).
You can also add the UART to the UARTName enum in the EK_TM4C123GXL.h file, and a "Board_UART1" define to Board.h. I recommend looking at another peripheral in the <board> files that has multiple entries, such as SPI or PWM, to follow as an example.
Best regards,
Janet
Hi Vishnuprasad,
You should not need to make modifications to the .cfg file to configure or enable the UART.
Best regards,
Janet