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.

TMS570LS3137: How to configure DMA BER interrupt with HALCOGEN/TMS5730LS3137?

Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN

I need help with TMS570LS3137 VIM, DMA and EMS controllers configuration.

I want to use DMA with SCI to increase global performances.

The transmission works fine, but I have some issues with the reception.

DMA Controller has 5 interrupt sources: BTC, FTC, HBC, LFS and BER. All of them are connected to VIM excepted BER.

According to this entry TMS570LS3137: DMA Detected Bus Error, BER are mapped to Channel 5 and Channel 13 for read and write. 

But in HALCOGEN, those channels are mapped to AHB (AMBA High-Performance Bus), so how can I detect if a DMA channel stops because of an error?

And what is the right algorithm to handle this error?

Do I have to do something on SCI?

Do I have to reconfigure the DMA channel?

Best regards

Fabrice

  • Hi Fabrice,

    Apologies for the delayed response, occupied with other priority issues in the mean time.

    According to this entry TMS570LS3137: DMA Detected Bus Error, BER are mapped to Channel 5 and Channel 13 for read and write. 

    Here channels mean not VIM channels, they are ESM channels.

    They mean about below channels of ESM.

    As mentioned in TRM "BERFLAG" this BER flag will never set this device, and instead of we should need to configure and use above two ESM channel interrupts to monitor bus error reporting in DMA.

    --
    Thanks & regards,
    Jagadish.