How to access PIT timer register of VF50 . Not able to read/write the PIT timer value at address (0x40037000)
Hi,
I just tested the latest MQX version and the hello_world example with the following modifications and I was able to acces the PIT module.
void hello_task
(
uint32_t initial_data
)
{
(void)initial_data; /* disable 'unused variable' warning */
printf("Hello World\n");
PIT_MCR = 0 ;
PIT_LDVAL0 = 0xFFFF;
PIT_TCTRL0 |= PIT_TCTRL_TEN_MASK;
_task_block();
}
Best Regards,
Alejandro