Forum

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Control PWM using register directly?
2014 年 07 月 30 日
00:44:19
Ray
New Member
Forum Posts: 3
Member Since:
2014 年 07 月 17 日
Offline

Hi!
Can I use the technique described in the article "Secrets of arduino PWM" using register to control PWM directly?
http://www.righto.com/2009/07/.....o-pwm.html
I need something like AVR ATMega328P datasheet for UNO as for 86duino educake.
But cannot find any datasheet on the web.

2014 年 07 月 30 日
05:34:51
roboard
Admin
Forum Posts: 135
Member Since:
2013 年 10 月 05 日
Offline

Hi,
the PWM registers of 86Duino are different from ATmega328P because 86Duino's CPU is an x86 SoC called Vortex86EX (rather than AVR). The datasheet of Vortex86EX can be found in: http://www.86duino.com/wp-cont.....6duino.pdf; it includes most register definition of basic I/O devices such as GPIO and UART.

However, the PWM is a function of a comprehensive device called the Motion-Control Module (MCM); you can find a overview of MCM in the slide: http://www.slideshare.net/robo.....ol-modules
and the registers of MCM are defined in the separate "Vortex86EX MCM datasheet". For MCM datasheet, you may contact soc@dmp.com.tw, and for source code to do low-level MCM access, you can refer to the mcm.h and mcm.cpp in 86Duino source code: https://github.com/roboard/86Duino/blob/master/hardware/86duino/x86/cores/arduino/mcm.h

Forum Timezone: Asia/Taipei

Most Users Ever Online: 229

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Dinosaur: 27

leutenecker: 13

mrZagg: 10

hippy: 9

smeezekitty: 8

lukeross: 8

tomka: 8

Ekkehard: 8

UIdahoCIT: 8

blaxxun: 7

Member Stats:

Guest Posters: 0

Members: 1568

Moderators: 15

Admins: 5

Forum Stats:

Groups: 2

Forums: 11

Topics: 248

Posts: 1114

Newest Members: Alfredhak, Davidherie, Nelsonbok, EugeneDut, RobertOwell, LamboSr, petershu, f0rkB0mb, Albert, david

Moderators: Glaux: 70, uaa: 11, guigra: 17, asian55: 22, Android_Lin: 228, bcarroll: 12, cucubutter: 84, recycled-air: 12, stevemork: 16, zerozaber: 52, pongraczi: 26, jejump: 14, George Andrews III: 56, poto: 11, garpastym: 20

Administrators: eveshih: 1, anthony: 31, viky6: 0, roboard: 135, hcl: 1