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.

TMS570LS1227: Examples and system configuration

Part Number: TMS570LS1227
Other Parts Discussed in Thread: HALCOGEN

Hi,

My customer is using the TMS570LS1227 and he needs some examples.

1. RTOS-based bootloader

    - He uses serial ROM bootloader. NO RTOS-based firmware images operate after downloading through the ROM bootloader, but RTOS-based examples do not.     

2. Example for DMA

3. Frequent interrupt handling

    - Customer's system use many communication interface so the main process cannot be performed due to frequent interruptions.

      In this case, how should I handle the interrupt?

Thanks

  • Hi SY Yoon,

    1. RTOS-based bootloader

        - He uses serial ROM bootloader. NO RTOS-based firmware images operate after downloading through the ROM bootloader, but RTOS-based examples do not.     

    We don't have any bootloader example with RTOS.

    2. Example for DMA

    Please go through the Help_topics for TMS570LC43X controller in HALCoGen. There you can find couple of DMA examples with detailed step by step process

    If needed you can also refer below DMA examples created by me

    8836.SPI_DMA_TEST_LC4357 (2).zip

    2804.RM46_SCI_DMA.zip

    6102.DMA_memory_to_memory.zip

    3. Frequent interrupt handling

        - Customer's system use many communication interface so the main process cannot be performed due to frequent interruptions.

          In this case, how should I handle the interrupt?

    If you are getting frequent interrupts, in that cases it would be better to use DMA to reduce the burden on the processor. So, the processor may not necessary to go each time the interrupt occurs.

    For example, if you are getting frequent interrupts from ADC channels in that case use DMA to transfer ADC data to one buffer and after transferring several samples by DMA then the processor can go to the data and can perform the operations. In this mean time of DMA transfer the processor can execute the main loop.

    --

    Thanks & regards,
    Jagadish.