STM32F2xx 또는 STM32F4xx에서 SPI DMA를 통해 Full duplex 통신 구현하기

written by James YS Kim javakys@gmail.com STM32 MCU를 가지고 표준 SPI 통신을 할 때 충분한 성능이 나오지 않는 문제가 있는데, 이것은 SPI read/write 사이에 너무 긴 idle time이 존재하기 때문이다. 아래의 그림1은 실제 SPI 통신시의 신호를 측정한 것인데, 한 바이트 데이터 송수신 기간의 5배 이상의 idle time이 존재하는 것을 확인할 수 있다. 그림1. SPI clock…More

How to check whether WIZnet W5500 was damaged by ESD shock

My customer in China designed his application board with WIZnet W5500. However, because there wasn’t sufficient space on their board the completed hardware design is weak against ESD shock. After ESD shock, W5500 couldn’t be controlled by the MCU even though the MCU was still alive. This is because W5500 has a PHY layer logic…More