'분류 전체보기'에 해당되는 글 63건

  1. [GD] AVSS Cable ( Very Thin-wall Low-tension Cables For Automobiles )
  2. [GD] STM32L Discovery
  3. [TN] Understanding the Terms and Definitions of LDO Voltage Regulators
  4. SPI EEPROM ATMEL AT25320B AT25640B
  5. STM32F4xx Clock Configuration 클럭 계산기
  6. STM32F4-Technical-Training.pdf
  7. uCOS-III 을 STM32F407 Discovery board에 올려보자.
  8. ST-LINK V2 Isolation
  9. 32F429I DISCOVERY
  10. MDK ARM Error: L6411E: No compatible library exists with a definition of startup symbol __main. 2

[GD] AVSS Cable ( Very Thin-wall Low-tension Cables For Automobiles )

Automotive용 LS 전선 입니다.


검색 하다보니 차량 DIY하시는 분들이 직접 구해서 쓰시는 것 같아서 한번 찾아 봤는데..


특징이 Low-tension이네요....??


스펙만 보고는 뭐가 좋은지 잘 모르겠습니다...


실제 차량에서 사용하는 케이블이 텐션이 없어서 좀 뻑뻑 하긴 합니다.


이유가 뭘까요?



Datasheet 입니다.


LS_Automotive_Wire&Cable_EN_05.pdf


'Good Device!!' 카테고리의 다른 글

[GD] STM32L053 DISCOVERY  (0) 2014.09.02
[GD] STM32 Nucleo  (2) 2014.05.22
[GD] STM32L Discovery  (0) 2014.05.14
SPI EEPROM ATMEL AT25320B AT25640B  (0) 2013.11.23
ST-LINK V2 Isolation  (0) 2013.10.30

[GD] STM32L Discovery

STM32 저전력 MCU 입니다.

LCD 인터페이스에 Analog Comparator, OPAMP까지 들어 있고,

EEPROM도 들어 있네요.


CORTEX-M3 Platform 그대로 활용 할 수 있어서 저전력 기기 구성시 사용하면 좋을 듯 합니다.


32L152CDISCOVERY

Discovery kit for STM32L151/152 line - with STM32L152RC MCU
  • Active

The STM32L-DISCOVERY and 32L152CDISCOVERY kits help you to discover the STM32L ultra low power features and to develop and share your applications.

They are based on an STM32L152RBT6 and an STM32L152RCT6, respectively; and include an ST-Link/V2 embedded debugging tool interface, an LCD (24 segments, 4 commons), LEDs, pushbuttons, a linear touch sensor or touchkeys.

pdfDownload
Data Brief

Key Features

  • STM32L152RBT6 (128 KB Flash memory, 16 KB RAM, 4 KB EEPROM) or STM32L152RCT6 (256 KB Flash memory, 32 KB RAM, 8 KB EEPROM) microcontroller in an LQFP64 package
  • On-board ST-Link/V2 with selection mode switch to use the kit as a standalone ST-Link/V2 (with SWD connector for programming and debugging)
  • Board power supply: through USB bus or from an external 3.3 or 5 V supply voltage
  • External application power supply: 3 V and 5 V
  • IDD current measurement
  • LCD
  • DIP28 package
  • 24 segments, 4 commons
  • Four LEDs:
  • LD1 (red/green) for USB communication
  • LD2 (red) for 3.3 V power on
  • Two user LEDs, LD3 (green) and LD4 (blue)
  • Two pushbuttons (user and reset)
  • One linear touch sensor or four touchkeys
  • Extension header for LQFP64 I/Os for quick connection to prototyping board and easy probing 




STM32L 계열은 MicroXplorer 프로그램으로 아래와 같이 예상 Power Consumption을 예측 할 수 있네요.




'Good Device!!' 카테고리의 다른 글

[GD] STM32 Nucleo  (2) 2014.05.22
[GD] AVSS Cable ( Very Thin-wall Low-tension Cables For Automobiles )  (0) 2014.05.16
SPI EEPROM ATMEL AT25320B AT25640B  (0) 2013.11.23
ST-LINK V2 Isolation  (0) 2013.10.30
32F429I DISCOVERY  (0) 2013.10.17

[TN] Understanding the Terms and Definitions of LDO Voltage Regulators

출처 : TI

내용 : Understanding the Terms and Definitions of LDO Voltage Regulators

점수 : 90점


첨부 참고 하세요!!



slva079.pdf



LDO 선택시 중요 Parameter에 대한 자세한 설명입니다.

LDO 효율에 대한 관한 명확한 설명도 반갑습니다.


1 Dropout Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

2 Quiescent Current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

3 Standby Current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

4 Efficiency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

5 Transient Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

6 Line Regulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

