AFE Sigma-Delta Channel Mapping and Multi-Phase Input Support on TWR-KM35Z75M (Metering Library)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

AFE Sigma-Delta Channel Mapping and Multi-Phase Input Support on TWR-KM35Z75M (Metering Library)

跳至解决方案
175 次查看
Anusudhan06
Contributor I

Hello NXP Team,

I am working on TWR-KM35Z75M using the latest MCUXpresso SDK and evaluating the Metering Library with the MKM35Z512 AFE (24-bit Sigma-Delta ADC). I need clarification on how the AFE channels are configured and how the metering library acquires samples.

  • SDK: Latest MCUXpresso SDK release for KM35

  • MCU: MKM35Z512VLQ7 (Kinetis-M series)

1. The metering examples (meterlib1ph_test, meterlib3ph_test) never explicitly reference these pins and need to know exactly where in the SDK the AFE channel-to-signal mapping is configured.
2. Actual AFE sampling rate (Hz / kHz), Whether sampling is triggered internally or by a timer, Whether samples are transferred via DMA, interrupt, or internal FIFO

3. I need to connect three-phase voltage and current signals to the board. What is the recommended channel assignment for 3-phase V/I pairs?

 

 

0 项奖励
回复
1 解答
144 次查看
carlos_o
NXP TechSupport
NXP TechSupport

Hi @Anusudhan06 

Thanks for your post, 

There same some Application Notes related to your questions please review it:

Using the FFT on Sigma-Delta ADCs

Kinetis-M Two-Phase Power Meter - Reference Design

Filter-Based Algorithm for Metering Applications

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
145 次查看
carlos_o
NXP TechSupport
NXP TechSupport

Hi @Anusudhan06 

Thanks for your post, 

There same some Application Notes related to your questions please review it:

Using the FFT on Sigma-Delta ADCs

Kinetis-M Two-Phase Power Meter - Reference Design

Filter-Based Algorithm for Metering Applications

 

0 项奖励
回复
40 次查看
Anusudhan06
Contributor I

Thank you @carlos_o 

I am currently integrating the Analog Front-End (AFE) configuration with the Metering Library in my project and would greatly appreciate it if you could provide a reference example.

I have already referred to the provided example file, meteringlib3Ph_test.c, which clearly shows how to use the Metering Library APIs.

However, We would greatly appreciate it, If you could provide a more complete reference example that explicitly demonstrates the integration of both the AFE configuration and the Metering Library together.

 

  • Initialization Sequence: The correct order and method for initializing both the AFE and the Metering Library.

  • Data Flow: How the raw AFE data is captured, formatted, and correctly passed as input to the Metering Library functions.

