2015년 8월 6일 목요일
10.4inch 감압식 LCD 보드 (CR-LIF2-RT104R001 )
Feature
LCD 연결모습
실행 모습
Dimensions
Pin Map
Supported Boards
배송 품목 (Shipping Matrials)
2015년 7월 31일 금요일
ADC Platform_driver 등록 및 실행 절차
| static struct map_desc w5300e01_iodesc[] __initdata = { { 0xf0000000, __phys_to_pfn(S3C2410_CS2), SZ_1M, MT_DEVICE }, { 0xf8000000, __phys_to_pfn(S3C2410_CS3), SZ_1M, MT_DEVICE } }; |
(가상주소), (물리 메모리 페이지 프레임 번호), (크기), (타입) 순이다. '__phys_to_pfn()' 함수는 물리 주소를 페이지 프레임 번호로 변환해준다.
| ioremap()함수와 phys_to_virt()함수는, 둘다 물리주소를 가상주소로 바꿀때 쓰인다. 하지만 차이점은 존재한다. ioremap()함수는 요구된 물리 주소로 시작하는 영역을 커널 모드에서 사용할 수 있도록 가상 주소 공간으로 등록 하지만, phys_to_virt() 함수는 PAGE_OFFSET과 같은 값을 이용하여 변환 처리만 계산하기 때문이다. void* ioremap(unsigned long offset , unsigned long size); 반환 값: 가상 주소의 선두 주소 offset : 물리 주소의 시작 주소 size : 크기 void* phys_to_virt(unsigned long address); 반환 값 : 변환된 가상주소 address : 물리 주소 * PAGE_OFFSET 매크로 상수값 : 물리 주소와 가상 주소간에 변환을 위해 쓰이며, #include <asm/page.h>에 정의된다. |
2015년 7월 30일 목요일
Isolated RS485 to RS485/RS232 Repeater
Price : 58,000원 ( VAT별도 )
이메일 : help@crz-tech.com ( 031-701-5057)
Isolated RS485 to
RS485/RS232 Repeater Feature
마이컴 내장으로 최적의 통신 상태 유지되며, 필요한 기능 업데이트 가능
외부 DIP 스위치를 이용하여 다양한 통신 설정이 가능
노이즈가 많은 열악한 환경에서 통신 품질 유지
양단 신호간 전기적으로 절연시켜 내구성과 성능을 향상한 제품
l 절연형 RS485 to
RS485/RS232 리피터
l RS485/RS232 통신망의 신호 증폭을 위한 리피터
l 내부 마이컴 사용
l 최적의 통신상태 유지
l 지원 통신속도: 4800,
9600, 19.2K, 38.4K, 57.6K, 115.2K, 230.4K, 460.8K
l 데이터비트 8 or 7bit 선택
가능
l 패리티 No, Even,
Odd 중 선택 가능
l STOP 비트 1, 1.5, 2 비트
중 1가지 선택 가능
l 추가 기능 업데이트 가능
l 문의 : help@crz-tech.com
Setting PIN MAP
SW1_#1 | BOOT |
|
SW1_#2 | RS485_232 | ON: RS485, OFF: RS232 |
SW1_#3 | DIP1 | Baud Rate |
SW1_#4 | DIP2 | |
SW1_#5 | DIP3 | |
SW1_#6 | DIP4 | Data Bits, ON: 8bits, OFF: 7bits |
SW1_#7 | DIP5 | Stop Bits |
SW1_#8 | DIP6 | |
SW1_#9 | DIP7 | Parity |
SW1_#10 | DIP8 |
Baud Rate | DIP3 | DIP2 | DIP1 |
115200 bps | OFF | OFF | OFF |
4800 bps | OFF | OFF | ON |
9600 bps | OFF | ON | OFF |
19200 bps | OFF | ON | ON |
38400 bps | ON | OFF | OFF |
57600 bps | ON | OFF | ON |
230400 bps | ON | ON | OFF |
460800 bps | ON | ON | ON |
Stop Bits | DIP6 | DIP5 |
Stop Bit 1 | OFF | OFF |
Stop Bits 2 | OFF | ON |
Stop Bits 1.5 | ON | OFF |
Stop Bit 1 (default) | ON | ON |
Parity | DIP8 | DIP7 |
Parity No | OFF | OFF |
Parity Even | OFF | ON |
Parity Odd | ON | OFF |
Parity No (default) | ON | ON |
PIN MAP
동작시험
PC COM2<->1번
RS232 <-> 2번 RS485 <-> 3번
RS485 <-> 4번 RS232<-> PC
COM3
Shipping Materials
l RS232 to RS485/RS232 Repeater : 1EA
2015년 5월 1일 금요일
Zigbee 2.4GHz Module (CR-JB100)
Zigbee 2.4GHz Module Feature (CR-JB100)
2015년 4월 30일 목요일
Mango220 update 기능 추가하기
2015년 3월 13일 금요일
망고220 (Exynos4412 ) 오디오 레코딩 안되는 문제 patch
2015년 3월 12일 목요일
망고520 kernel 3.4.35 , kernel 3.0.31 기준 CPU 온도 읽기
커널 3.0.31configuration
$ ./build_kernel config
|
System Type --->
[*] Use thermal management
|
arch/arm/mach-exynos/tmu-exynos.c
|
static int get_cur_temp(struct tmu_info *info)
{
int curr_temp;
int temperature;
/* After reading temperature code from register, compensating
* its value and calculating celsius temperatue,
* get current temperatue.
*/
curr_temp = __raw_readl(info->tmu_base + CURRENT_TEMP) & 0xff;
/* compensate and calculate current temperature */
temperature = curr_temp - info->te1 + TMU_DC_VALUE;
if (temperature < 10) {
/* temperature code range are between min 10 and 125 */
pr_alert("Current temperature is in inaccurate range->"
" check if vdd_18_ts is on or room temperature.\n");
}
return temperature;
}
|
Kernel 3.0.31 CPU 온도읽기
[root@Mango520 ~]# cat /sys/devices/platform/tmu/temperature
53
|
커널 3.4.35configuration
System Type --->
SAMSUNG EXYNOS SoCs Support --->
[*] Use thermal management
|
Kernel 3.4.35 CPU 온도 읽기
tmu_debugfs =
debugfs_create_file("tmu_dev_status",
S_IRUGO, NULL, info, &tmu_dev_status_fops);
|
[root@Mango520 debug]# mount -t debugfs none /sys/kernel/debug
[root@Mango520 debug]# ls /sys/kernel/debug/
asoc/ memblock/
bdi/ mmc0/
binder/ mmc1/
bluetooth/ mmc2/
clock/ pm_qos
dynamic_debug/ regmap/
extfrag/ s3c-fb
exynos5_bus sched_features
exynos5_devfreq_int_time_in_state shrinker
exynos5_devfreq_mif_time_in_state suspend_stats
gpio suspend_time*
hid/ sync
ieee80211/ tmu_dev_status
ion/ tracing/
kbase_carveout usb/
lpa_cdev_status wakeup_sources
mem_usage/
[root@Mango520 debug]# cat /sys/kernel/debug/tmu_dev_status
Current Temperature : 47
Current TMU State : TMU_STATUS_NORMAL
Memory Throttling : unthrottled
Memory throttle auto refresh time : 1937 ns
Normal auto refresh time : 3875 ns
TMU monitoring sample rate : 200 ms
[root@Mango520 debug]# cat /sys/kernel/debug/tmu_dev_status
Current Temperature : 47
Current TMU State : TMU_STATUS_NORMAL
Memory Throttling : unthrottled
Memory throttle auto refresh time : 1937 ns
Normal auto refresh time : 3875 ns
TMU monitoring sample rate : 200 ms
|