7 Load Regulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

8 Power Supply Rejection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

9 Output Noise Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

10 Instability of LDO Regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

11 Accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

12 Power Dissipation and Junction Temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

13 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12









SPI EEPROM ATMEL AT25320B AT25640B


Atmel-8535-SEEPROM-AT25320B-640B_Datasheet.pdf



1. Unprotected Block은 HW nWP신호와 Status Register의 WPEN과 상관없이 WEN으로만 Write 권한을 관리 함.


2. Protected Block은 이미 Status Register에서 BP1, BP0으로 관리가 되기 시작하면 HW nWP, WEN과 상관없이 어떤 

   조건에서도 Write 가 안됨.


3. Protected, Unprotected을 설정하기 위해 Status Register을 Write 하기 위해서는 WPEN이 0일때는 WEN만으로 Write 

    가능하고, WPEN이 1일때는 WEN과 nWP가 같이 조건이 맞아야 Write 가능함.





시간이 걸려도 데이터를 귀신같이 보호 하려면

문제는 WPEN, BP1, BP0 도 같은 EEPROM 메모리 구성이라서 반복적인 Write에는 장사 없다는거...

모든 cell에 각각 제어 할때마다 WPEN, BP1, BP0 같이 RW을 반복하면 훨씬 빨리 수명이 끝날 수 있다는...

-->

      1. WEN(1)

      2. nWP(H)

      3. WPEN(0), BP1(0), BP0(0)

      4. Data Write

      5. WPEN(1), BP1(1), BP0(1)

      6. nWP(L)

      7. WEN(0)


합리적으로 하려면 아래와 같이.. 아니면 WPEN을 최소한으로 하던지..Self Power off System이면 가능.

