Part Number: TMS570LC4357 Other Parts Discussed in Thread: HALCOGEN Tool/software: I am attempting to utilize DMA with the ADC1 of the TMS570LC4357 without any interrupts. My goal is to sample the ADC at a rate configured by the RTI which I have configured to be the hardware trigger to the ADC. Once the ADC conversion is complete (for 2 channels in a single group) it should trigger the DMA to do a transfer that simply copies the new ADC conversion results to a buffer that has been configured to be shared in HalCoGen and the linker file. I have attached the adc.c and main.c files for this. My later goal (commented out code) is to chain the DMA to a second transfer so I can keep track of the number of DMA transfers that have occurred since my last check of it. After all this the DMA is not triggering transfers, and it's seeming like the ADC is not successfully converting any results. Any guidance or suggestions? e2e.ti.com/.../4520.HL_5F00_adc.c e2e.ti.com/.../4520.HL_5F00_sys_5F00_main.c
↧