Other Parts Discussed in Thread: EK-TM4C123GXL
Sir,
I am using 4 analog input for EMG recording. My task is to send status of switch on UART along with continous recording. Please suggested me
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.
Sir,
I am using 4 analog input for EMG recording. My task is to send status of switch on UART along with continous recording. Please suggested me
Your request is vague. There are many considerations such as format of the data and sample rate that you need to consider. I have attached a simple project that uses the ADC and the UART. Use the Code Composer Studio "File" -> "Import" function to add this project to your code space.
/cfs-file/__key/communityserver-discussions-components-files/908/ADCwUART.zip
Sir,
I am already use your sending link but i want to sample rate only 2048 per sec. So please tell where i will change in this code.
Actually sir, I want to send push button (sw1 or sw2) status ( press or not) in binary form on UART.
Look at the file: C:\ti\TivaWare_C_Series-2.1.4.178\examples\boards\ek-tm4c123gxl\drivers\buttons.c. This file has functions for configuring the push buttons on the EK-TM4C123GXL launchpad and for reading either the raw value or a de-bounced value. You can use the UARTCharPut() function to send the button state out of the UART.
See thread https://e2e.ti.com/support/tools/ccs/f/81/t/882066 for information about doing 2048 samples/second.
Sir,
Thanks for all these lovely answer. I have solve my problem with your support.