What's SAM3X8E?
What's SAM3X8E?
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?
Re: What's SAM3X8E?
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
Sent from my SM-G900P using Tapatalk
Roberto.
Re: What's SAM3X8E?
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.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
Re: What's SAM3X8E?
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
Sent from my SM-G900P using Tapatalk
Roberto.
Re: What's SAM3X8E?
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.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
Re: What's SAM3X8E?
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?
Re: What's SAM3X8E?
Yeap. You are right
I never thought of that. 12bit resolution on the PWM channels.
I never thought of that. 12bit resolution on the PWM channels.
Roberto.
Re: What's SAM3X8E?
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.
Re: What's SAM3X8E?
If you do bring it out as a controller at some point it will be seriously nice. A pile of pins available.