Hello praktikant2fs3551.scw@zf.com,
First of all you didn't specified which MBDT toolbox or Matlab version or board (e.g S32K or MPC57xx) are you using.
However, let me get this straight: you want at some point in your application to start sending one by one messages at 1ms between them? Or do you want to sent 10 messages, all at once at 1ms between those groups?
Our toolboxes provides three PIT blocks (on MPC but is the same on S32K's LPIT):
1. PIT_Config - this block configures a PIT channel by setting the interval between interrupts in us or ticks. It also offers the possibility to start immediately after initialization the counter or to start at a certain point in your application by using the PIT_Counter_Start_Stop block.
2. PIT_Counter_Start_Stop - this block starts or stops the PIT channel counter. It the channel counter is stopped then no interrupt will be triggered either if it is active or not.
3. PIT_Interrupt_Enable_Disable - As the name says this block enables or disables the interrupt. This means that the it only disables the interrupt, but the channel counter might still be active.
So basically a PIT channel has a counter register. The PIT_Config configures the channel when to trigger an interrupt. The PIT_Counter_Start_Stop starts or stops the counter register while the PIT_Interrupt_Enable_Disable enables or disables if the interrupt should be triggered when the values from the counter matches the PIT config value.
Waiting for your reply,
Marius