Timeline for Device driver for a MCU
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 28, 2023 at 8:57 | comment | added | Prashant | @DeepakKumar Yes and No. Microcontroller applications built using RTOS have layers of abstraction similar to that you'll find in an operating system running on microProcessor. But before you dwell into software complexities, first familiarise yourself with the functioning of ethernet hardware, how it communicated with controllers, then choose the right controller for your application (uC or uP) and then dive deep into the awsome world of embedded software development. | |
Sep 28, 2023 at 5:42 | comment | added | Deepak Kumar | Thanks for your response. What I understand after considering other forums is that in a operating system based microprocessor environment there is a concept of logical device driver and physical device driver. But in a micro-controller based environment there is no such concept. | |
Sep 27, 2023 at 14:04 | comment | added | Prashant | Have a look at the stack digram in this link freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/… . There are layers beneath freeRTOS which will be the "baremetal" code which you can either write yourself or use ST manuals for reference. The question however is what're you using for ethernet controller. If you wish to stick with bluepill then as i said before You'll have to get a ethernet module and communicate with it via SPI. | |
Sep 27, 2023 at 11:29 | comment | added | Deepak Kumar | Yes. I have used HAL GPIO functions to toggle the pins of MCU in stm32cubeide. I also have learnt to configure freertos by adding and deleting task using gui opting CMSIS v2. Only thing that is confusing me is using freertos drivers and baremetal drivers. | |
Sep 27, 2023 at 11:20 | comment | added | Prashant | Are you planning to use stm32cube envoirnment (HAL abstraction) for your project ? | |
Sep 27, 2023 at 11:14 | comment | added | Deepak Kumar | freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/… for reference | |
Sep 27, 2023 at 11:11 | comment | added | Deepak Kumar | I have done projects based on SPI, I2C and UART communication on bare metal programming concept. I wanted to get acquainted with Freertos hence wanted to interface MCU with ethernet module. Freertos provides drivers for ethernet connection. Hence wanted to know if these drivers are high level drivers or has any dependencies to be supported by freertos kernel. Thanks. | |
Sep 27, 2023 at 6:26 | history | answered | Prashant | CC BY-SA 4.0 |