This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2634: Is there a HalCoGen for Am2634 or is there a more comprehensive example with all built-in-test initialized?

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

  • Any thoughts on this? I spent months on your Hercules processors getting them configured, with a boot-loader, and FCC/Parity/etc all enabled, and that was with much TI help and HalCoGen. If this processor simply has 1000's of source files provided with no additional tools or more comprehensive examples, we may have to look at another one of your processors.

    Thanks,

    Jim

  • Hi Jim,

    Have you looked at syscfg tool in MCU PLUS SDK, it is exactly si,ilar to halcogen, It lets to select the configuration in a gui tool and generated .c and .h files for the same.

    SysConfig (ti.com)

    AM263x MCU+ SDK: Using SDK with SysConfig (ti.com)

    Please take a look at these above and let me know if you need any other help.

    For more training content onAM26x device go to AM26x academy: Academy Link

  • I did see the SysConfig, but I could find some of these low-level advanced features, like the ECC Aggregator, PBIST, or ESM. I did not even see a VIM section or how to bind the EPWM to an interrupt, so it looked to be of limited use. I then looked at the sdl_ecc_r5_atcm0 example, and it did not look like SysConfig was used to create this example, as the SysConfig portion looked to be the same as the LED-blink example. Do you know how I would locate these safety-check features in SysConfig?

    Thanks,

    Jim

  • Hi Jim, Apologies for the delay.

    I am routing this tread to our EPW expert to help on the EPWM configuration

    For safety let me check on this and get back by tomorrow.

  • Hi Jim,

    Unfortunately we do not have a tool like halcogen for AM26x for safety configuration.. We are in phase of designing a tool but its not complete yet. 

    Meanwhile you can still configure the EPWM interrupts using syscfg.