Lowpower Modes on NXP MCXA-153
8:59
FRDM-MCXA153 Getting started
14:18
MCX Family introduction
5:14
2 ай бұрын
STM32 Multi ADC DMA method
29:42
5 ай бұрын
Understand the I2C Bus, Tutorial
30:41
Install TouchGfx 2023
5:22
7 ай бұрын
Lowest Cost ARM MCU 2023 ?
6:27
7 ай бұрын
Пікірлер
@FrenchBulldogFan123
@FrenchBulldogFan123 4 күн бұрын
Please, could you provide the link in the description or some type of access to the material the videos are based on. Just to understand in depth threadx functions with its parameters and so on. Or is it just based on Microsoft documentation for AZURE RTOS? Thanks
@prtechtalk416
@prtechtalk416 20 сағат бұрын
HI, the good source of information requested, github.com/eclipse-threadx/rtos-docs /PR TechTalk
@logic6705
@logic6705 5 күн бұрын
great video!
@prtechtalk416
@prtechtalk416 20 сағат бұрын
Glad you enjoyed it /PR TechTalk
@JACOBGEORGEBTechECEB-
@JACOBGEORGEBTechECEB- 6 күн бұрын
Great video Sir, an ardent subscriber. I just wanted to know can we do this with ESP-32 C3 board as well ?
@prtechtalk416
@prtechtalk416 6 күн бұрын
Thanks. As a non-native English speaker, I had to look up the word "ardent" since it is not commonly used in my vocabulary. Regarding Espressif, I don't plan on doing anything with this MCU. The reason is that there is already a lot of material out there, and I struggle to find my niche here. But you never know :-) PR TechTalk
@MCUIOT
@MCUIOT 7 күн бұрын
That's strange, why can't my STM32CubeIDE use this feature? My version is 1.15.1.
@prtechtalk416
@prtechtalk416 7 күн бұрын
Hi, Do you run Windows or Mac ? /PR TechTalk
@prtechtalk416
@prtechtalk416 6 күн бұрын
Hi Again I just verifyed on PC running same version as you 1.15.1 and it works for me just fine. If not someone Else will verify running MAC OS i can do this also within a couple of weeks. /PR TechTalk
@UTubeJamesChou
@UTubeJamesChou 4 күн бұрын
​@@prtechtalk416I use win10, and still can not find a soultion😢
@MCUIOT
@MCUIOT 4 күн бұрын
​@@prtechtalk416 I found that I have to use 'Alt + /' to show template proposals, while 'Ctrl + Space' only works for "structure pointer->" (e.g., GPIOA-> followed by Ctrl + Space). Anyway,I'm so happy AutoComplete works!! Thank you
@osmanpasha_diy
@osmanpasha_diy 10 күн бұрын
Does it work directly from 5V? Does it work directly from LiIon battery? Then no, I'm sticking to AVRs for these applications when cost or space are of concern.
@prtechtalk416
@prtechtalk416 7 күн бұрын
Hi, you are correct the STM32 does not run directly from +5V or fully charged 1Cel Li-Ion battery. Some pins have posibility to interface towards 5V logic but cant drive 5V output. So if you are familiar with Microchip´s AVR and they fulfill your requirement, then your MCU´s selection is Clear. Thanks for your comment´s and have a nice summer :-) /PR TechTalk
@osmanpasha_diy
@osmanpasha_diy 7 күн бұрын
@@prtechtalk416 interestingly, other manufacturers that offer "32-bit replacements for 8-bit mcus" do that with 5V-powered options. But not ST.
@prtechtalk416
@prtechtalk416 7 күн бұрын
That is depending on the process they run on, If they use a process bigger than 90nm then 5Volt is doable, But bigger process drives bigger silicon and that drives cost and current consumption. All descissions have 2 sides benefits and drawback. /PR TechTalk
@diwakarm251
@diwakarm251 11 күн бұрын
Thanks for the video sir
@prtechtalk416
@prtechtalk416 7 күн бұрын
Your Welcome. Dont forget to hit the Subscribe also ( it is free of charge :-) ) /PR TechTalk
@diwakarm251
@diwakarm251 6 күн бұрын
@@prtechtalk416 can you please suggest me the boards having risc -v processor which supports threadx , I need to do port threadx for risc-v based architecture boards.... Please suggest?
@prtechtalk416
@prtechtalk416 6 күн бұрын
Hi, my experience with Risc-V is quite limited (Read non existing) . But after some Googling perhaps take a look at www.sifive.com/boards/hifive1-rev-b. But i prefered if you stick with STM32 :-) /PR TechTalk
@mortenlund1418
@mortenlund1418 12 күн бұрын
Really great video. I hope you continue. This is very educational. Thank you. Best wishes from Denmark!
@prtechtalk416
@prtechtalk416 7 күн бұрын
Davs Morten, Thanks for your kind words. Pls hit the Subscribe button also :-) /PR TechTalk
@AndreaBasilico-eo4pl
@AndreaBasilico-eo4pl 12 күн бұрын
fantastic video! I have a couple of questions: 1) I'm using queues by sending pointers instead of data, it works great but the tx_byte_allocate function can't be used inside an ISR, how can i handle this? 2) my intent is to accumulate data/pointers in a queue and empty it every now and then with a thread, however I noticed that if the thread producing the data is more frequent/has a higher priority the second thread gets stuck in the loop trying to empty the queue , what is the correct approach? thank you !
@prtechtalk416
@prtechtalk416 12 күн бұрын
Hi Andrea and thanks for your comment. Firstly their is no Correct approach, only mor or less good way to do things 🙂. I need to jump question 1 for now i need to think about this. Reg 2 i would change the priority on the consumer task so it gets a fair chanse to keep up with the producing task. You could also read up on the tx_thread_relinquish command that might be usefull. /PR TechTalk
@AndreaBasilico-eo4pl
@AndreaBasilico-eo4pl 12 күн бұрын
@@prtechtalk416 thank you for your kind response! i'm trying to build in my mind a "method" to use with the RTOS , its my frist experience with an RTOS. i will for sure give a look at the the tx_thread_relinquish command! thank you !
@peterrosenquist6653
@peterrosenquist6653 13 күн бұрын
Very good videos! Thank you. Question about memory location for stacks is there any advantage / disadvantage to declare them static vs have them in a tx byte pool?
@prtechtalk416
@prtechtalk416 13 күн бұрын
Hi Peter thanks for your comment. As always their is not only benefits from selecting one their is also drawbacks. So what to use is up to you as desinger but it´s good that their are alternatives. So base on the below statements i would select Static if i had ram enough, and in case i where low on ram resources get a bigger MCU or use tx_byte-pool. In my example i clearly made the stacks to big but i have enough memory so no harm in this. Static Allocation: Offers simplicity, performance, and predictability, but lacks flexibility and can lead to inefficient RAM usage. tx_byte_pool Allocation: Provides flexibility and efficient RAM usage, but adds complexity and potential performance overhead. /PR TechTalk
@technicalities101
@technicalities101 17 күн бұрын
Hej ! (I lived in Sweden for 1 year, that is a greeting that is stuck in my head) I've got that B-U585I-IOT02A board and tried (unsuccessfully) to write something on EEPROM and then read it. I am VERY new to this, I went over many tutorials & examples but I need a simple working example on this board so I can then build on the knowledge. So, I will be keeping an eye in case you decide to make such example. :)
@prtechtalk416
@prtechtalk416 12 күн бұрын
Hej !. Pls dont forget that within CubeMX their is a greate deal of examples that you can take a look at. Might be that SPI -> eeprom will come in future videos so stay subscribed and hit the bell to get notified when new content is released. PR TechTalk
@statstopfinish
@statstopfinish 18 күн бұрын
How to do it the other way around? How to get a project archive for export from CubeIDE?
@prtechtalk416
@prtechtalk416 18 күн бұрын
Stay tuned for that :-) .
@nicolasmarconi3306
@nicolasmarconi3306 19 күн бұрын
i got one FRDM-mCXa153 development board at embedded world congress on April 2024 that took part in Nuremberg. Thanks a lot for this information. I' ll be tune for more videos from you, thanks
@prtechtalk416
@prtechtalk416 18 күн бұрын
Hi, glad you got helped in getting started with your new development board. /PR TechTalk
@LucaSpezzani-gz7no
@LucaSpezzani-gz7no 23 күн бұрын
how did you set the NVIC ?
@prtechtalk416
@prtechtalk416 18 күн бұрын
You can enable the NVIC using CubeMX. /PR TechTalk
@MrZANE42
@MrZANE42 25 күн бұрын
Do you know if/when ST will release an x-cube-azrtos-U0 package? And for that matter an x-cube-azrtos-U5 package?
@prtechtalk416
@prtechtalk416 18 күн бұрын
Hi , Sorry but i do not have that inside information from ST. /PR TechTalk
@ganeshsharma24894
@ganeshsharma24894 25 күн бұрын
How is putty sending data to the USART peripheral? I always use a usb to usart converter and connect it to rx and tx pin of usart but I don't see that in your case how come you are sending data using only usb cable?
@prtechtalk416
@prtechtalk416 18 күн бұрын
Hi, the USB cable that is used for ST-Link is also carry the UART at the same time /PR TechTalk
@AndreaBasilico-eo4pl
@AndreaBasilico-eo4pl 28 күн бұрын
Hello! great video as usual!, one question: why use this DTS instead the ADC temperature channel? what are the case that is better DTS and the case ADC temperature is better? thank you!
@prtechtalk416
@prtechtalk416 18 күн бұрын
Hi Andrea, I use this since DTS is so easy to get started and use, and you can free the ADC to other tasks, Normally you need long sampling time for the analog tempsensor and that could interfere with other more high priority measurments. /PR TechTalk
@AndreaBasilico-eo4pl
@AndreaBasilico-eo4pl 18 күн бұрын
@@prtechtalk416 thank you! p.s. if i can make a suggestion for next videos it will be awesome if you talk about how to connect a QSPI memory and map it in ROM, and also to continue with threadX. best reguards
@Buy_YT_Views_5545
@Buy_YT_Views_5545 28 күн бұрын
Your channel is a reliable source of information.
@prtechtalk416
@prtechtalk416 18 күн бұрын
Thanks for your nice words. / PR TechTalk
@Frisky0563
@Frisky0563 29 күн бұрын
Great video gives me some new ideas! Thanks
@prtechtalk416
@prtechtalk416 29 күн бұрын
Hi Frisky, Thanks for your nice words. Hope i also managed to get you as a subscriber :-) /PR TechTalk
@Sean-pb8lm
@Sean-pb8lm Ай бұрын
Thank you for taking the time to put this together. I used it to guide me when doing similar things on an STM32F103.
@prtechtalk416
@prtechtalk416 Ай бұрын
Thank you Sean, hope I earned you as a subscriber also :-)
@abirthabti9111
@abirthabti9111 Ай бұрын
I find a difficulty with module esp8266 on stm32h573iik3Q
@prtechtalk416
@prtechtalk416 Ай бұрын
Hi, I have not tried to use Espressif´s ESP8266 as a Wifi dongle, but I guess you need to load the module with a firmware specific to this use case, and then connect these using UART / SPI to the STM32. God Luck. And pls don't forget to his the Subscribe button :-) / PR TechTalk
@ltlt6117
@ltlt6117 Ай бұрын
Hi how much is the time between interrupt(falling or rising edge) and function and how we can decrease this time ? (Doing the function immediately after interrupt without any delay)
@prtechtalk416
@prtechtalk416 Ай бұрын
Hi, one way to measure the time taken is to count MCU cycles, take a note on the current counter on int and then when the callback have started , then you have your time. To minimize time then one way is to maximize clock frequency. Don't forget to hit the Subscribe button :-) /PR TechTalk
@abirthabti9111
@abirthabti9111 Ай бұрын
Plz do an application with trust zone enable for stm32h5
@prtechtalk416
@prtechtalk416 Ай бұрын
Hi and thanks for your suggestion, TrustZone is a good suggestion so hit the subscribe button and the bell to get notified when/if I release a video on this topic. /PR TechTalk
@AndreaBasilico-eo4pl
@AndreaBasilico-eo4pl Ай бұрын
hello! this tutorial is awesome! an interesting aspect regarding the reading of the Vbat would be to be able to include the reading of the Vbat only every now to preserve its charge (usually I read it once every hour), it is possible to programmatically disconnect the reading leaving the number of conversions (rank) unchanged so that I don't have to worry about restructuring the length of the DMA buffer? (i am assuming to use the 20+ buffer to check and managed the value only after a couple of compleate reading). best reguards!
@prtechtalk416
@prtechtalk416 Ай бұрын
If i understand your application correct you have a set of ADC channels you regulary sample and only the Vbat you would like to sample less often. If this is the case the i would set a separate timer to trigger only the Vbat channel. /PR TechTalk
@AndreaBasilico-eo4pl
@AndreaBasilico-eo4pl Ай бұрын
@@prtechtalk416 yes you understanded very well my application! i want to not discharge the battery with to much readings , so it is possible to have a dma based readings for all the channel except the vbat and a single channel software activated polling for the Vbat? how can be possible to select this method with the cube ? if i select scan mode isnt for ALL the channel? thank you!
@AndreaBasilico-eo4pl
@AndreaBasilico-eo4pl Ай бұрын
hello! i have a question , is it possible to have a interrupt when the DMA is at the middle and at the end of the buffer? to "refill" the buffer with new value taked from external memory or calculated. Also is it possible to use the DMA to feed a pwm duty cycle ? thankyou for the awesome videos! best reguards
@prtechtalk416
@prtechtalk416 Ай бұрын
Hi Andrea, Sure you can get half full interrupt also. Test this code: void HAL_ADC_ConvHalfCpltCallback(ADC_HandleTypeDef* hadc) { if (hadc->Instance == ADC1) { // Handle half buffer full interrupt } } Good Luck /Peter Ranemyr
@prtechtalk416
@prtechtalk416 Ай бұрын
Sorry missed their was 2 questions. Also yes on this question, you can direct the DMA result from ADC directly to TIM1_CCR1 ( for tim1) Good Luck /PR TechTalk
@AndreaBasilico-eo4pl
@AndreaBasilico-eo4pl Ай бұрын
@@prtechtalk416 Hi! i think this is for a ADC conversion, in this video we are using DAC , so its equal for memory to periferal direction? thank you for your kind responce
@TriodeTetrode
@TriodeTetrode Ай бұрын
You should note that also ST decided to use still old ST-LINK V2 on these low end U0 series nucleo boards. Would been nice to add new ST-LINK V3.
@prtechtalk416
@prtechtalk416 Ай бұрын
Hi, thanks for this comment i didnt check this myself. Butif ou have another Nucleoboard with STLink-V3 you can use that interface to debug on this Nucelo board, You do need som extra cables and could be fiddly, so perhaps not worth the effort.
@TriodeTetrode
@TriodeTetrode Ай бұрын
@@prtechtalk416 That's the problem. I do have few external ST-LINK V3 programmers, but I can't be bothered with the cables and still use built in V2 mostly. They just saved few cents on that probably. Would been nice to see V3 on all new boards.
@EdwinFairchild
@EdwinFairchild Ай бұрын
@@TriodeTetrode Probably would have been overkill for such a simple chip, where the debugger cost more than the target onboard. At least you got USBC on it lol little victories.
@TriodeTetrode
@TriodeTetrode Ай бұрын
@@EdwinFairchild USBC itself doesn't cost any more literally than any other USB socket. Only 2 extra resistors are added for USB-C usually, that's it. I'm aware of price would be higher. However I'm sure when in mass production it wouldn't make much difference, maybe few euros here or there. I also think ST charges too much for ST-LINK V3 on board.
@EdwinFairchild
@EdwinFairchild Ай бұрын
@@TriodeTetrode Do you mean a standalone st link v3? because if you mean onboard like in a nucleo , the stm32g4 has a v3 and that board cost 15 bucks. StLink V3 mods cost 8 bucks and StLink V3 mini cost 11 bucks, a full blown kit cost 35 bucks. it dont think thats unreasonable.
@jumadhaheri
@jumadhaheri Ай бұрын
Very interesting
@prtechtalk416
@prtechtalk416 Ай бұрын
Thank you for watching! I'm glad you found it interesting.
@amarobarbosa8483
@amarobarbosa8483 Ай бұрын
is the segger's usb port disconnected?
@prtechtalk416
@prtechtalk416 Ай бұрын
No ??
@prtechtalk416
@prtechtalk416 Ай бұрын
Hi Andrea, i cant answer you since i don’t have that info. But take a look in the ref manuals for Threadx. /PR TechTalk
@AndreaBasilico-eo4pl
@AndreaBasilico-eo4pl Ай бұрын
Thanks for replying to my comment anyway, did you plan to continue threadX video? it will be very interesting ! best reguards
@prtechtalk416
@prtechtalk416 Ай бұрын
Hi, That is a high posibility for more Threadx Videos in the future, so stay tuned :-)
@AndreaBasilico-eo4pl
@AndreaBasilico-eo4pl Ай бұрын
hello! i have a question about the TX_WAIT_FOREVER. if we use the tx_thread_sleep function we can assume that the code is executed after the sleep value (according to priority ecc), but how often the program check there is a semaphore to get when we are "waiting forever"? for example if i use a "normal flag" to decide if there is an operation to do or not i can use the sleep to decide after what time i check the flag. but with a semaphore ?
@edgarwcl
@edgarwcl Ай бұрын
Thanks! You enlightened me a lot👍🏽. I have a question, why us not measure the current in JP3. If possible, timer, I2C/I3C, Uart are more interesting, I am looking for testing and studying together 🙏🏽🙂
@prtechtalk416
@prtechtalk416 Ай бұрын
Glad you found it interesting. Reson for using J2 is that the J2 is sourcing the MCU only and their was already pins soldered. To use J3 you need to attach the pinheader and desolder the 0ohm resistor also. Thank you for your suggestion on comming topics. /PR TechTalk
@Zurenio
@Zurenio Ай бұрын
Very very good video.... you are the best...!!
@prtechtalk416
@prtechtalk416 Ай бұрын
Thank you so much 😀
@sorvab
@sorvab Ай бұрын
KING!!
@prtechtalk416
@prtechtalk416 Ай бұрын
Who needs a crown when I have awesome viewers like you?
@iitianvlogs9805
@iitianvlogs9805 2 ай бұрын
Sir i need your help ,please can you clarify for using QE touch in renesas we have to buy a touch pad or we can use any customise touch sensor like tp223
@prtechtalk416
@prtechtalk416 Ай бұрын
Hi, i am no longer supporting Renesas so pls use this link to get support on these community.renesas.com/mcu-mpu/
@hectorvidales876
@hectorvidales876 2 ай бұрын
Thank you.
@prtechtalk416
@prtechtalk416 Ай бұрын
You're welcome!
@alex05vo53
@alex05vo53 2 ай бұрын
Thanks!!!
@prtechtalk416
@prtechtalk416 Ай бұрын
Thank you for watching and commenting!
@iitianvlogs9805
@iitianvlogs9805 2 ай бұрын
i have renesas ra 2e1 board and i am using touch button spring on it ,but during tuning its value is not chnaging i am not able to tune
@prtechtalk416
@prtechtalk416 Ай бұрын
Hi, i am no longer supporting Renesas so pls use this link to get support on these community.renesas.com/mcu-mpu/
@andax2007
@andax2007 2 ай бұрын
Why do you enable MSM bit? It is not related to what you want to achieve.
@zaga9560
@zaga9560 2 ай бұрын
Black pill - Blue Pill - similar method? I saw another video where they use an FTDI board to program the black pill - is this unnecessary? kzfaq.info/get/bejne/h6mUobJlmLime2g.html&ab_channel=GaryExplains
@prtechtalk416
@prtechtalk416 Ай бұрын
Hi, im a it unsure over your question, but to program any ST MCU you need some kind of tool. Could be STLink or similar. FTDI is "only" a USB to Uart converter and could be a part of a programmer.
@sugiyartosugiyarto1587
@sugiyartosugiyarto1587 2 ай бұрын
Sir making video uart bus..thanks
@prtechtalk416
@prtechtalk416 Ай бұрын
Hi, Video Uart bus ? Or Video and Uart ? I have made videos on TouchGfx for Display and other videos on Uart.
@sugiyartosugiyarto1587
@sugiyartosugiyarto1587 Ай бұрын
@@prtechtalk416 video uart bus..thanks..sir
@user-rl4ix1ws5s
@user-rl4ix1ws5s 2 ай бұрын
I have a problem. My Transfer interrupt calls 2 steps before done the buffer. what is happening? i am using stm32u575ri
@prtechtalk416
@prtechtalk416 Ай бұрын
Hi, that is impossible to answer need to see whole project to being able to respond,
@user-rl4ix1ws5s
@user-rl4ix1ws5s Ай бұрын
@@prtechtalk416 how to send you the project?
@user-rl4ix1ws5s
@user-rl4ix1ws5s Ай бұрын
@@prtechtalk416 but you can try. please enable dma interrupt toggle a pin. i have tried with G4 and U5.
@demianzenkov
@demianzenkov 2 ай бұрын
That doesn't work on F4 series. Only the last value is read from ADC register if using multiple channels in interrupt mode (timer triggered or not, doesn't matter). In DMA it works good.
@prtechtalk416
@prtechtalk416 Ай бұрын
Hi, Thanks for your input. I do not have any F4 that i am aware of and cant verify so i need to take your word for it.
@domdom1941
@domdom1941 2 ай бұрын
Great video! However there is something I don't really get. The prinft() output is shown in a terminal. However, this terminal is not the console output of the STM32 IDE right? So is this some kind of putty Output? And how would you make the printf() messages visible in the console output of the STM32 environment?
@kdt85
@kdt85 2 ай бұрын
You need to make a new connection
@prtechtalk416
@prtechtalk416 Ай бұрын
The Terminal that i used in this video is a part of STM32Ide enviroment but an external one.
@ToS-wp2zw
@ToS-wp2zw 2 ай бұрын
cool thank you!
@prtechtalk416
@prtechtalk416 Ай бұрын
Thank you for watching and appreciating the content!
@jumadhaheri
@jumadhaheri 2 ай бұрын
Coming video would very interesting
@prtechtalk416
@prtechtalk416 Ай бұрын
Hope you saw the Getting started video
@prtechtalk416
@prtechtalk416 Ай бұрын
kzfaq.info/get/bejne/qKeZa9Fh3cDGqmw.htmlsi=5KjcgEqvZyKVqpjL
@hectorvidales876
@hectorvidales876 2 ай бұрын
Nice! I just purchased one. Looking forward to your MCX tutorials.
@prtechtalk416
@prtechtalk416 Ай бұрын
Thanks for your feedback . Pls see my neext video on getting started .
@prtechtalk416
@prtechtalk416 Ай бұрын
kzfaq.info/get/bejne/qKeZa9Fh3cDGqmw.htmlsi=5KjcgEqvZyKVqpjL
@ghaith210
@ghaith210 2 ай бұрын
Thanks but what is the role of function callback
@prtechtalk416
@prtechtalk416 2 ай бұрын
That is up to you to decide what you want to happen. Interrupt and callback is a way to organize your software, and their are several other methods that you can use or combine. Main Loop is One, RTOS is another. all have their pros and cons. /PR TechTalk
@daikooindustrial7570
@daikooindustrial7570 2 ай бұрын
Do you have any Ethernet example for this microcontroller?
@prtechtalk416
@prtechtalk416 2 ай бұрын
Hi, no i haven’t made any video on how to implement eth interface yet,
@msbanda2123
@msbanda2123 2 ай бұрын
Awesome playlist ❤
@prtechtalk416
@prtechtalk416 2 ай бұрын
Thanks 🙏
@terranceparker2015
@terranceparker2015 2 ай бұрын
Timely video. Took me a bit to understand how to use the V3PWR. I can download a program using embedded STLINK and read the power consumption using the NUCLEO-L476RG board but struggling to get the debug to connect with the 6 pin connector on NUCLEO board. Always states target not found. Read all the manuals, checked the continuity, powered TVCC from external source and still no joy...arghhh.
@terranceparker2015
@terranceparker2015 2 ай бұрын
Got it to work all to work and able to program and monitor power consumption. Very cool tool.
@prtechtalk416
@prtechtalk416 2 ай бұрын
Greate to hear that you concurred your problems.
@hacker6695
@hacker6695 2 ай бұрын
THANKS....FOR WONDERFUL TIP..
@prtechtalk416
@prtechtalk416 2 ай бұрын
Your welcome 🙏