Part Number: LAUNCHXL-F280049C
Other Parts Discussed in Thread: AMC3330, SYSCONFIG
I just bought a Launchxl-F280049c a couple of weeks ago.
I did a Fuel Level Sensor test succesfully. I basically used two example programs: adc_ex1_soc_software.c and sci_ex4_echoback.c. I copied the code for UART from sci example to adc example. I used the final code to acquire the adc value from ADCINA0 and send to a raspberry pi computer. I got correct Fuel Level data.
Then I started to measure a voltage sensor, with AMC3330 as isolation, the ouputs (differential) were fed to ADCINA0 and ADCINA1. From XDS debug, I can see the data values, but I can't see the data from GPIO pins (I used GPIO28 and GPIO29 for UART). my raspberry pi always display "27, 117,91" when I cast the first a few bytes to integer.
I switched the S6 switch from UART to BP when I use the GPIO pins for output.
I am sure I did something wrong, but I can't tell. Could anyone point out where I did wrong and how to make UART sending data.
Thanks.