Author Topic: DMA Timer  (Read 26526 times)

Offline neil

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
DMA Timer
« on: December 27, 2010, 08:11:44 PM »
Hi Mark,
  On the 52259 I am using one of the 4 DMA timers (timer 1), is there any DMA timers I should avoid in my application due to utasker use?

Thanks
Neil

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3244
    • View Profile
    • uTasker
Re: DMA Timer
« Reply #1 on: December 28, 2010, 12:09:49 AM »
Hi Neil

The uTasker MODBUS module uses DMA timers when in serial RTU mode [defined by MODBUS0_DMA_TIMER_CHANNEL, MODBUS1_DMA_TIMER_CHANNEL and MODBUS2_DMA_TIMER_CHANNEL].
When GLOBAL_HARDWARE_TIMER is active (this is generally not used since this mode is probably being phased out) it uses a DMA timer [defined as HW_TIMER_USES_DMA_TIMER].

Otherwise there are no further restrictions.

Regards

Mark