S32K CMP roundrobin

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K CMP roundrobin

902 Views
bastih84
Contributor I

Hi,

How can I use roundrobin mode for four channels (if possible without interrupts) with S32K.

I use NXP SDK's at the moment.

For one channel (without roundrobin and with interrupt) everything works fine.

Is there any example from somebody available? For roundrobin mode?

I will also use internal DAC, same limit for all channels.

Thanks a lot

Bastian

0 Kudos
2 Replies

676 Views
razva_tilimpea
NXP Employee
NXP Employee

Hi Bastian,

At this moment we don't have any example with CMP in trigger mode/round robin.

I don't know your usecase, but is important to know that this CMP mode is available only if the MCU is STOP1 or VLPS and LPTRM must be used to trigger the CMP comparisons.

Best regards,

Razvan

0 Kudos

676 Views
youssef
Contributor II

Hi Rasvan,

Do you have any example about how to use CMP in trigger mode to wakeup S32 from VLPS?

I tried to configure LPTMR and CMP to work in round robin mode but no success yet.

Thanks,

Youssef

0 Kudos