2015년 5월 1일 금요일

Zigbee 2.4GHz Module (CR-JB100)





Zigbee 2.4GHz Module Feature (CR-JB100)


l  2.4-GHz IEEE 802.15.4 Compliant RF Transceiver
l  Excellent Receiver Sensitivity and Robustness to interference
l  On Board CC2530 +CC2592 Zigbee System (256-KB Flash)
l  Home/Building automation
l  Low-Power wireless sensor networks

l  Programmable output power up to 4.5dBm

2015년 4월 30일 목요일

Mango220 update 기능 추가하기



1. update기능 추가(첨부파일 참조)
2. uboot에서 LCD에 글자 출력 추가.
3. sdfuse시 unknown chunk error 패치

소스 및 어플 링크

특정 url에서 update.zip파일을 받아서 다운로드 하는 기능을 구현 했습니다. 

2015년 3월 13일 금요일

망고220 (Exynos4412 ) 오디오 레코딩 안되는 문제 patch

http://cafe.naver.com/embeddedcrazyboys/34677
망고220 (Exynos4412 ) 오디오 레코딩 안되는 문제 patch

2015년 3월 12일 목요일

망고520 kernel 3.4.35 , kernel 3.0.31 기준 CPU 온도 읽기



커널 3.0.31configuration


커널 버전은 3.0.31을 기준으로 설명합니다.





$ ./build_kernel config

명령 실행 후

System Type  --->
[*] Use thermal management
선택 후
컴파일 하여 , 커널 이미지를 다시Write하면 됩니다.

관련 드라이버 소스는


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

섭씨 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);

“debugfs” 파일을 생성하게 되어 있습니다.

[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


2015년 2월 26일 목요일

IOT Gateway Board (CZ-IOTG200)Start Kit




help@crz-tech.com ( 031-701-5057)

IOT Gateway Board (CZ-IOTG200)Start Kit Feature


Samung S5PC220 Exynos 4412 Cortex-A9 QuadCore
LPDDR2 1GByte
On-Board Zigbee 2.4GHz
On-Board Buzzer
On-Board WiFi/BT SDIO, 802.11BGN
ARM Max Clock : 1400MHz
GPU ARM Mail-400
1 x USB 2.0 Host
1 x USB 2.0 Device
1 x MIPI Camera Connector
Boot / Storage : mircroSD
10/100 Ethernet (RJ45)
Input Power Supply : 5V 2A
1 x HDMI 1.4 version Support
1 x LTE/3G Modem Connector
Expansion Sensor Header
Download Header for Zigbee Image
OS Support:  Linux(Qt), Android,Ubuntu
Dimensions: 80 x 80 mm

Shipping Materials


zFrog IOT Thing Gateway Board(CZ-IOTG200) : 1ea
AC/DC Adapter (5V/2A) : 1ea
DC 변환 젠더 : 1ea
USB to UART Module (CA-U2S101_V1.1) : 1ea
Mini USB Cable : 2ea
4Pin Cable : 1ea
SDHC Card 8GB ( Booting Image 포함 ) :1ea


IOT Gateway Board BlockDiagram  


Documents


2015년 1월 23일 금요일

Exynos4412 Internal clock never stabilized 문제 Patch


http://www.mangoboard.com

MMC 3번 채널에서 아래와 같이 커널에서 에러 발생 시 

Internal clock never stabilized 

패치 

u-boot에서 MMC Clock divide 값을 재 설정해 줍니다. 

// crazyboy 20150114 Mango220 uses 4bit interface for MMC2
//writel(0x03333000, GPIO_CON_MMC2_2);
//writel(0x00003FF0, GPIO_CON_MMC2_2 + GPIO_PUD_OFFSET);
//writel(0x00003FFF, GPIO_CON_MMC2_2 + GPIO_DRV_OFFSET);
#endif
#endif

// crazyboy 20150114
// to use mmc3 ch for WIFI and BLUETOOTH 
writel(0x02222222, GPIO_CON_MMC2_2);
writel(0x00003FF0, GPIO_CON_MMC2_2 + GPIO_PUD_OFFSET);
writel(0x00003FFF, GPIO_CON_MMC2_2 + GPIO_DRV_OFFSET);


patch 코드 첨부합니다. 

2015년 1월 22일 목요일

zFrog 8 FND 7-Segment Module Feature


zFrog 8 FND 7-Segment Module Feature


Individual LEDSegment Control
Supply VoltageRange : 2.7 to 5.5V
Brightness Control 가능
1MHz I2C-Compatible Interface
Support LEFT, RIGHT Scroll Display
Max  4 x 8FND 7-Segment 가능
Dimensions : 60mm X 30mm

Supported Boards


zFrog IoT Thing Board (CR-IOT-AT100)
Mango-M32 Board