Default 설정 상태 Raspberry Pi CM4는 절전을 위해서 디폴트로 USB 기능이 비활성화되어 있다. (os=buster) /boot/config.txt 편집 /boot/config.txt 파일 맨 끝에 다음을 추가하면 USB 기능이 활성화된다. dtoverlay=dwc2,dr_mode=host
[카테고리:] Embedded
Visual Studio로 Raspberry Pi 프로그램 개발하기
Visual Studio 2019 설치 Create a new project 원격 시스템 추가 컴파일 속성
Raspberry Pi PMIC (Power Management Integrated Circuit)
PMIC by Raspberry Pi Model Pi3A+, Pi3B+, Pi4B : MxL7704 PiB+, Pi2, Pi3 : APX803 RED LED (Silk=PWR) LED On : Power Good LED Off : Power Bad (Under Voltage Warning) Under Voltage Warning Under Voltage Warning Threshold : 4.63±0.07V MxL7704 PMIC Input voltage range : 4.0V to 5.5V Measured Power Off Voltage : 3.7V
Keil uVision FreeRTOS Porting for NUCLEO-F412ZG
Creating a Project Config and Compile and Run Re-assign to PD8 / PD9 Click [GENERATE CODE] and [Close] Edit “stm32f4xx_it.c” /* USER CODE BEGIN Header */#if 0/* USER CODE END Header */ /* USER CODE BEGIN 1 */#endif/* USER CODE END 1 */ Download Source Files
라즈베리파이 내장 UART 사용시 주의 사항
디폴트 환경에서는 CPU/VPU 클럭 속도의 변화(절전 등)에 따라서 UART 속도가 같이 변하므로 다음과 같이 설정을 변경해야 한다. 옵션 1. CPU/VPU 클럭 속도 고정 /boot/config.txt 편집enable_uart=1force_turbo=1 옵션 2. 블루투스 비활성화 /boot/config.txt 편집enable_uart=1dtoverlay=disable-bt 부팅 정보 UART 출력 비활성화 /boot/cmdline.txt 편집console=serial0,115200 삭제 systemd에서 hciuart 제거 (부팅시 hciuart 실행 안함) ~$# sudo systemctl disable hciuart 디바이스 포트 /dev/ttyAMA0 포트를더 보기라즈베리파이 내장 UART 사용시 주의 사항[…]
Keil uVision FreeRTOS Porting for Cortex M3
Creating a Project Add Files Options Editing a CMSDK_CM3.h Editing a FreeRTOSConfig.h Editing a system_ARMCM3.c main.c Download Source Files
NUCLEO Board Pin Map
NUCLEO-F103RB PA11 = P44 = CANRX = CN10.14 PA12 = P45 = CANTX = CN10.12 PA8 = P41 = MCO = CN9.8 NUCLEO-F410RB (MB1136 Rev C) PA2 = P16 = USART2_TX = STLK_RX PA3 = P17 = USART2_RX = STLK_TX PA9 = P42 = USART1_TX = CN10.21 PA10 = P43 = USART1_RX = CN10.33 PC7더 보기NUCLEO Board Pin Map[…]
Zynq FreeRTOS Interrupt Example Tutorial
Vivado – Creating a Project Block Design Creating a Constraint File Compiling Exporting to Vitis and Launch Vitis – Creating a Platform Project Vitis – Creating an Application Project Editing a freertos_hello_world.c and Compile, Run freertos_hello_world.c Download Source Files
Keil uVision FreeRTOS Porting for NUCLEO-F410RB
Creating a Project Config and Compile and Run Click [GENERATE CODE] and [Close] Edit “stm32f4xx_it.c” /* USER CODE BEGIN Header */#if 0/* USER CODE END Header */ /* USER CODE BEGIN 1 */#endif/* USER CODE END 1 */ Download Source Files
Zynq Interrupt Example Tutorial (Bare-metal Firmware)
Vivado – Creating a Project Block Design Creating a Constraint File Compiling Exporting to Vitis and Launch Vitis – Creating a Platform Project Vitis – Creating an Application Project Editing a helloworld.c and Compile, Run helloworld.c Download Source Files