Other Parts Discussed in Thread: MMWAVEICBOOST, IWR6843,
Hello Team,
I have been trying to send vital sign data from IWR6843+MMWAVEICBOOST to an Arduino mega. Also i have set the switch settings on the MMWAVEICBOOST as follows:
S12: on
S11: off
S10: off
S9: on
S8: on
S7: off
S6: off
S5: on
S4: on
S3: off
S2: on
S1: off
Furthermore, i used jumper wires to connect the IWR6843ISK +MMWAVEICBOOST and the Arduino mega board as follows
MMWAVEICBOOST J5. Arduino mega
Tx pin7 Rx pin19
Rx pin5 Tx pin18
GND pin4 GND 5V
But i am still unable to send the data to the Arduino mega. So i decided to conduct further investigation on the matter and i found that (https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/910142/launchxl-cc1352r1-communicate-to-iwr6843-tida-010022-reference), i need to enable two UART ports using configuration as shown below:
+ /* Open mmwave configuration UART port */ + UART_Params_init(&mmwaveUartParams); + mmwaveUartParams.writeDataMode = UART_DATA_BINARY; + mmwaveUartParams.readDataMode = UART_DATA_BINARY; + mmwaveUartParams.readReturnMode = UART_RETURN_FULL; + mmwaveUartParams.readEcho = UART_ECHO_OFF; + mmwaveUartParams.baudRate = 115200; //Configuration baud rate + mmwaveUartParams.readTimeout = 500000 / Clock_tickPeriod;
...
+ /* Open mmwave logger UART port */ + UART_Params_init(&mmwaveLoggerUartParams); + mmwaveLoggerUartParams.writeDataMode = UART_DATA_BINARY; + mmwaveLoggerUartParams.readDataMode = UART_DATA_BINARY; + mmwaveLoggerUartParams.readReturnMode = UART_RETURN_FULL; + mmwaveLoggerUartParams.readEcho = UART_ECHO_OFF; + mmwaveLoggerUartParams.baudRate = 921600; //Configuration baud rate + mmwaveLoggerUartParams.readTimeout = 500000 / Clock_tickPeriod;
However, when i asked one at forum about this some weeks ago they said "As long as the Arduino is connected over UART, nothing would need to change since the breathing rate and heart rate are included in the Vital Signs Output Stats. The customer would need to parse the UART data to find the breathing and heart rate data in the vital signs output strucute"
(https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1133545/iwr6843isk-application-inquiry)
My Questions are :
1. Please can you provide mw with detailed explain of how to do this or may be an example?
2. Please can you provide mw with an example of a code to enable two uart port at J5 connector on the MMWAVEICBOOST?
4. Please what part of the program do i modify to used the data out via UART?
5. Please can you provide me with an example of a connecting between arduino the uart pin on mmwaveicboost 'd J5 connector?
Best regards,
James