For LPC4370 HSADC, how to reduce the match time of descriptor #0 from 0x95 to 1?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

For LPC4370 HSADC, how to reduce the match time of descriptor #0 from 0x95 to 1?

620件の閲覧回数
qqq
Contributor I

屏幕截图 2023-08-10 192902.png

 

ラベル(2)
タグ(3)
0 件の賞賛
返信
1 返信

582件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

For the STATIC INLINE void Chip_HSADC_SetupDescEntry(LPC_HSADC_T *pHSADC, uint8_t table,
uint8_t descNo, uint32_t desc)
{
pHSADC->DESCRIPTOR[table][descNo] = desc;
}

it writes the DESCRIPTOR0_[0] register or DESCRIPTOR0_[1] reg..., the HSADC_DESC_MATCH(x) corresponds to the MATCH_VALUE bits, if you do not want to use the timer of HSADC, just set the bits as 0 with HSADC_DESC_MATCH(0). If the MATCH_VALUE bits is zero, it means that the ADC samples the channel in the descriptor immediately.

 

Hope it is helpful

BR

XiangJun Rong

 

xiangjun_rong_0-1691746394039.png

 

0 件の賞賛
返信