이전에 WPEN(0, BP1(0), BP0(0) 한번만 만들어 놓고 이후부터는 

-->

     1. WEN(1)

     2. Data Write

     3. WEN(0)


 

'Good Device!!' 카테고리의 다른 글

[GD] AVSS Cable ( Very Thin-wall Low-tension Cables For Automobiles )  (0) 2014.05.16
[GD] STM32L Discovery  (0) 2014.05.14
ST-LINK V2 Isolation  (0) 2013.10.30
32F429I DISCOVERY  (0) 2013.10.17
18650 PCM 회로  (1) 2013.10.16

STM32F4xx Clock Configuration 클럭 계산기


STM32F4xx_Clock_Configuration_V1.1.0.xls



STM 내부 클럭 계산기 입니다.





요걸 돌리면 흔히 ST 예제에 들어 있는 system_stm32f4xx.c 코드가 생성 됩니다.


예제와 다른 외부 crystal 값을 사용한다거나, 변칙적인 클럭 운용시 활용 합니다.



 

 *=============================================================================

  *=============================================================================

  *        Supported STM32F40xx/41xx/427x/437x devices

  *-----------------------------------------------------------------------------

  *        System Clock source                    | PLL (HSE)

  *-----------------------------------------------------------------------------

  *        SYSCLK(Hz)                             | 168000000

  *-----------------------------------------------------------------------------

  *        HCLK(Hz)                               | 168000000

  *-----------------------------------------------------------------------------

  *        AHB Prescaler                          | 1

  *-----------------------------------------------------------------------------

  *        APB1 Prescaler                         | 4

  *-----------------------------------------------------------------------------

  *        APB2 Prescaler                         | 2

  *-----------------------------------------------------------------------------

  *        HSE Frequency(Hz)                      | 8000000

  *-----------------------------------------------------------------------------

  *        PLL_M                                  | 8

  *-----------------------------------------------------------------------------

  *        PLL_N                                  | 336

  *-----------------------------------------------------------------------------

  *        PLL_P                                  | 2

  *-----------------------------------------------------------------------------

  *        PLL_Q                                  | 7

  *-----------------------------------------------------------------------------

  *        PLLI2S_N                               | 426

  *-----------------------------------------------------------------------------

  *        PLLI2S_R                               | 4

  *-----------------------------------------------------------------------------

  *        I2S input clock(Hz)                    | 106500000

  *                                               |

  *        To achieve the following I2S config:   |

  *         - Master clock output (MCKO): ON      |

  *         - Frame wide                : 16bit   |

  *         - Audio sampling freq (KHz) : 32      |

  *         - Error %                   : 0.0038  |

  *         - Prescaler Odd factor (ODD): 1       |

  *         - Linear prescaler (DIV)    : 6       |

  *-----------------------------------------------------------------------------

  *        VDD(V)                                 | 3.3

  *-----------------------------------------------------------------------------

  *        Main regulator output voltage          | Scale1 mode

  *-----------------------------------------------------------------------------

  *        Flash Latency(WS)                      | 5

  *-----------------------------------------------------------------------------

  *        Prefetch Buffer                        | ON

  *-----------------------------------------------------------------------------

  *        Instruction cache                      | ON

  *-----------------------------------------------------------------------------

  *        Data cache                             | ON

  *-----------------------------------------------------------------------------

  *        Require 48MHz for USB OTG FS,          | Enabled

  *        SDIO and RNG clock                     |

  *-----------------------------------------------------------------------------


'STM32F4 Tips' 카테고리의 다른 글

STM32 SPL LL CUBE Driver  (0) 2017.01.17

STM32F4-Technical-Training.pdf

STM32F4 관련 자료 입니다.


PPT발표 자료라서 User 또는 Reference Manual 보는것보다 편합니다.



STM32F4-Technical-Training.pdf



이런건 왜 웹싸이트에 안올려 놓나 몰라...


FAE들만 보고..

uCOS-III 을 STM32F407 Discovery board에 올려보자.

uCOS-III 을 STM32F407 Discovery board에 올려보자.


준비물
1. Discovery STM32F407 보드
2. 컴파일러, EWARM 은 6.5이상, MDK는 4.6 이상



1. OS을 다운 받고... V 3.03.01 사용.


LoginSTMicroelectronics STM32F4xx
μC/OS-IIIµC/OS-III V3.03.01STM3240G-Eval
Atollic TrueSTUDIO V3.x
IAR (EWARM) V6.x
Keil MDK V4.x
2013/01/23


2. 시간 낭비 없게 정확한 컴파일러 버젼으로 동일하게 컴파일.



3. STM3240G-Eval은 25Mhz 사용하고 Discovery는 8Mhz사용하니 이 부분 수정.


  3.1  bsp.c 에서 아래 define값을 25에서 8로 수정

       //#define  BSP_BIT_RCC_PLLCFGR_PLLM               25u 

       #define  BSP_BIT_RCC_PLLCFGR_PLLM               8u


  3.2 bsp.c 에서 led관련 port을 discovery에 맞게 수정


  3.3 stm32f4xx.h 에서 8Mhz에 맞게 수정

      //#define HSE_VALUE    ((uint32_t)25000000) /*!< Value of the External oscillator in Hz */

     #define HSE_VALUE    ((uint32_t)8000000) /*!< Value of the External oscillator in Hz */



4. 기타 

   이상한게 IAR쪽 os_cpu_c.c 에만 FPU관련 Register 처리 루틴이 들어 있다는거.

   GNU, MDK는 이 부분이 코드에 없음.

  

    FPU관련 Register가 S0~S31까지 총 32개라서 Task Switching시 마다 stack에 push,pop 동작에 로드가 걸릴듯 했지만

    uCOS-III 에서는 영리하게 Task 생성시 해당 Task내에서 FPU사용 여부를 Check하여 FPU Register push,pop 동작을

    Task마다 선택적으로 동작 하도록 설정 되어 있음.


#define  OS_OPT_TASK_NONE               (OS_OPT)(0x0000u)  /* No option selected                                 */

#define  OS_OPT_TASK_STK_CHK          (OS_OPT)(0x0001u)  /* Enable stack checking for the task                 */

#define  OS_OPT_TASK_STK_CLR          (OS_OPT)(0x0002u)  /* Clear the stack when the task is create            */

#define  OS_OPT_TASK_SAVE_FP  (OS_OPT)(0x0004u)  /* Save the contents of any loating-point registers  */

#define  OS_OPT_TASK_NO_TLS                  (OS_OPT)(0x0008u)  /* Specifies the task DOES NOT require TLS support    */



   



ST-LINK V2 Isolation

기존 ST-LINK에서 Digital Isolation을 추가한 버젼 이네요..


일반 접지공사된 랩실에서는 별 탈 없이 사용 중인데요.


혹시나 필드에서 JTAG이 자꾸 죽어버리거나, 보드가 죽거나, 모터쪽 고전압 회로와 같이 사용되는


보드에서는 좀 안심하고 사용 할 수 있겠네요. 


가격은 일반 ST-LINK 보다 3.5배 비싸네요.





The ST-LINK/V2 is an in-circuit debugger and programmer for the STM8 and STM32 microcontroller families. The single wire interface module (SWIM) and JTAG/serial wire debugging (SWD) interfaces are used to communicate with any STM8 or STM32 microcontroller located on an application board.

In addition to providing the same functionalities as the ST-LINK/V2, the ST-LINK/V2-ISOL features digital isolation between the PC and the target application board. It also withstands voltages of up to 2500 VRMS.

STM8 applications use the USB full speed interface to communicate with STMicroelectronic’s ST Visual Develop (STVD) or ST Visual Program (STVP) software.

STM32 applications use the USB full speed interface to communicate with Atollic, IAR, Keil or TASKING integrated development environments




'Good Device!!' 카테고리의 다른 글

[GD] STM32L Discovery  (0) 2014.05.14
SPI EEPROM ATMEL AT25320B AT25640B  (0) 2013.11.23
32F429I DISCOVERY  (0) 2013.10.17
18650 PCM 회로  (1) 2013.10.16
TI SN65HVD255 3.3V CAN  (0) 2013.03.22

32F429I DISCOVERY

ST에서 RGB LCD Interface와 SDRAM Interface까지 달고 나온 무시무시 한 놈 입니다만.........


핀맵을 잡다 보면 LCD BUS, DATA BUS 빼고 나면 정작 필요한 UART나 SPI, I2C, I2S, SDIO등은


많이 사용 못하게 되는게 함정입니다.....(요건 나중에 한가지 툴을 소개 하지요)


아무튼 원가에 뿌리는 DISCOVERY 보드가 나왔습니다.


디지키는 2~3일 재고 있다가 사라져 버렸네요..


다른곳은 시간이 좀 걸리고요, 


램은 256K라고 우기지만...이건 좀 문제가 있습니다. 


요것도 나중에 밝혀 보도록 하지요


http://www.st.com/web/en/catalog/tools/FM116/SC959/SS1532/PF259090?s_searchtype=keyword




The STM32F429 Discovery helps you to discover the high-performance microcontrollers of the STM32 F4 series and to develop your applications easily. It offers everything required for beginners and experienced users to get started quickly.

Based on the STM32F429ZIT6, it includes an ST-LINK/V2 embedded debug tool, a 2.4" QVGA TFT LCD, an external SDRAM of 64 Mbits, a gyroscope ST MEMs, a USB OTG micro-AB connector, LEDs and pushbuttons.

A large number of free ready-to-run application firmware examples are available on www.st.com/stm32f4-discovery to support quick evaluation and development.

pdfDownload
Data Brief

Key Features

  • STM32F429ZIT6 microcontroller featuring 2 MB of Flash memory, 256 KB of RAM in an LQFP144 package
  • On-board ST-LINK/V2 with selection mode switch to use the kit as a standalone
  • ST-LINK/V2 (with SWD connector for programming and debugging)
  • Board power supply: through the USB bus or from an external 3 V or 5 V supply voltage
  • 2.4" QVGA TFT LCD
  • SDRAM 64 Mbits
  • L3GD20, ST MEMS motion sensor, 3-axis digital output gyroscope
  • Six LEDs:LD1 (red/green) for USB communicationLD2 (red) for 3.3 V power-onTwo user LEDs:LD3 (green), LD4 (red)Two USB OTG LEDs:LD5 (green) VBUS and LD6 (red) OC (over-current)
  • Two pushbuttons (user and reset)
  • USB OTG with micro-AB connector
  • Extension header for LQFP144 I/Os for a quick connection to the prototyping board and an easy probing

Image


'Good Device!!' 카테고리의 다른 글

SPI EEPROM ATMEL AT25320B AT25640B  (0) 2013.11.23
ST-LINK V2 Isolation  (0) 2013.10.30
18650 PCM 회로  (1) 2013.10.16
TI SN65HVD255 3.3V CAN  (0) 2013.03.22
tact switch Sealed for board washing(7914,bourns)  (0) 2013.03.21

MDK ARM Error: L6411E: No compatible library exists with a definition of startup symbol __main.

분명 나와 같이 늦은 시간까지 삽질 할 사람이 있을 거라 생각 하고....



MDK ARM 에서 다음과 같은 컴파일 에러 발생시....

Error: L6411E: No compatible library exists with a definition of startup symbol __main.

다른 PC에서는 잘되고...


내 PC에서만 안되네???


왜????


두리번 두리번 깔고, 지우고, 깔고, 지우고 해봐야 소용 없고...


ADS1.2 컴파일러와 쫑나는 문제 입니다.


PC 환경 변수에서 ADS관련 환경 변수를 삭제 하고 컴파일 하면 이상 없습니다.


나중에 ADS컴파일러 쓸때는 다시 등록 해야 겠네요...


요증 ADS랑 MDK ARM이랑 같이 깔고 사용 하는 사람이 얼마나 되려나....



ARMCONF

C:\Program Files\ARM\ADSv1_2\BIN


ARMDLL

C:\Program Files\ARM\ADSv1_2\BIN


ARMHOME

C:\Program Files\ARM\ADSv1_2


ARMINC

C:\Program Files\ARM\ADSv1_2\INCLUDE


ARMLIB

C:\Program Files\ARM\ADSv1_2\LIB