can someone suggest some good book to learn cortex m4 programming???
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.
can someone suggest some good book to learn cortex m4 programming???
Some of the best material you will find is on this site! I have a very large technical library -- and I still say that.
http://www.ti.com/ww/en/launchpad/stellaris_head.html
If you find a good book on the M4 -- let all of us know.I cannot find one. Perhaps people can suggest a good book on programming CORTEX -- the specialized M4 material can be found here.
If you have a Launchpad you can do all the lessons for the Launchpad and take the course with the workbook. Most of the examples for the LM4F232 can be explored as well. You can also work with most examples for the M3 -- unless it uses a specialized peripheral or the Video examples.
One worthwhile book is The Complete Reference C++ Fourth Edition (or Later when it appears) by Herbert Schildt. You can download a version on Amazon Kindle as well -- maybe even Kobo. It is not about embedded C -- but you can learn that from this site.
I suggest that book because the C++ compiler offers many features which can speed up development if used carefully.
A little exploring should reveal how to use C++ and not get large code -- look at <iostream> for example -- is it necessary?
Merry Christmas from the frozen wasteland of Canada. (The home of Santa Claus.)
PRATEEK ARORA1 said:can someone suggest some good book to learn cortex m4 programming???
Hi,
let me assume that you already have basic knowledge in C language programming. If not, a C/C++ book would be a good starting point.
When it comes to Cortex M4 devices you can have a loom at TI's excellent Stellaris Launchpad Workshop here: http://processors.wiki.ti.com/index.php/Getting_Started_with_the_Stellaris_EK-LM4F120XL_LaunchPad_Workshop
It will familiarize you with the Stellarisware API and information on the device itself.
Rgds
aBUGSworstnightmare
aBUGSworstnightmare said:let me assume that you already have basic knowledge in C language programming. If not, a C/C++ book would be a good starting point
Some suggestions for 'C' learning resources here: http://blog.antronics.co.uk/2011/08/08
Hi,
Two books specifically for Cortex-M microcontrollers:
a) "The Definitive Guide to the ARM Cortex-M3, Second Edition", by Josph Yiu - covers Cortex-M3, but can be used also for Cortex-M4, since the differences are small.Very useful in treating/learning how to deal with FaultISR, since he describe all bits involved and their position in registers, a missing info in ARM documentation.
b) "Embedded Systems: Real-Time Interfacing to ARM Cortex(TM)-M Microcontrollers" by Jonathan Valvano - covers both Cortex-M3 and M4 (LM4F120).
Regards,
Petrei
Books, lectures and examples :
http://users.ece.utexas.edu/~valvano/
I have several mp3 files stored in an SD card that I intend to read off using LM4F232. Can anyone please suggest resources that explain this process?
I intend to read off the mp3 files, pass their data through a DAC and play it off a speaker after amplifying it (using a simple op-amp). Is this a viable approach?
The missile will fly when the, "pile of specs/documentation" exceed the height of the missile.
You've outlined a very basic SOW (statement of work) but its devoid of any/all "specs" and/or performance objectives. Will it emit a sound - perhaps - will that sound be resonant - and pleasant to the ear - not too likely... (based upon this early description)
Your earlier writing gave no hint of your past experience w/Stellaris - with StellarisWare - and w/MCUs in general. Task you've set is reasonably demanding (assuming you seek "some" level of normal/customary performance.")
If you have reasonable mastery of your 232_EVM - suspect that its best to investigate the past actions of others - who've developed similar projects. Reinventing the "wheel" is to be avoided - unless funds, time, and effort are unlimited... There should be a wealth of related data here, on other maker's MCU sites - and of course the vast resource that is google. You may also review, "Up Scale" Audio magazines - to see how the "Pros" go about such design & development...
Note that your latest post "wanders" bit far from your posted, "Programming the M4" Subject.
This effectively reduces the number of, "Skilled, focused-expertise responders" - who share your interest in this topic. Clearly - not in your best interest.
New thread - with Subject/Title properly defined - sure to yield better results... (and - as this post is, "Verified" - few TI'ers will venture here...)
@PRATEEK,
You need both an I2C and I2S interfaces present on your micro controller - they are used for control (I2C) and data (I2S) to be sent to an audio codec, such TLV320AIC23B. Look also for this free application: www.ti.com/tool/audio-selection-tool for other hardware dedicated to the same purpose.
But before this hardware, you need some software bundle, to decode MP3 data to stream of samples to be sent to the I2S interface. Fortunately there is one free I know about (could also be others) here - this is written also for ARM, but specifically ARM7TDMI so you will need to port it to Thumb2 (Cortex-M3/M4) and uses fixed precision math (I am not sure about true floating-point). You can search for a port to Cortex, maybe you are lucky.
Lastly, seems to be the need for more processing power - greater speed for micro-controller would be better.
@Petrei:
Poster has properly (we feel) migrated this post: http://e2e.ti.com/support/microcontrollers/stellaris_arm_cortex-m3_microcontroller/f/471/t/238712.aspx
Audio specific not really suitable here.
I know that forum vendor "frowns" upon such, "multi-subject" expansion - w/in single post.
Your advice (as usual) is sound - but likely far better - placed there...