Trying on a STM32F411RE but get nothing back from the ADXL
@DrBwts22 сағат бұрын
ahhh got it working, I had the wrong connections on my nucleo board - thanks for the tutorial
@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!
@ControllersTech21 сағат бұрын
Which tables ? Please mention the time
@MrRevillo20 сағат бұрын
@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!
@ControllersTech13 сағат бұрын
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.
@MrRevillo5 сағат бұрын
@@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Күн бұрын
Мне очень помогло! Спасибо!!!
@CojocaruFlorin2 күн бұрын
Worked on the first try , thank you very much for this!
@ninaasadi66792 күн бұрын
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Күн бұрын
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.
@murrayzhong39683 күн бұрын
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.
@lohikarhu7344 күн бұрын
I turned off JavaScript for your website tutorial, which, otherwise sent me to guardnkill !!!
@hadighorbani3555 күн бұрын
Like
@FreddieMare5 күн бұрын
Love your video material thank you. How will the ESP32-S3-WROOM-1U-N16R8 be handled any different
@ControllersTech5 күн бұрын
Just look for the SPI pins. The rest will remain the same.
@arsalankeivanrad1036 күн бұрын
You put dht22 code for ds18 please fix it thanks
@ControllersTech6 күн бұрын
There are 3 separate links for each of them.
@threeblues1016 күн бұрын
Hello , great videos. Very helpful. Would this work for retaining the values after power cycle?
@ControllersTech6 күн бұрын
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.
@threeblues1016 күн бұрын
@@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?
@ControllersTech6 күн бұрын
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-f1m6 күн бұрын
I am facing issue
@amitkagade52656 күн бұрын
Hey, Anyone Getting Floating point issue, its not showing for me ???
@ControllersTech6 күн бұрын
Go to project properties -> C/C++ build -> Settings -> MCU/MPU Settings and check the printf_float.
@AviSanX8 күн бұрын
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); }
@Xer777Xes9 күн бұрын
How i can read out the busyflag from the AIP31068 controller?
@m.nauman78019 күн бұрын
waiting for the video on ltdc for this board ........
@AdithyanKNair9 күн бұрын
Why did you send the address of data variable in UART_TRANSMIT function when aending number?
@ControllersTech6 күн бұрын
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.
@robertjohnson408910 күн бұрын
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
@ControllersTech6 күн бұрын
Glad you are enjoying the tutorials! Keep practicing and you will master it.
@Mohammed.Khalaf9710 күн бұрын
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-YT10 күн бұрын
Very good. Thanks for the nice video.
@KevinBoosts10 күн бұрын
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.
@tantran164411 күн бұрын
Thanks you very much for your
@fafinox12 күн бұрын
not working, tested in bluepill f103c8t6 and wb55cgu, not working, cpu fail on execute.
@ControllersTech11 күн бұрын
Did the code flashed successfully? You Probably have the cloned mcu.
@fafinox11 күн бұрын
@@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
@fafinox11 күн бұрын
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
@fafinox11 күн бұрын
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
@fafinox11 күн бұрын
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-o9i12 күн бұрын
Hello, welcome to you.
@venkygoud742112 күн бұрын
Very useful video. You have removed freeRTOS header files that means the code is in bare metal code....
@mukulbandekar387913 күн бұрын
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
@ControllersTech13 күн бұрын
Did the previoud parts worked ?
@rajeshkolhe152213 күн бұрын
Hi sir Great Video.. I hope you make some example projects in future to drive HUB75 RGB matrix displays using I2S parallel and DMA
@ControllersTech6 күн бұрын
Sure! I might make one in the future.
@idopshik13 күн бұрын
Doesn't work for stm32G4 Interrupts never occurred. Sadly I can leave only one dislike. Bye forever.
@idopshik14 күн бұрын
Just doesn't work.
@bobdalah837414 күн бұрын
Super tutorial, great, thank you.
@deepakbabu562715 күн бұрын
iam confused IC2 captures the number of cycles the pwm signal was zero, then how does it tell the on period
@ControllersTech15 күн бұрын
What do you mean "pwm signal was 0"?
@electrobrains16 күн бұрын
Will i2c dma video is come in stm32? MPU60 dma mode please
@MeghaR-c9k17 күн бұрын
I need modbus_crc.h contents
@JohnDoe-es5xh17 күн бұрын
What a pleasant voice. Is it AI generated? Anyway, I like these tutorials,
@PradnyaNitin-l5p18 күн бұрын
I want to design CAN bus analyzer STM32 (bare metal ) and data logger . pls inform how to proceed
@mahmutgumus528819 күн бұрын
Helal olsun
@PraveenChintha-j2t19 күн бұрын
Hello sir, I think the "scan mode" is not needed in the second case because you are setting rank1 for every channel.
@ControllersTech6 күн бұрын
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.
@radouanebouchou748819 күн бұрын
thank you very much sir
@reddyvvr248120 күн бұрын
thanks very much nice explanation to me(Old electronics/ New VLSI ) engineer --Ramana Reddy V V Rtd ISRO
@arif-l1y3p20 күн бұрын
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
@dsg74320 күн бұрын
Hi can you help with Wifi sever in station mode
@AchmadHafidzEffendi21 күн бұрын
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-l1y3p21 күн бұрын
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
@scottolsen431422 күн бұрын
Thanks!
@adelsalam973522 күн бұрын
How can I download the libraries? please.
@usmanhaider465323 күн бұрын
👍👍
@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?
@ControllersTech23 күн бұрын
There is no advantage. Some people prefer not to use it, so this video is for them.
@unknown23_c24 күн бұрын
The video was really helpful, Thanks a lot. Could you please explain what the "RPIPE" (read pipe delay) does.
@woldecosgrove25 күн бұрын
Hello... i'd been following your video avidly, i m wondering if can use 3.5" TFT LCD shield instead of 2.4" shield ?
@woldecosgrove25 күн бұрын
the 3.5" TFT LCD shield has the same pin and layout with 2.4" "