I'll just answer some point, but I won't put any more time in this.
Your wellcome.
I like to span from the dark to darkest through gray to the bright and brightest, I have no technical religion.
Linux, Win, PC, MAC, assembler, C++, direct register writes and HAL (there, I said it!) all have their place.
Forgot to mention Commodore ,ATARI and Sinclair Spectrum.
...just to get the address of a DAC or 3 DACs in this case each 2 bytes long and should have
been inside the stm32f30x.h register definition file....
This is the part I'm having problems with.
Problems with the stm32f30x file as file? Really? You rather download 500Mbytes just to get a single header file? Serious? For kicks?
All the DAC reg defs you need are inside that file, and I showed you exactly where (admittedly, with a formatting slip):
That file includes also the lower level part of CMSIS (core_m3.h), that contains ARM vendor independent common registers and definition. You don't need anything above that. If you're not comfortable with the bloat (which will just sit there, gathering bit dust), prepare your files based on this.
Trying to build a solid case just to write me my nose? It's more likely yourself dont know how to get DAC work, else you hadent ranted so much about the obviousness of stm32f30x.h, btw i didn't say anything more significant then stm32f30x.h....why else this thread.
Should ST provide a CMSIS liberated version? Yes, maybe. Another piece of code from
them to maintain and to keep in synch, for a very limited audience. You are welcome to disagree.
So guru Clive1 and Jan is a limited audience, well one more file would tip the ST abstraction mountain over?
Shurely mr Holmes you must be joking, as they say in the TV series.
ST issues have been brought up by ton's of people over the years, not going to do it again but just say
you said it your selfin prior posts. ST will likely slowly drown in their own CMSIS/HAL sync "wathever" maintenance mountain. Add another CMSIS block, call it CMSIS DSP, call it CMSIS RTOS, well supprice they allready did and they will continue to CIMSIfy until you as a coder drown in convoluted abstracted gigabytes...
A software coder who cant write decent condenced clear code on bare metal using the path of least resistance is not a decent coder.
No merrits and prestige in keeping high tresholds, steep learning curves, bloated tools, complicated pheripherials etc...
Not an excuse to use xzcywhateverIOTOGGLE() just to toggle a pin and when pin dont toggle HAL/CMSIS coder turns to STM Forum
and
ask Clive1 for help because
ST dont give a crap! ST asked people to DISCO with them but when they enter the dance floor ST suddenly stands offside pointing fingers.
It's interesting to watch ST , CooCox etc forums 98,9 % of the questions is about why pheripherials dont work or how-do-i-get -this-pheripherial-to-work. Obvious reasons, perhaps complexity leads to CIMSIfycation backed by poor documentation.
Btw a old colleauge called the other day begging for help, he had been given by his boss a Frescale ARM device that had a timer pheripherial that had 144 registers! I told him i have 80 registers of my own to faff with, he almost cried yet the guy is a 30+years EE Master engineer, im not! Im not even a coder , im certified gardener! You are asking me to comprehend? Please newbrain step down from your high horses for a moment.
Take F103 for instance ST have managed to do 15 revisions of the document!
I don't know and do not make assumption about your experience,
Yes you do.
but rest assured that having revisions is a actually a good thing.
Humans are not perfect, and faults slip through even with finely tuned processes and reviews, especially with complex stuff.
If you have no revisions, it means the product is abandoned, obsolete or nobody is really using it.
I assume you troll, but will reply.
I have done H/W engineering for 30 years at various BIG corporations (slapping my big baugette on the desk with a splash) and gardening for 40 years and piloting for 50 years and we have had ton's of 1.1 products with 1.1 documentation revisions rolling out of factory years upon end. Reason? Because we made sure we had professional engineering on all levels and well tought out and professionaly driven documentation processes. What you say is pure nonsense and a strawman argument! Perhaps you are one of their paid fanboys who under all circumstances want to defend ST's sloppy craftmanship, or even a ST employee?
Humans are not perfect you say while being completely "blind folded" from their spelling errors. Well do ST even use computer based
spell checkers? They do?! How come spelling errors for years is migrating into new revsions? Perhaps their spell program is based on CIMSIS and HAL? Who knows! All i know is that wen a spell error is loctaed inside a register definition file things either dont work or stop working.Its bad enough they are in reference manuals.
Just from the first MCU datasheet I had on hand (ATmega 328):
41. Datasheet Revision History
41.1 Rev. 8271I – 10/2014 41.2 Rev. 8271H – 08/2014 41.3 Rev. 8271G – 02/2013 41.4 Rev. 8271F – 08/2012 41.5 Rev. 8271E – 07/2012 41.6 Rev. 8271D – 05/11 41.7 Rev. 8271C – 08/10 41.8 Rev. 8271B – 04/10
41.9 Rev. 8271A – 12/09
So, always check to have the latest docs, especially if something is not clear.
Nice move there trying to write me on my nose, yet you used a old version 3 claming it was not possible to do direct DAC writes.
Do your homework before asking everybody else to do theirs.
Well, at first you didnt even know it was possible to do direct writes to DAC.
Do not assume what I know or don't know. I understand perfectly how a DAC works, thanks. My EE Master is still on the wall, last I checked (in a drawer, actually).
No you dont! read your own posts. No need to assume so stop writing me and others on our noses and drop the prestige stuff!
Whether it's good or bad that ST decided to make it easy to configure and access two DAC channels at the time,
Are you even aware "what" you are saying? We could possible cogitate, dwell on ,brood further on but no engineer with EE Master
i known for past 30 years have ever claimed half a DAC exist..... But you are wellcome to dissagree.
It's a sunny Saturday, at least in the capital, take a break from this stuff and relax. My bike is waiting for me.
Chill out on the bike!