ADC overrun_det flag of PSoC5LP

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

cross mob
TeMa_2997106
Level 6
Level 6
Distributor - TED (Japan)
10 likes received 10 solutions authored 250 replies posted

SAR_ADCにあるoverrun_det フラグを使用して異常を検出したいのですが、

このフラグはデフォルトでDisableのようです。

Enableにできる(このフラグは使える)のでしょうか。

もしできるのであれば設定方法を教えてください。

-----------------------------------------------------

Is it possible to enable the overrun_det flag function in ADC_SAR_WRK1_REG?

If yes, please tell me how to enable.

overun_det.jpg

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi ,

There is one more register to enable this feature. In the register TRM of the device kindly check (SAR[0..1]_CSR5) register. The bit overrun_det_en enables data overrun detection. Once you enable this feature, you can check data over-run. I have tested the feature at my end, using test project attached.

Best Regards,
Vasanth

View solution in original post

2 Replies
lock attach
Attachments are accessible only for community members.
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi ,

There is one more register to enable this feature. In the register TRM of the device kindly check (SAR[0..1]_CSR5) register. The bit overrun_det_en enables data overrun detection. Once you enable this feature, you can check data over-run. I have tested the feature at my end, using test project attached.

Best Regards,
Vasanth

TeMa_2997106
Level 6
Level 6
Distributor - TED (Japan)
10 likes received 10 solutions authored 250 replies posted

Vasanth-san,

Thank you for your support.

I will check it.

Thanks,

Tetsuo

0 Likes