Community Translation - PSoC 1 SmartSense_EMC and SmartSense_EMCplus Module Initialization Special Point - KBA222962

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Kenshow
Level 8
Level 8
Distributor - Marubun (Japan)
50 solutions authored 25 solutions authored 10 solutions authored

Hi,

I would like to translate KBA222962 into Japanese.

Thanks,

Kenshow


Original KBA:

PSoC 1 SmartSense_EMC and SmartSense_EMCplus Module Initialization Special Point - KBA222962

Translated by Kenshow

==============================

タイトル: PSoC 1 SmartSense_EMCおよびSmartSense_EMCplusモジュール初期化特別ポイント– KBA222962

バージョン:**

質問:

SmartSense_EMCplusモジュールをカスタムRawdata Filterと一緒に使用すると、センサーが常に動かなくなります。

回答:

PSoC® 1CapSense ®モジュールにおいて、センサーの生データ及びベースラインは常にwaSnsResult[] waSnsBaseline[]配列 に格納されています。一般に、これらの両方の配列は、InitializeBaselines() APIの実行後に更新されますが、SmartSense_EMCおよびSmartSense_EMCplusモジュールには当てはまりません。

SmartSense_EMCおよびSmartSense_EMCplusモジュールでは、ScanSensor()(またはScanAllSensors())関数が実行されるまで、waSnsResult []は割り当てされないままの状態です。したがって、プロジェクトでカスタムフィルターを使用する場合は、フィルターを初期化する前にScanSensor()(またはScanAllSensors())関数を1回実行します。

正しいコードテンプレートは次のとおりです。

/****************************************/

M8C_EnableGInt;

CapSense_Start();

CapSense_InitializeBaselines();

     CapSense_ScanAllSensors();

     Filter_Init(); // カスタマイズフィルターを初期化します

  ……

  /****************************************/

==============================

7-May-2020

Kenshow

0 Likes
1 Reply
JennaJo
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello, Kenshow-san

We receive your translation, it will be published to KBA to Community.

After upload, You will receive the points as the word of KBA.

Due to the current delay of internal review, Please bear with me for the delayed the response.

It could be delayed, but it will be processed soon.

Thanks for your contribution to CDC!

Will keep you update the status.

Thanks,

Jenna Jo

Jenna Jo
0 Likes