Пікірлер
@DrBwts
@DrBwts Күн бұрын
Trying on a STM32F411RE but get nothing back from the ADXL
@DrBwts
@DrBwts 22 сағат бұрын
ahhh got it working, I had the wrong connections on my nucleo board - thanks for the tutorial
@MrRevillo
@MrRevillo Күн бұрын
I can't find out where I would find/how i would create such a table for the MPU configuration, if it was a different mC. If someone could explain it to me, I would be thankful!
@ControllersTech
@ControllersTech 21 сағат бұрын
Which tables ? Please mention the time
@MrRevillo
@MrRevillo 20 сағат бұрын
@ControllersTech Oh, you replied, I did not expect that! Yes, sorry, I am a bit new to embedded Programming. I meant the last table you showed in the Video around 6:40. The one with the TEX, C, B, Memory Type, etc... I understand how it is connected with the topic of your next video, and I assume that the C, B, and Shareable flags are probably similar/the same in most mC/cache/memory/mpu systems. I still don't understand how i would know the TEX number. I also assume that this information you presented in the table here is provided (in some way or another) from the manufacturer. I use the same Board as you in your example videos, but was not able to find it in the Reference Sheet, or the "Basic user sheet". In the Reference sheet I only found something like the table at 1:52. I would like to know how you got/created the table, so i could be prepared when I am using a different Board. Sorry for the long comment, i hope i got across, what I meant! And in general thank you for your Videos, they are a huge help for me to get into Embedded systems!
@ControllersTech
@ControllersTech 13 сағат бұрын
These tables are provided by ST itself. I put them together by reading different docs provided by ST. They are not present in the reference manual or datasheet. You can find them on the ST's website where they explain about the MPU. These tables remains the same for all the MCUs.
@MrRevillo
@MrRevillo 5 сағат бұрын
@@ControllersTech That means I have to be aware of more than just the Manuals; It's also good to know that they are the same for all the ST-Provided MCU's. Thanks for the Pointers, that helped clear things up a lot!
@mrsuratech8344
@mrsuratech8344 Күн бұрын
Мне очень помогло! Спасибо!!!
@CojocaruFlorin
@CojocaruFlorin 2 күн бұрын
Worked on the first try , thank you very much for this!
@ninaasadi6679
@ninaasadi6679 2 күн бұрын
Thanks for good video. I have a question. How can I find out that the duty-cycle is 100%? It can't capture rising edge when its 100%
@ControllersTech
@ControllersTech Күн бұрын
Well you can't capture a 100% and 0% duty. You have to implement some other method for it. For example, create a variable and increment it in the systick handler. Also Reset the variable in the input capture callback. Now in the while loop, check if the variable value has exceeded some partiular time. Here for example, if the frequency of the signal is 100 hz, the interrupt will take place every 10ms. So we will check if variable's values is more than 20, if it is that means the interrupt did not trigger last 2 times and it would mean the duty is either 100 or 0.
@murrayzhong3968
@murrayzhong3968 3 күн бұрын
I am using IDLE line to implement a Modbus slave on RS485 bus. After received the frame, stm32 would send a response to the master. But the next received frame would have a garbage byte in front of the real frame. Very wired.
@lohikarhu734
@lohikarhu734 4 күн бұрын
I turned off JavaScript for your website tutorial, which, otherwise sent me to guardnkill !!!
@hadighorbani355
@hadighorbani355 5 күн бұрын
Like
@FreddieMare
@FreddieMare 5 күн бұрын
Love your video material thank you. How will the ESP32-S3-WROOM-1U-N16R8 be handled any different
@ControllersTech
@ControllersTech 5 күн бұрын
Just look for the SPI pins. The rest will remain the same.
@arsalankeivanrad103
@arsalankeivanrad103 6 күн бұрын
You put dht22 code for ds18 please fix it thanks
@ControllersTech
@ControllersTech 6 күн бұрын
There are 3 separate links for each of them.
@threeblues101
@threeblues101 6 күн бұрын
Hello , great videos. Very helpful. Would this work for retaining the values after power cycle?
@ControllersTech
@ControllersTech 6 күн бұрын
Of course not. That is a completely different thing. Once the power is reset, the entire code runs from the start, so this setup will also reset. If you want to preserve the values, store them in the flash memory.
@threeblues101
@threeblues101 6 күн бұрын
@@ControllersTech Thank you for the info. I wanted to update/ store values every time the value is changed. Cycling through many numbers this might be huge amount of writes over time. What would you recommend storage type for continued values stored?
@ControllersTech
@ControllersTech 6 күн бұрын
If you do want to retain the value through the power cycle, flash storage is a good option. Instead of writing every value, why not setup a timer to generate interrupt every 2 or 3 seconds. In the interrupt handler, you can store the current value.
@Healthy_life123-f1m
@Healthy_life123-f1m 6 күн бұрын
I am facing issue
@amitkagade5265
@amitkagade5265 6 күн бұрын
Hey, Anyone Getting Floating point issue, its not showing for me ???
@ControllersTech
@ControllersTech 6 күн бұрын
Go to project properties -> C/C++ build -> Settings -> MCU/MPU Settings and check the printf_float.
@AviSanX
@AviSanX 8 күн бұрын
Hello, My Ay, Az and Gy, Gx values are staying constant despite moving the gyro aggresively. I did almost everything you told except I made a few changes in reading the output values. Instead of the LCD display I am using serial monitor so my changes are: while(1){ char buf[100]; MPU6050_Read_Accel(); MPU6050_Read_Gyro(); sprintf(buf, "Ax=%.2fg Ay=%.2fg Az=%.2fg Gx=%.2f Gy=%.2f Gz=%.2f ", Ax, Ay, Az, Gx, Gy, Gz); HAL_UART_Transmit(&huart1, (uint8_t*)buf, strlen(buf), HAL_MAX_DELAY); HAL_Delay(250); }
@Xer777Xes
@Xer777Xes 9 күн бұрын
How i can read out the busyflag from the AIP31068 controller?
@m.nauman7801
@m.nauman7801 9 күн бұрын
waiting for the video on ltdc for this board ........
@AdithyanKNair
@AdithyanKNair 9 күн бұрын
Why did you send the address of data variable in UART_TRANSMIT function when aending number?
@ControllersTech
@ControllersTech 6 күн бұрын
You means at 12:00 ? HAL_UART_Transmit takes the pointer to the variable as the parameter. Therefore we need to pas the address of the variable.
@robertjohnson4089
@robertjohnson4089 10 күн бұрын
I do enjoy all your tutorals I am still learning and want to get better at understanding C+ and how to rad programs and write them
@ControllersTech
@ControllersTech 6 күн бұрын
Glad you are enjoying the tutorials! Keep practicing and you will master it.
@Mohammed.Khalaf97
@Mohammed.Khalaf97 10 күн бұрын
I have barcode printer, and I used to use USB Host Arduino Shield to control it. If I applied what you did, would it be successful ?
@Tubez-YT
@Tubez-YT 10 күн бұрын
Very good. Thanks for the nice video.
@KevinBoosts
@KevinBoosts 10 күн бұрын
I did a blink output where the freq. is different for every key (no LCD). And it seems that the program functions as a DIFD, is that correct? Everytime I release the button it seem to blink, when I hold it: nothing happens.
@tantran1644
@tantran1644 11 күн бұрын
Thanks you very much for your
@fafinox
@fafinox 12 күн бұрын
not working, tested in bluepill f103c8t6 and wb55cgu, not working, cpu fail on execute.
@ControllersTech
@ControllersTech 11 күн бұрын
Did the code flashed successfully? You Probably have the cloned mcu.
@fafinox
@fafinox 11 күн бұрын
@@ControllersTech working correctly, I checked and had misconfigured my external clock frequency, I corrected it and now it works perfect, tested and working on STM32WB55 WeAct board
@fafinox
@fafinox 11 күн бұрын
the maximum frequency measured was 12.8MHz as the board only runs up to 64Mhz and this was the maximum stable pwm frequency I could achieve
@fafinox
@fafinox 11 күн бұрын
This is just what I was looking for, since I want to develop a low-cost and high-performance oscilloscope, I know I need a microcontroller with a higher frequency, but while I investigate I am learning the methods
@fafinox
@fafinox 11 күн бұрын
Now, with the comparator embedded in the board we could try to use the same method with a sine signal to transform it into PWM pulses, and thus calculate its frequency, although with this method we could calculate the frequency but we could not visualize beyond the sample rate of the adc, anyway it would be a great advance and then an external adc of 50Msps could be implemented, But that would be another stage
@HousseinDroubi-o9i
@HousseinDroubi-o9i 12 күн бұрын
Hello, welcome to you.
@venkygoud7421
@venkygoud7421 12 күн бұрын
Very useful video. You have removed freeRTOS header files that means the code is in bare metal code....
@mukulbandekar3879
@mukulbandekar3879 13 күн бұрын
Hi, I tried the same example with rs485 but i dont understand why its not working, the values are not being read in the simplymodbus master app i dont understand where the problem lies so that is can debug at least i am using f469I discovery board
@ControllersTech
@ControllersTech 13 күн бұрын
Did the previoud parts worked ?
@rajeshkolhe1522
@rajeshkolhe1522 13 күн бұрын
Hi sir Great Video.. I hope you make some example projects in future to drive HUB75 RGB matrix displays using I2S parallel and DMA
@ControllersTech
@ControllersTech 6 күн бұрын
Sure! I might make one in the future.
@idopshik
@idopshik 13 күн бұрын
Doesn't work for stm32G4 Interrupts never occurred. Sadly I can leave only one dislike. Bye forever.
@idopshik
@idopshik 14 күн бұрын
Just doesn't work.
@bobdalah8374
@bobdalah8374 14 күн бұрын
Super tutorial, great, thank you.
@deepakbabu5627
@deepakbabu5627 15 күн бұрын
iam confused IC2 captures the number of cycles the pwm signal was zero, then how does it tell the on period
@ControllersTech
@ControllersTech 15 күн бұрын
What do you mean "pwm signal was 0"?
@electrobrains
@electrobrains 16 күн бұрын
Will i2c dma video is come in stm32? MPU60 dma mode please
@MeghaR-c9k
@MeghaR-c9k 17 күн бұрын
I need modbus_crc.h contents
@JohnDoe-es5xh
@JohnDoe-es5xh 17 күн бұрын
What a pleasant voice. Is it AI generated? Anyway, I like these tutorials,
@PradnyaNitin-l5p
@PradnyaNitin-l5p 18 күн бұрын
I want to design CAN bus analyzer STM32 (bare metal ) and data logger . pls inform how to proceed
@mahmutgumus5288
@mahmutgumus5288 19 күн бұрын
Helal olsun
@PraveenChintha-j2t
@PraveenChintha-j2t 19 күн бұрын
Hello sir, I think the "scan mode" is not needed in the second case because you are setting rank1 for every channel.
@ControllersTech
@ControllersTech 6 күн бұрын
I am setting it in the program. The scan mode is automatically enabled when you choose multiple channels. Anyway it doesn't matter if we are using rank 1, so no harm.
@radouanebouchou7488
@radouanebouchou7488 19 күн бұрын
thank you very much sir
@reddyvvr2481
@reddyvvr2481 20 күн бұрын
thanks very much nice explanation to me(Old electronics/ New VLSI ) engineer --Ramana Reddy V V Rtd ISRO
@arif-l1y3p
@arif-l1y3p 20 күн бұрын
i copied the code exactly like in the video but my code hangs on read memory function in the main.c file . why can any one help me
@dsg743
@dsg743 20 күн бұрын
Hi can you help with Wifi sever in station mode
@AchmadHafidzEffendi
@AchmadHafidzEffendi 21 күн бұрын
Hello, your tutorial is amazing, thank you very much. Ihad successfully apply the Slave Modbus to my Blue Pill. Now I want to apply this Master Modbus to my STM32H750B-DK but got some problem. I had successfully apply your Custom Keyboard there, but now I just want to add Master Modbus on that Custom Keybord. I get 0 error on Cube, but Fail Compilation on TouchGFX. I try to download from Cube Programmer, download success but screen is white. May you can advise where is the issue.
@arif-l1y3p
@arif-l1y3p 21 күн бұрын
I copied qspi.c and qspi.h file and the main.c file but when i run my code it hangs on this line " if(CSP_QSPI_Read(Readbuf, 0, 100)!= HAL_OK) Error_Handler();" even after pressing the STEP OVER button in cubeide window
@scottolsen4314
@scottolsen4314 22 күн бұрын
Thanks!
@adelsalam9735
@adelsalam9735 22 күн бұрын
How can I download the libraries? please.
@usmanhaider4653
@usmanhaider4653 23 күн бұрын
👍👍
@crm73_
@crm73_ 24 күн бұрын
Whats is the advantage to not use the DMA. I thought it is better to use the DMA Controller, so you get away load from the CPU. Or is the interrupt the problem when using the DMA?
@ControllersTech
@ControllersTech 23 күн бұрын
There is no advantage. Some people prefer not to use it, so this video is for them.
@unknown23_c
@unknown23_c 24 күн бұрын
The video was really helpful, Thanks a lot. Could you please explain what the "RPIPE" (read pipe delay) does.
@woldecosgrove
@woldecosgrove 25 күн бұрын
Hello... i'd been following your video avidly, i m wondering if can use 3.5" TFT LCD shield instead of 2.4" shield ?
@woldecosgrove
@woldecosgrove 25 күн бұрын
the 3.5" TFT LCD shield has the same pin and layout with 2.4" "