Other Parts Discussed in Thread: TMS320F28335
Hi everyone,
I'm working on TMS320F28335 for control system application. In my project it is required to use the peripherals configuring differently in different modes Built_In_test (BIT) mode and Operational (OP) mode. On booting, first Built in tests are performed and then on receiving the command it has to switch to operational mode which i declared as a separate function.
In BIT mode, I'm checking the peripherals ADC, SCI, SPI, memory. I'm using ISR for internal ADC on EOS for checking the converted data. At last SCI and ADC are reset.
In OP mode, first I configure and initialize all the peripherals and ISRs once again. Here I'm using ADC, Timer, DMA. The timer raises interrupt for every 200 microsec and on interrupt SOC is given to ADC. Here on EOS, DMA transfer happens. After the transfer is over, the data is processed and SCI is used for comm. Here I'm using different variable counts for each peripherals
I observed the following cases:
1) Using ADC in BIT mode and without using DMA in OP mode, it's working fine
2) without ADC in BIT mode and without DMA in OP mode, it's working fine
3) using ADC in BIT and without DMA in OP mode, on reloading program different times, each time it is showing different case( timer count goes for 33 and stops, illegal ISR, timer count shows greater than the ADC count...)
4) using ADC in BIT and DMA in OP, it is not running even for one time showing illegal ISR
kindly help me in this issue
