I have an TM4C123GH6PM, I have also the board EK-TM4C123GXL with that MCU. I am new to microprocessors and still studying to learn. I have to implement a project with a Bluetooth module, which connects over UART to a host MCU. I want to know if I can use this MCU for the host.
The MCU will read an analog signal, and must sample continuously and periodically with a rate of at least 8000-10000 samples per second. In real time, this data will be forwarded directly to the UART and sent to the Bluetooth module. My questions are,
- First of all, is this possible with this MCU?
- Secondly, I know how to use UART and how to use ADC basically, but how do I configure ADC to run periodically and continuously - if that is not the default- ?
- Thirdly, as I know, the UART operates with 10 bits when there is only one stop bit and no parity bit, the remaining is 8 bits, how do I workaround to get 12 bits of data per sample from ADC, other than truncating?
Thanks in advance.