Part Number: AM2634
Tool/software:
I am trying to create a safety-critical, interrupt-based (no-rtos), motor-control application that also includes all of the AM2634 built-in test (ECC, lock-step, parity, etc). I first built my application based on the mcan_loopback_polling example, and all is well -- PWMing, analog-reads, CAN/RS422 communicate, etc. Then I tried to merge in the ECC-initialization code from the sdl_ecc_r5_atcm0 example, which I have been unsuccessful at -- there is SO much software linked in here, that just getting the source merged to compile took days. What I believe is happening, is the interrupt structure and/or CPU-initialization of my motor-control application is incompatible with this ECC-test code. When I put it all together, it flies off into the weeds -- executes from memory with no code.
I had similar problems with 2 of your Hercules processors, and HalCoGen was the means TI provided to allow me to enable/disable various peripherals (and interrupts and memory layout) -- and still keep the processor booting. Is there a HalCoGen-like application for this AM2634, or do you have any examples that are more comprehensive -- like something with a PWM-based (or any peripheral) interrupt plus all of the ECC, parity, and lockstep code enabled?
Thanks,
Jim