This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Karim Nseir said:... only found questions related to TivaWare, which I'm not familiar with and prefer avoiding.
Yet - does not that "avoidance" force much extra: Time, Effort, & Detail upon your "helpers?"
Your "Direct Register" code style requires each/every Register you list to be "visited" - and deeply examined - by first you - and then "ALL here who care to assist!" Really - due to your "preference" (unjustified btw) you have forced a much higher work-load upon "others" - (even "helpful" others) - have you not?
Completing projects in a timely fashion is vital for Tech firms' Marketing Success. As a result - most such firms - "Prefer avoiding DRM code style."
You may note (many) vendor comments urging the use of the API - for the reasons herein noted... Code examples - w/in the API - accomplish your mission - and thus prove VERY MUCH PREFERRED!
Might such restriction be (other) than "self-imposed?" (i.e. instructor who has little recognition or appreciation for the necessity for students to be (somewhat) efficient!)
Nothing prevents the joint use of the API (and) Register review - that fact (conveniently) avoided by those who would condemn their charges to, "unemployment."
It must be noted that NEVER do posters - with such "strong" preferences - make any attempt to explain and/or justify such preference...
KMN said:I am trying to make ... on the TivaLaunchpad without using TivaWare.
Endorsing my other colleagues: DON'T try to do it. It is pointless.
You say your are not familiar with TivaWare, but becoming familiar to it will require just a few hours, and trying to bypass it will require LOTS of hours and still make you project prone to lots of hard-to-fix errors.
Suggestion:
- Download and install TivaWare
- Find the /docs folder on your installed files, and open the Driverlib User Guide - it is a file that's almost 5Mb large.
Go to the UART chapter, and find the functions required to configure the UART and its interrupts.
It will be easier than any alternative!
Bruno
KMN said:Or make a very off-topic comment...
Might you be so good as to explain "what" you find to be, "off topic?" You may note that my guidance has been echoed by (now) two others - appears the topic has been well addressed!
KMN said:I just thought that using this technique would give me more in-depth knowledge, and that I would learn to program more cortex MCUs (other than just TI)
The peripherals on other Cortex micros have little in common with those on TI Cortex micros.
Robert
While poster Bruno's kindness in writing was/is appreciated - that writing style - even if opinion - stems from, "great Tech Biz success."
Each poster here - when requesting assistance - is best advised to, "Sell their request." Forcing "poster preference" - upon each/every responder - severely limits such asssistance. (this is fact - can be easily proven via past posting reviews)
Thus - the intent - rather than being "aggressive" was direct - and cast for the requesting poster's benefit. (it is noted that, "No response arrived - nor was expected" - due to the "overly restrictive nature" of the initial posting.) And - the justification for such "over-restriction" was never attempted - thus "sympathy" drove to zero...
Not always are "poster issues/questions" the most well-thought/considered ones. Is it not then (almost) the "duty" of those w/more forum, "blood, sweat, tears" to suggest the application of, "Hard Rudder" - which steers poster to a superior course - and faster/easier & enhanced outcome? If that is "my sin" - I believe that I can "live w/that..."
Note too that this thread may be, "read by others" - and the "gentle" direction (away) from "DRM" and toward the API is likely to propagate...