Thank you for your consideration of this request.

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2260220%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ETWR-KM35Z75M%20%E4%B8%8A%E7%9A%84%20AFE%20%E8%A5%BF%E6%A0%BC%E7%8E%9B-%E4%B8%89%E8%A7%92%E9%80%9A%E9%81%93%E6%98%A0%E5%B0%84%E5%92%8C%E5%A4%9A%E7%9B%B8%E8%BE%93%E5%85%A5%E6%94%AF%E6%8C%81%EF%BC%88%E8%AE%A1%E9%87%8F%E5%BA%93%EF%BC%89%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2260220%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%82%A8%E5%A5%BD%EF%BC%8CNXP%E5%9B%A2%E9%98%9F%EF%BC%8C%3C%2FP%3E%3CP%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%3CSTRONG%3E%E6%9C%80%E6%96%B0%E7%9A%84%20MCUXpresso%20SDK%3C%2FSTRONG%3E%E7%A0%94%E5%8F%91%3CSTRONG%3ETWR-KM35Z75M%3C%2FSTRONG%3E%EF%BC%8C%E5%B9%B6%E4%BD%BF%E7%94%A8%20MKM35Z512%20AFE%EF%BC%8824%20%E4%BD%8D%20Sigma-Delta%20ADC%EF%BC%89%E8%AF%84%E4%BC%B0%3CSTRONG%3E%E8%AE%A1%E9%87%8F%E5%BA%93%3C%2FSTRONG%3E%E3%80%82%E6%88%91%E9%9C%80%E8%A6%81%E6%BE%84%E6%B8%85%20AFE%20%E9%80%9A%E9%81%93%E6%98%AF%E5%A6%82%E4%BD%95%E9%85%8D%E7%BD%AE%E7%9A%84%EF%BC%8C%E4%BB%A5%E5%8F%8A%E8%AE%A1%E9%87%8F%E5%BA%93%E6%98%AF%E5%A6%82%E4%BD%95%E8%8E%B7%E5%8F%96%E6%A0%B7%E6%9C%AC%E7%9A%84%E3%80%82%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3ESDK%EF%BC%9A%E9%80%82%E7%94%A8%E4%BA%8E%20K%20%3CSTRONG%3EM35%20%E7%9A%84%E6%9C%80%E6%96%B0%20MCUXpresso%20SDK%3C%2FSTRONG%3E%20%E7%89%88%E6%9C%AC%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EMCU%EF%BC%9A%3CSTRONG%3EMKM35Z512VLQ7%3C%2FSTRONG%3E%EF%BC%88Kinetis-M%20%E7%B3%BB%E5%88%97%EF%BC%89%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E1.%3CSTRONG%3E%E8%AE%A1%E9%87%8F%E7%A4%BA%E4%BE%8B%EF%BC%88meterlib1ph_test%E3%80%81meterlib3ph_test%EF%BC%89%E4%BB%8E%E6%9C%AA%E6%98%8E%E7%A1%AE%E5%BC%95%E7%94%A8%E8%BF%87%E8%BF%99%E4%BA%9B%E5%BC%95%E8%84%9A%EF%BC%8C%E9%9C%80%E8%A6%81%E7%A1%AE%E5%88%87%E7%9F%A5%E9%81%93%E5%9C%A8%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7%E5%8C%85%E4%B8%AD%E9%85%8D%E7%BD%AE%E4%BA%86AFE%E4%BF%A1%E9%81%93%E9%97%B4%E6%98%A0%E5%B0%84%E7%9A%84%E7%A1%AE%E5%88%87%E4%BD%8D%E7%BD%AE%E3%80%82%3C%2FSTRONG%3E%3CBR%20%2F%3E2%E3%80%82%E5%AE%9E%E9%99%85%20%3CSTRONG%3EAFE%20%E9%87%87%E6%A0%B7%E7%8E%87%3C%2FSTRONG%3E%20(Hz%2FkHz)%EF%BC%8C%E9%87%87%E6%A0%B7%E6%98%AF%E5%86%85%E9%83%A8%E8%A7%A6%E5%8F%91%E4%BF%A1%E5%8F%B7%E8%BF%98%E6%98%AF%E7%94%B1%E8%AE%A1%E6%97%B6%E5%99%A8%E8%A7%A6%E5%8F%91%E4%BF%A1%E5%8F%B7%EF%BC%8C%E6%A0%B7%E6%9C%AC%E6%98%AF%E9%80%9A%E8%BF%87%20%3CSTRONG%3EDMA%3C%2FSTRONG%3E%E3%80%81%E4%B8%AD%E6%96%AD%E8%BF%98%E6%98%AF%E5%86%85%E9%83%A8%20FIFO%20%E4%BC%A0%E8%BE%93%3C%2FP%3E%3CP%3E3.%E6%88%91%E9%9C%80%E8%A6%81%E5%B0%86%3CSTRONG%3E%E4%B8%89%E7%9B%B8%E7%94%B5%E5%8E%8B%E5%92%8C%E7%94%B5%E6%B5%81%E4%BF%A1%E5%8F%B7%3C%2FSTRONG%3E%E8%BF%9E%E6%8E%A5%E5%88%B0%E6%9D%BF%E3%80%82%E5%BB%BA%E8%AE%AE%E5%A6%82%E4%BD%95%E5%88%86%E9%85%8D%3CSTRONG%3E%E4%B8%89%E7%9B%B8%20V%2FI%20%E5%AF%B9%E7%9A%84%3C%2FSTRONG%3E%E9%80%9A%E9%81%93%EF%BC%9F%3C%2FP%3E%3CBR%20%2F%3E%3CH3%20id%3D%22toc-hId-2003225495%22%20id%3D%22toc-hId-2003255232%22%3E%26nbsp%3B%3C%2FH3%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2260427%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AFE%20Sigma-Delta%20Channel%20Mapping%20and%20Multi-Phase%20Input%20Support%20on%20TWR-KM35Z75M%20(Metering%20Library)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2260427%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F257895%22%20target%3D%22_blank%22%3E%40Anusudhan06%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%E8%B0%A2%E8%B0%A2%E6%82%A8%E7%9A%84%E5%B8%96%E5%AD%90%E3%80%81%20%3C%2FP%3E%0A%3CP%3E%E8%BF%98%E6%9C%89%E4%B8%80%E4%BA%9B%E4%B8%8E%E6%82%A8%E7%9A%84%E9%97%AE%E9%A2%98%E7%9B%B8%E5%85%B3%E7%9A%84%E5%BA%94%E7%94%A8%E7%AC%94%E8%AE%B0%EF%BC%8C%E8%AF%B7%E6%9F%A5%E7%9C%8B%EF%BC%9A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN4847.pdf%3FWT_ASSET%3DDocumentation%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%E5%9C%A8%CE%A3-%CE%94%20ADC%E4%B8%8A%E4%BD%BF%E7%94%A8FFT%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FDRM149.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EKinetis-M%20%E4%B8%A4%E7%9B%B8%E5%8A%9F%E7%8E%87%E8%AE%A1-%E5%8F%82%E8%80%83%E8%AE%BE%E8%AE%A1%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN4265.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%E5%9F%BA%E4%BA%8E%E6%BB%A4%E6%B3%A2%E5%99%A8%E7%9A%84%E8%AE%A1%E9%87%8F%E5%BA%94%E7%94%A8%E7%AE%97%E6%B3%95%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E