Friday , 10 July 2020
iten

Question and suggestion for Mastering STM32 eBook


Viewing 15 posts - 16 through 30 (of 44 total)
  • Author
    Posts
  • #6008

    Hi Carmine,

    Playing with interrupts and chap7 I realised CubeMX did not set the PULLDOWN resistor for the User button on my L152RE.
    While it is correctly described in your book I do not understand why ST skip it.
    First time I saw his I thought maybe they add a resistance on the board but playing with interrupts proved I was wrong and of course the IRQ seemed very weird during debug.

    Maybe it would be nice to add a tip into the cubemx section of the book.

    Kind regards,
    Olivier

    #6145
    bobbydigital
    Participant

    Hi Carmine,

    Looks like link for footnote 10 in sect. 25.1.3 (pg. 740) is down.

    #6171

    Hi Carmine,

    with a lot of respect for your great work I think it would be nice if you add more details and explanations to I2C chapter 14.
    There are a lot of Flags and functions and it was a hard time trying to find docs and samples on ST and NXP websites.

    Kind Regards,
    Olivier

    #6302
    dsteinwe
    Participant

    Hi Carmine,

    currently, I try to write an application, that is using spdif. I stick on using spdifrx with dma and I have no idea, why my application is not working (https://community.st.com/thread/37147-problems-with-spdif-rx-and-dma). I don’t know, if it is possible, but may you write a chapter you to analyse systematically problems like mines.

    – Dieter

    #6304
    Carmine Noviello
    Keymaster

    Hi Carmine,

    Looks like link for footnote 10 in sect. 25.1.3 (pg. 740) is down.

    Thanks. Fixed.

    #6322
    Carmine Noviello
    Keymaster

    Hi Carmine,

    currently, I try to write an application, that is using spdif. I stick on using spdifrx with dma and I have no idea, why my application is not working (https://community.st.com/thread/37147-problems-with-spdif-rx-and-dma). I don’t know, if it is possible, but may you write a chapter you to analyse systematically problems like mines.

    – Dieter

    Unfortunately I’ve no experience with this peripheral.

    #6593
    mbutura
    Participant

    Hi Carmine,

    Great book. Certainly the best I have read next to Joseph Yiu’s book.

    There is an error in the UART implementation via polling example code page 241 there are literal character arrays that lack enclosing quotes, they are:

    1. WELCOME_MSG
    2. MAIN_MENU
    3. PROMPT

    Best,
    Mbutura.

    #6606
    svobodv
    Participant

    Hi Carmine,

    in chapter 6.2.1 at page 186 you wrote that “there is no need to use external pull-up resistors to drive I²C devices, since the corresponding GPIOs can be configured…”.
    Value of internal PU-PD for mentioned STM32F030 is typically 40k, and thats not enough for any reasonable speed of I2C. I would use 4k7 for 100kHz, 2k2 for 400kHz and 1k2 for 1MHz.

    Anyway, thank you for great book, and keep up the great work.

    Vojta

    #6633
    Carmine Noviello
    Keymaster

    Hi Carmine,

    in chapter 6.2.1 at page 186 you wrote that “there is no need to use external pull-up resistors to drive I²C devices, since the corresponding GPIOs can be configured…”.
    Value of internal PU-PD for mentioned STM32F030 is typically 40k, and thats not enough for any reasonable speed of I2C. I would use 4k7 for 100kHz, 2k2 for 400kHz and 1k2 for 1MHz.

    Anyway, thank you for great book, and keep up the great work.

    Vojta

    Thanks. Your are right. That’s not correct.

    #6710
    RRK
    Participant

    hi,

    I am interested in learning the NUCLEO-F767ZI and it has an internal ethernet and DAC modules. Will your future book release include these topics and internet of things? And if yes, roughly when is the expected release? If I purchase the book now, will I be able to download future releases?

    Thanks.

    #6949
    Carmine Noviello
    Keymaster

    hi,

    I am interested in learning the NUCLEO-F767ZI and it has an internal ethernet and DAC modules. Will your future book release include these topics and internet of things? And if yes, roughly when is the expected release? If I purchase the book now, will I be able to download future releases?

    Thanks.

    The next release of the book will have a chapter about IoT applications. However, it won’t cover ST MCUs with dedicated Ethernet controller. The chapter will be based on the W550 IC from Wiznet.

    #6960
    jaikumar
    Participant

    Hi,

    Please include a chapter on Opamp, Comparator and RTC included in STM32 parts.

    Thanks and Regards,
    Jai.

    #7021
    bdang
    Participant

    Hi,

    Typo on page 142:

    while(1) {
    75 HAL_GPIO_TogglePin(LD2_GPIO_Port, LD2_Pin);
    76 HAL_Delay(500);
    77 }

    The pin was named LED in the Cubemx example, not LD2 which will cause the errors.

    Best,
    Brian

    #7042
    shan_rei
    Participant

    I finally got started reading your book. I have to say you’re doing a really great job, congratulations! I have just a little issue about the labels of the figures and tables. When the book says “Table 1” or “Figure 1”, I get confused whether it refers to the “Table 1” at Chapter 1 or “Table 1” at some other Chapter. Can I suggest that the tables and figures be labeled to make them “belong” to the certain chapter that they appear? Like “Table 4-1” if the Table 1 is in Chapter 4 or “Figure 5-1” if the Figure 1 appears in Chapter 5? This might seem insignificant but I believe it would really make reading and referring a lot easier and less confusing. Thank you very much!

    #7050
    mzaffalon
    Participant

    Hi Carmine,

    In section 9.2.7 of version 0.22 of the book, you remark that one should enable the UART interrupt for DMA transfer, but as far as I can tell, you don’t explain why. Could you add a line in the book or a reference to the place where you give the explanation?

    (In an official MOOC class from ST on the CubeMX, for instance, there was no mention of enabling the UART interrupts.)

    Thanks,
    michele


Viewing 15 posts - 16 through 30 (of 44 total)
  • You must be logged in to reply to this topic.