LP11C24 ADC in, PWM out

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

LP11C24 ADC in, PWM out

755 次查看
altec1980
Contributor I

Good morning,

Hope this message finds you well. I recently bought many LPC11C24 units
for academic purposes.

I would like to know if you could share a C/C++ script taking an ADC
input (from a potentiometer) and then, proportionally scaling this input to a
PWM output duty cycle (ex: to LPC_TMR32B1->MR1 on pin # R_PIO1_2 ).

I'm using the MCUXpresso IDE (v11.6.0 ). I'm also using the common
header file "LPC11xx.h".

Thanks in advance for any help.

0 项奖励
回复
1 回复

720 次查看
Miguel04
NXP TechSupport
NXP TechSupport

Hi @altec1980 .

 

You can find some examples on the LPCOpen folder for the LPC11C24, to install it you must click on "Import project(s) from file system…" then click on "Browse" and look for the next route on the file explorer.

"MCUXpressoIDE_11.6.0_8187\ide\plugins\com.nxp.mcuxpresso.tools.wizards_11.6.0.202112161359\Examples\LPCOpen"

Install the .zip called "lpcopen_v2_00a_lpcxpresso_nxp_lpcxpresso_11c24"

 

Regards, Miguel.

0 项奖励
回复