Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9881 Discussions

Square signal generation 100kHz-200kHz

SSerg6
Beginner
1,011 Views

Hi everyone,

I'm trying to develop a wireless charger and I was thinking about controlling the emitter with the Intel Edison board. In order to do it I need to generate two square signals to control a power inverter. These square signals must be in counterphase and able to have a varying frequency within a range of 100 kHz to 200 kHz keeping a constant duty cycle of 50%. What would be the best option to generate these signals if it is possible? I have seen that it is possible to generate PWM signals with these frequencies using mraa's PWM class, but this does not allow me to make a smooth frequency variation, since the period can only be expressed in s, ms or us (ie. 5 us -> f=200 kHz; 6us -> f=166 kHz).

Thanks in advance.

0 Kudos
2 Replies
idata
Community Manager
105 Views

Hi Sergi.L,

 

 

We'll be more than glad to help you with this.

 

I'm wondering if you have consider trying with Fast Memory Mapped IO. I would suggest you to check the following link http://www.i-programmer.info/programming/hardware/8770-exploring-edison-fast-memory-mapped-io.html http://www.i-programmer.info/programming/hardware/8770-exploring-edison-fast-memory-mapped-io.html, it explains how it works and offers some examples to implement it. Hopefully you'll get better results with this.

 

Let us know if it works.

 

 

Regards,

 

-Pablo
idata
Community Manager
105 Views

Hi Sergi,

 

 

Have you checked the information we provided last week? Did you find it helpful?

 

 

Regards,

 

-Pablo
Reply