My current interests are FPGAs & Microcontrollers.
Website: https://micomigs.github.io/
Github: https://github.com/MicoMigs
- Teach Yourself Physics
Currently studying:
- Students' Guide to Maxwell's Equations
- Teach Yourself Physics
Currently studying:
- Students' Guide to Maxwell's Equations
- Teach Yourself Physics
Currently studying:
- Students' Guide to Maxwell's Equations
Learning and pulling design lessons from Mastering FPGA Chip Design: For Speed, Area, Power, and Reliability by Kevin Hubbard.
I’ll post progress updates in the replies. #FPGA #Ethernet #LearningInPublic
Learning and pulling design lessons from Mastering FPGA Chip Design: For Speed, Area, Power, and Reliability by Kevin Hubbard.
I’ll post progress updates in the replies. #FPGA #Ethernet #LearningInPublic
Wrote my own GPIO + SPI drivers from scratch, debugged MODF, and built a working TX demo.
Learned a lot about creating a driver API
Wrote my own GPIO + SPI drivers from scratch, debugged MODF, and built a working TX demo.
Learned a lot about creating a driver API
Fix = Set SSI = 1 to tie NSS to +VCC internally. Because the SSI bit influences NSS state when SSM = 1. By default, SSI = 0, so NSS will be pulled low, not acceptable in non multi master mode.
Lesson learned.
Fix = Set SSI = 1 to tie NSS to +VCC internally. Because the SSI bit influences NSS state when SSM = 1. By default, SSI = 0, so NSS will be pulled low, not acceptable in non multi master mode.
Lesson learned.
PB13=SCLK, PB15=MOSI (AF5), master, 8-bit frames, CPOL=0/CPHA=0, SSM=1, fSCLK≈8 MHz.
Transmitting "Hello World" over MOSI ✅
Next: enable NSS/MISO, add RX path with DMA/IRQ, and handle OVR correctly.
#STM32 #STM32F4 #SPI #Embedded #BareMetal #C #MCU #DriverDev
PB13=SCLK, PB15=MOSI (AF5), master, 8-bit frames, CPOL=0/CPHA=0, SSM=1, fSCLK≈8 MHz.
Transmitting "Hello World" over MOSI ✅
Next: enable NSS/MISO, add RX path with DMA/IRQ, and handle OVR correctly.
#STM32 #STM32F4 #SPI #Embedded #BareMetal #C #MCU #DriverDev
Configured EXTI lines + NVIC, rising/falling edge demo, and a simple timer-guard for debounce. Next: tidy ISR helpers and document latency/throughput notes.
#STM32 #STM32F4 #Embedded #BareMetal #C #MCU #DriverDev
Configured EXTI lines + NVIC, rising/falling edge demo, and a simple timer-guard for debounce. Next: tidy ISR helpers and document latency/throughput notes.
#STM32 #STM32F4 #Embedded #BareMetal #C #MCU #DriverDev
✅ GPIO
🔜 SPI → I²C → UART
Goals: reusable driver API, clean IRQ/DMA paths, easy porting across STM32F4. Follow the thread below for build logs and code gists.
github.com/MicoMigs/STM...
#STM32 #STM32F4 #Embedded #BareMetal #C #MCU #DriverDev
✅ GPIO
🔜 SPI → I²C → UART
Goals: reusable driver API, clean IRQ/DMA paths, easy porting across STM32F4. Follow the thread below for build logs and code gists.
github.com/MicoMigs/STM...
#STM32 #STM32F4 #Embedded #BareMetal #C #MCU #DriverDev