itsfebin
Newbie level 6
- Joined
- Jul 9, 2009
- Messages
- 11
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- southampton
- Activity points
- 1,367
machxo mini schematics
Hi,
I use a cpld (LCMXO2280 from Lattice Semi) to control an SMPS.
It has an in-built ADC circuit which I can use to sense the SMPS o/p voltage. I referred the datsheet but nothing much is mentioned about the same. How do you think can I make use of the in-built ADC in LCMXO2280? I see an A2D_IN pin. How can I get the ADC output?
If I program the device like,
input A2D_in; //analog i/p
reg [15:0] A2D_out; //to store o/p of inbuilt A2D
A2D_reg <= A2D_pin;
Can I have the ADC output in 16bit A2D_out register?
Please help.
Thanks and regards,
Febin
Hi,
I use a cpld (LCMXO2280 from Lattice Semi) to control an SMPS.
It has an in-built ADC circuit which I can use to sense the SMPS o/p voltage. I referred the datsheet but nothing much is mentioned about the same. How do you think can I make use of the in-built ADC in LCMXO2280? I see an A2D_IN pin. How can I get the ADC output?
If I program the device like,
input A2D_in; //analog i/p
reg [15:0] A2D_out; //to store o/p of inbuilt A2D
A2D_reg <= A2D_pin;
Can I have the ADC output in 16bit A2D_out register?
Please help.
Thanks and regards,
Febin