Hello!

I would like to find good microprocessor / microcontroller programming literature (for example, with the Cortex-M0, Cortex-M3 core), which qualitatively describes the use of interrupts and the PDP controller. Not as in a datasheet, a dry example of using a specific peripheral independently of everything else, but a good tutorial on writing programs.

First of all, the printed version (books, textbooks) is of interest, not individual articles, but I also read them. I ask in advance not to offer articles from the first search page in Google "using DMA", etc., as I myself can.

There is experience in programming AVR controllers, knowledge of C / C ++, assembler.

    1 answer 1

    Detailed articles on the application should be viewed in the quarterly Bullet TI, you can download it on the site scanti.ru. Unfortunately, such works that interest you are unlikely in nature. The DMA module itself and its connections to the periphery are so highly specialized and individual for each specific processor that its usage patterns are more global than the “overclocking” of a specific interface and the release of processor resources for tasks not related to data transfer in general cannot be described. However, if you have specific questions about the possibilities of the application, I can answer them.

    • Thank you, I will look at the site. Do you work with iron? Then I will ask another question. Advise books on writing the right programs for processors / microcontrollers (in terms of pitfalls, proper use of timers for different tasks, proper planning and handling of interrupts, how not to write programs, etc.) - Ilya A
    • Yes, I do iron on TI products, but, apart from their magazine, datasheets, and user guides, I have not seen any literature. In the case of Texas Instruments, their development environment saves them, which has a built-in code optimality analyzer and gives hints on the correct programming style for a particular chip, depending on its hardware structure. You can also find literature, rather articles than books, on the intricacies of programming for a specific processor, but so that you can’t see the general rules for everyone. - Arh
    • PR company TI means. - Ilya A
    • I would like to, but no. Historically. Optional wrote under the peaks, at work sometimes, too. But CCS as a development environment is closer and more convenient for me. Plus, tezhe arm cores for avionics are only available from TI, similar to fram microcontrollers. Add to this the availability of debug kits from $ 5 to $ 50 for prototyping products on snot and wiring and an abundance of reference designs for applying solutions. As an engineer, I choose something on which I can quickly design, develop and put into production. The presence of hal, csl and rtos under most TI crystals is very helpful. H - Arh