AnsweredAssumed Answered

MRT: How to set up all 4 channels on LPC54608J512?

Question asked by Vladimir Ilyenko on Apr 10, 2018
Latest reply on Apr 16, 2018 by Vladimir Ilyenko

Hi,

I wanted to use MRT on LPC54608J512 for building of 2 timers: 100ms and 2ms.

MRT works perfectly, but only when I use one channel: Channel 0.

 

But I cannot use more than one channel simultaneously - in SDK for LPCXpresso 54606 (v.2.3.0) I see only one channel - MRT0.

Neither in start-up file "startup_LPC54608.c" nor in Peripherals View I cannot see other 3 MRT channels (MRT1, MRT2, MRT3) - only Channel 0: MRT0.

 

 

P.S.

In the header "LPC54608.h" I see also only Channel 0:

...................................................................
/*!
* @}
*/ /* end of group MRT_Register_Masks */


/* MRT - Peripheral instance base addresses */
/** Peripheral MRT0 base address */
#define MRT0_BASE (0x4000D000u)
/** Peripheral MRT0 base pointer */
#define MRT0 ((MRT_Type *)MRT0_BASE)
/** Array initializer of MRT peripheral base addresses */
#define MRT_BASE_ADDRS { MRT0_BASE }
/** Array initializer of MRT peripheral base pointers */
#define MRT_BASE_PTRS { MRT0 }
/** Interrupt vectors for the MRT peripheral type */
#define MRT_IRQS { MRT0_IRQn }

/*!
* @}
*/ /* end of group MRT_Peripheral_Access_Layer */

......................................................

Attachments

Outcomes