Hi,
We are developing one application where in we are using TI-ICE for Sitara AM3359. In our project we need some digital inputs, PWM and analog inputs. We are developing the firmware using SYS/BIOS. We checked for sample application for all the above three but did not find anything using SYS/BIOS. In starterware we could find some reference codes which are developed with no OS. We took this as reference and tried to use the sample application and tried to convert them sys/bios. We could get success in configuring the GPIO and PWM. We have taken the reference from the starterware files "ehrpwm_haptics.c" for pwm, "adcVoltMeasure.c" for ADC.
The example in adcVoltMeasure.c file explains the ADC using interrupt based approach. Since we are using the SYS/BIOS and this sample code does not uses the SYS/BIOS, the interrupt initialization gets conflicted and as a result the our UART stops working (which is an interrupt based and using SYS/BIOS)
We need to use the ADC in polling mode as we would be configuring the ADC in s/w continuous mode. We checked in TRM for this processor and did not find any configuration for polling mode.
Does anybody has a reference code for ADC with SYS/BIOS and the PWM with SYS/BIOS? This would really help us to move fast.