S32K344 LPCMP

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

S32K344 LPCMP

Jump to solution
1,920 Views
Neo1096
Contributor III

I have a question about cmp in round robin mode. The round robin clock, RTC_CLK, high frequency limit mainly depends on facts:DAC initialization time. fRCLK < 63 / Tinitialization (it's 30us in S32K344). so RCLK should be smaller than 2.1MHz.

But, RCLK has four clock resource: SXOSC(32.768kHz). SIRC(32kHz), FIRC(the smallest value is 3MHz),FXOSC(the smallest value is 8MHz).

So, How could i get 2MHz?

i want to use cmp to detect the over current of 6 channels. but the RCLK is too long as i understand. Do I have to use an external comparator? 

Neo1096_0-1713165039619.png

Neo1096_2-1713165315677.png

 

0 Kudos
Reply
1 Solution
1,853 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Neo1096,

This is specified in the RM.

danielmartynek_0-1713792811153.png

 

I don't know the use case so I can't help with that.

 

Regards,

Daniel

View solution in original post

0 Kudos
Reply
1 Reply
1,854 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Neo1096,

This is specified in the RM.

danielmartynek_0-1713792811153.png

 

I don't know the use case so I can't help with that.

 

Regards,

Daniel

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1846846%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K344%20LPCMP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1846846%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20a%20question%20about%20cmp%20in%20round%20robin%20mode.%20The%20round%20robin%20clock%2C%20RTC_CLK%2C%26nbsp%3Bhigh%20frequency%20limit%20mainly%20depends%20on%20facts%3ADAC%26nbsp%3Binitialization%20time.%20fRCLK%20%26lt%3B%2063%20%2F%20Tinitialization%20(it's%2030us%20in%20S32K344).%20so%26nbsp%3BRCLK%20should%20be%20smaller%20than%202.1MHz.%3C%2FP%3E%3CP%3EBut%2C%20RCLK%20has%20four%20clock%20resource%3A%20SXOSC(32.768kHz).%20SIRC(32kHz)%2C%20FIRC(the%20smallest%20value%20is%203MHz)%2CFXOSC(the%20smallest%20value%20is%208MHz).%3C%2FP%3E%3CP%3ESo%2C%20How%20could%20i%20get%202MHz%3F%3C%2FP%3E%3CP%3Ei%20want%20to%20use%20cmp%20to%20detect%20the%20over%20current%20of%206%20channels.%20but%20the%20RCLK%20is%20too%20long%20as%20i%20understand.%26nbsp%3BDo%20I%20have%20to%20use%20an%20external%20comparator%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Neo1096_0-1713165039619.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Neo1096_0-1713165039619.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F273678iCFBDE94995CF4432%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Neo1096_0-1713165039619.png%22%20alt%3D%22Neo1096_0-1713165039619.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Neo1096_2-1713165315677.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Neo1096_2-1713165315677.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F273680i550C4E30D3FD610D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Neo1096_2-1713165315677.png%22%20alt%3D%22Neo1096_2-1713165315677.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1851674%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K344%20LPCMP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1851674%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F229677%22%20target%3D%22_blank%22%3E%40Neo1096%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThis%20is%20specified%20in%20the%20RM.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22danielmartynek_0-1713792811153.png%22%20style%3D%22width%3A%20611px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22danielmartynek_0-1713792811153.png%22%20style%3D%22width%3A%20611px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F275041i600BA1753B70F926%2Fimage-dimensions%2F611x331%3Fv%3Dv2%22%20width%3D%22611%22%20height%3D%22331%22%20role%3D%22button%22%20title%3D%22danielmartynek_0-1713792811153.png%22%20alt%3D%22danielmartynek_0-1713792811153.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EI%20don't%20know%20the%20use%20case%20so%20I%20can't%20help%20with%20that.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3EDaniel%3C%2FP%3E%3C%2FLINGO-BODY%3E