Комментарии:
I love this stuff!
ОтветитьThank You Paul
ОтветитьKeep up the good work! Everybody else is doing the micropython simple stuff. You are taking this little pico to it's limits!
ОтветитьGREAT LESSON, NOT BORING AT ALL! Thank you PAUL!
ОтветитьNOT ACTIVE.
ОтветитьHi Paul, That is a great series. I like the deep dive keeps my wheels spinning :)
ОтветитьI am enjoying the PIO series, I'm looking forward to advancing with them! Great video
ОтветитьNO! Definitely not boring. Thoroughly enjoying the lessons on the state machines. Hope we can keep going and dive deeper into their possible uses (DMA, IRQs, etc). Thanks for all you do for us. It's truly appreciated.
ОтветитьTerrific session. Since we have 8 State Machines, I look forward to learning how to get all working together for some parallel processing.
ОтветитьPlease go on with the state machines!
I wonder about the question you put at 31m08s: "did it hang"or "did it crash" - is there a way to find out?
Thanks Paul! Far from it, these lessons are what sets you apart from the 'Turn an LED' crowd. Still here and looking forward to next week (Not fast enough!)
ОтветитьGreatest video on PIO state machines in detail. Waiting for more videos
ОтветитьHi Paul - this really is an area I wanted to understand better so thanks for covering it from the ground up. I agree with this approach as you have to understand what is happening ( like you it's a long tome since I was programming the Z80 🙂) What I'd like to know is if you are going to set up multiple State machines and show how they work simultaneously - I don't know what the capabilities are and what the advantages are going to be over something like FreeRTOS or asynchio which could arguably be easier to program. Will we be able to control just for example 3 steppers simultaneously ? Thanks and looking forward to completing this section.
ОтветитьI enjoy the work with the PIO facility. Its real power is in implementing communication protocols such as I2C and offloading the main CPU so it can do other functions. I was a Z80 application engineer and used one of its peripherals, the Z80-SIO for serial communications. The SIO is powerful and configurable but not programmable. So you only get the protocols it was built for (e.g., SDLC and HDLC). The Pico PIO allows us to program just about any protocol and have it run as an independent process, just like the SIO did for the Z80. Programming the PIO state machines is a little more straightforward in C++ as one uses a standard function declaration preceded by a compiler directive telling the compiler the following code is PIO assembly language. All the pin assignment is done in the function rather than in the instantiation.
ОтветитьBoth will be 0, You should have 0xA in there the PIO isnt active, but it gave 1 so it represent no of words present; fifo rx is zero because PIO isnt active; The tx will go to zero, rx will go to 1 and the leds will light;
ОтветитьThanks, I'm finally understanding the PIO
ОтветитьGood lesson. The print statements along with your narrative really helped me understand the processes, especially how the information stacked in the TX FIFO is directed to the RX FIFO. Once you tuned the state Machine on, I wasn't expecting all of the words to be received at the RX FIFO so quickly. I learned a lot, but now have to do some research to answer my "what now?" questions. No, this is not boring! Thank you once again.
ОтветитьI like the concept of the statemachine running in the background doing simple tasks. That free up the Pico to perform more complex tasks. Still trying to do a binary count in the statemachine, getting closer.
ОтветитьGreat series! I hope there is enough interest to do a much deeper dive: e.g. dma (direct memory access), wait, IRQ, jmp. Thanks!
ОтветитьHi Paul
It beggars belief that someone could be so rude🙃
Don't worry - the rest of us love you💘
Great lesson, but all that copy and pasting made me cringe. Thanks Paul for all you do.
ОтветитьGetting the basics thoroughly mastered is excellent! Thank you for all of your efforts, Paul! Stay the course. Double chest bump!!
ОтветитьThank you Paul!
ОтветитьI'm enjoying it because it's challenging.
ОтветитьThanks Paul - v useful
ОтветитьJust discovered your channel. Great content on working with microcontrollers and single board computers like the Raspberry Pi.
ОтветитьI have a Arduino code but one LED on off but our requirement 4 led please help me sir
ОтветитьVery good sir you can make A HC 12 Lora modules code for 4 led on off Arduino code ❤
Ответить