What's SAM3X8E?

Related to the development libraries, released by Curt Binder

Posts: 263
Joined: Wed Jan 01, 2014 7:26 am
PostPosted: Fri May 16, 2014 1:20 pm
I keep seeing some if defined (__SAM3X8E__), but can't figure out if I should care to modify those parts or what. Is that a new version of the controller in development like RA_STAR and RA_MINI and RA_TOUCHDISPLAY and some of the other defines I see floating around?

Posts: 12241
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Fri May 16, 2014 3:55 pm
Yeap... new board prototype I have. It's based on a 32bit processor. The major advantage is that you can connect a tablet directly to the head unit and have android talk straight to the controller instead of using WiFi.

Sent from my SM-G900P using Tapatalk
Roberto.

Posts: 263
Joined: Wed Jan 01, 2014 7:26 am
PostPosted: Fri May 16, 2014 4:40 pm
rimai wrote:Yeap... new board prototype I have. It's based on a 32bit processor. The major advantage is that you can connect a tablet directly to the head unit and have android talk straight to the controller instead of using WiFi.

Sent from my SM-G900P using Tapatalk


Cool. Where is the code for VariableSpeed class located instead of the PWM class? Is it in the repo or should I just not worry about it for now.

Posts: 12241
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Fri May 16, 2014 5:41 pm
There isn't any code. It is just an alias of PWM. I couldn't use PWM because it is integral part of the internal libraries of Arduino, so I had to change it to something other than PWM.

Sent from my SM-G900P using Tapatalk
Roberto.

Posts: 263
Joined: Wed Jan 01, 2014 7:26 am
PostPosted: Fri May 16, 2014 5:48 pm
rimai wrote:There isn't any code. It is just an alias of PWM. I couldn't use PWM because it is integral part of the internal libraries of Arduino, so I had to change it to something other than PWM.

Sent from my SM-G900P using Tapatalk


Got it. When I do calls to Set16Channel for the PWM class I will do the same with a different name for the VariableSpeed calls.

Posts: 263
Joined: Wed Jan 01, 2014 7:26 am
PostPosted: Sat May 17, 2014 5:38 am
Been reading on that chip which also seems to be used in the Due. Seems to support variable bit output on the analog out pins up to 12bit. I assume you'd do 12-bit, because why not, so in all of those if blocks should I assume it's going to get that many levels of dimming even on the Actinic, Daylight, and ATO pins?

Posts: 12241
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sat May 17, 2014 7:48 am
Yeap. You are right :)
I never thought of that. 12bit resolution on the PWM channels.
Roberto.

Posts: 12241
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sat May 17, 2014 7:49 am
And now that you mentioned, I may have overlooked one thing. I will have to double check my design to confirm the ATO ports are mapped to PWM ports. I don't think they are.
Roberto.

Posts: 263
Joined: Wed Jan 01, 2014 7:26 am
PostPosted: Sat May 17, 2014 4:31 pm
If you do bring it out as a controller at some point it will be seriously nice. A pile of pins available.

Return to Development Libraries

Who is online

Users browsing this forum: No registered users and 3 guests

cron