#STM32103
Explore tagged Tumblr posts
javakys · 4 years ago
Text
Connecting W5300 to STM32F103 via FSMC interface
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, select Connectivity->FSMC and. In FSMC Mode…
Tumblr media
View On WordPress
0 notes
javakys · 4 years ago
Text
FSMC 인터페이스로 STM32F103과 W5300 연결하기
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 (internet offload…
Tumblr media
View On WordPress
0 notes
javakys · 4 years ago
Text
How to use UART DMA on STM32103 MCU
How to use UART DMA on STM32103 MCU
For UART communication, you can do it in blocking mode or nonblocking mode using interrupt.In Blocking mode, all other operation is blocked until UART communication finishes, whereas other operations can be run independently from UART communication in nonblocking mode and time-critical operations run in real time. UART DMA is nonblocking operation, and it reduces interrupts and enhances its…
Tumblr media
View On WordPress
0 notes
javakys · 4 years ago
Text
STM32103 MCU에서 UART DMA 사용하기
STM32103 MCU에서 UART DMA 사용하기
UART 송수신은 blocking 방식을 쓰거나 인터럽트를 이용한 nonblocking 방식을 사용할 수 있다. Blocking 방식은 UART 송수신이 완료될 때까지 다른 작업을 할 수 없는 반면에 nonblocking 방식을 사용하면 UART 송수신을 메인 루틴과 독립적으로 사용할 수 있기 때문에 리얼타임을 보장하는 데 도움이 된다. UART DMA는 기본적으로 nonblocking의 일종이면서 인터럽트 발생의 횟수를 줄여서 더 리얼타임성을 높일 수 있다. 본 포스팅에서는 STM32103 MCU에서 UART DMA를 사용하는 방법을 설명한다. Hardware Configuration 이전 포스팅에서와 같이 하드웨어 환경은 WIZnet WIZ145SR을 사용한다. UART DMA를 사용하기 위한…
Tumblr media
View On WordPress
0 notes