Featured

[STM32F4] STM32F4 CPP Library 소개

STM32F4 사용자들을 위해 다양한 Peripheral 제어를 LL Driver기반으로 구현한 twareLAB의 Library를 소개한다.
재사용성을 높이기 위해서 Library는 CPP 기반이다.More

Featured

Connecting W5300 to STM32F103 via FSMC interface

As W5300 supports only Parallel Bus Interface to Host MCU, connecting W5300 to STM32F103 MCU needs FSMC(Flexible Static Memory Controller) interface. I’ll show you here how to configure FSMC interface for W5300 and how to set up a loopback application as an example of TCP/IP communication using W5300 Configure FSMC In Pinout and Configuration Tab,…More

Featured

FSMC 인터페이스로 STM32F103과 W5300 연결하기

FSMC 핀 설정하기 Pinout and Configuration 탭에서 Connectivity->FSMC를 선택하고 FSMC Mode 블록에서 “NOR Flash/PSRAM/SRAM/ROM/LCD 3” 를 클릭한 후, Chip Select는 “NE3”, Memory type은 “SRAM”, Address는 “10 bits”, Data는 “16 bit”를 선택한다. FSMC Configuration 블록에서 Write operation은 “Enable”로 변경하고, NOR/PSRAM timing에서 “Data setup time in HCLK clock cycles”는 3, 나머지는 0으로 설정한다. ioLibrary 설치하기 WIZnet에서는 ioLibrary…More

STM32에서 EEPROM 읽기 쓰기 오류 대응

EEPROM Read/Write를 위한 오픈 라이브러리 https://github.com/sinadarvi/SD_HAL_AT24 오픈 라이브러리 사용시 문제점 32바이트의 경계를 넘는 범위로 Read/Write를 할 때, 값이 제대로 읽고 쓰지지 않는 문제가 발생한다. 라이브러리 내부 함수에서 이런 문제를 일으키는 것으로 보인다. 해결책 EEPROM 공간이 32바이트 단위를 걸치지 않도록 Dummy 블록을 지정하는 방식으로 Read/Write 오류를 수정한다.More