눈뜨지 못할까 걱정한 것과는 별개로
문제없이 깨어나 회복중
퇴원은 월요일이라 마지막 연차 사용 ㅠㅠ
'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글
퇴원! 집이 최고여! (2) | 2024.11.10 |
---|---|
먹고 자고 먹고 자고 먹고 자고 (0) | 2024.11.09 |
안녕 딸기 (0) | 2024.11.06 |
갑분 혈관나이 (6) | 2024.10.26 |
아부지 하루 늦은 병원 옮김 (0) | 2024.10.25 |
눈뜨지 못할까 걱정한 것과는 별개로
문제없이 깨어나 회복중
퇴원은 월요일이라 마지막 연차 사용 ㅠㅠ
퇴원! 집이 최고여! (2) | 2024.11.10 |
---|---|
먹고 자고 먹고 자고 먹고 자고 (0) | 2024.11.09 |
안녕 딸기 (0) | 2024.11.06 |
갑분 혈관나이 (6) | 2024.10.26 |
아부지 하루 늦은 병원 옮김 (0) | 2024.10.25 |
\CONFIGURATION OVERVIEW After power-on or reset, the AD4111 default configuration is as follows: • Channel configuration: Channel 0 is enabled, the VIN0 and VIN1 pair is selected as the input. Setup 0 is selected. • Setup configuration: the analog input buffers are disabled and the reference input buffers are also disabled. The REF± pins are selected as the reference source. Note that for this setup, the default channel does not operate correctly because the input buffers need to be enabled for a VIN input. • Filter configuration: the sinc5 + sinc1 filter is selected and the maximum output data rate of 31.25 kSPS is selected. • ADC mode: continuous conversion mode and the internal oscillator are enabled. The internal reference is disabled. • Interface mode: CRC and the data and status output are disabled. • GPIO configuration: open wire detection is disabled. Note that only a few of the register setting options are shown. This list is only an example. For full register information, see the Register Details section. Figure 35 shows an overview of the suggested flow for changing the ADC configuration, divided into the following three blocks: • Channel configuration (see Box A in Figure 35) • Setup configuration (see Box B in Figure 35) • ADC mode and interface mode configuration (see Box C in Figure 35) ![]() SPI의 MISO핀이 RDY라서 어떻게 읽나 했는데 상태 레지스터에서 RDY를 보면 된다. ![]() CONTINUOUS CONVERSION MODE Continuous conversion mode is the default power-up mode. The AD4111 converts continuously, and the RDY bit in the status register goes low each time a conversion is complete. If CS is low, the RDY output also goes low when a conversion is complete SINGLE CONVERSION MODE In single conversion mode, the AD4111 performs a single conversion and is placed in standby mode after the conversion is complete. The RDY output goes low to indicate the completion of a conversion. When the data-word has been read from the data register, the RDY output goes high. The data register can be read several times, if required, even when the RDY output goes high. If several channels are enabled, the ADC automatically sequences through the enabled channels and performs a conversion on each channel. When the first conversion is started, the RDY output goes high and remains high until a valid conversion is available and CS is low. When the conversion is available, the RDY output goes low. The ADC then selects the next channel and begins a conversion. The user can read the present conversion while the next conversion is being performed. When the next conversion is complete, the data register is updated; therefore, the user has a limited period in which to read the conversion. When the ADC has performed a single conversion on each of the selected channels, it returns to standby mode. If the DATA_STAT bit in the interface mode register is set to 1, the contents of the status register, along with the conversion, are output each time the data register is read. The four LSBs of the status register indicate the channel to which the conversion corresponds. ![]() ![]() |
[링크 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad4111.pdf]
ptn5110 usb-pd rdo 응답 (0) | 2025.01.15 |
---|---|
ad5292 wiper 값 (0) | 2025.01.06 |
ads8598 (0) | 2024.11.13 |
ad5292 write protect (0) | 2024.11.07 |
ad5291 shutdown mode (0) | 2024.09.26 |
값을 써도 안바뀌는 것 같아 찾아보니
쓰기금지가 기본이고, 테스트 해보니 매번 쓰기금지를 풀어주고 값을 써야 되는 것 같은데 확인이 필요하다.
WRITE PROTECTION On power-up, the shift register write commands for both the RDAC register and the 20-TP memory register are disabled. The RDAC write protect bit, C1 of the control register (see Table 12 and Table 13), is set to 0 by default. |
[링크 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad5291_5292.pdf]
ptn5110 usb-pd rdo 응답 (0) | 2025.01.15 |
---|---|
ad5292 wiper 값 (0) | 2025.01.06 |
ads8598 (0) | 2024.11.13 |
ad4111 (0) | 2024.11.07 |
ad5291 shutdown mode (0) | 2024.09.26 |
POR 시에 CELL_BATPRESZ 에 들어오는 값으로 셀 갯수를 확인하고
셀 갯수에 맞게 05/04h 에 전압을 설정한다. 다르게 보면 전압은 굳이 설정할 필요가 없어 보이고
CHRG_OK 이후에 03/02에 쓰면 충전이 시작 되는듯.
Upon POR, REG0x05/04() is by default set as 4192 mV for 1 s, 8400 mV for 2 s, 12592 mV for 3 s or 16800 mV for 4 s. After CHRG_OK, if host writes REG0x03/02() before REG0x05/04(), the charge will start after the write to REG0x03/02().If the battery is different from 4.2 V/cell, the host has to write to REG0x05/04() before REG0x03/02() for correct battery voltage setting. Writing REG0x05/04() to 0 will set REG0x05/04() to default value on CELL_BATPRESZ pin, and force REG0x03/02() to zero to disable charge. |
CHRG_INHIBIT (POR, 0 = enable charge) 요게 꺼져있어야 충전이 된다는데 기본 값이다.
BQ25703A input voltage 갱신하기 (0) | 2024.12.02 |
---|---|
bq25703A NVDC (0) | 2024.11.29 |
배터리 충전 (0) | 2024.11.28 |
bq25703A i2c 읽기, 쓰기 (0) | 2024.11.22 |
어짜피(?) 맨날 쓰긴 한데
정작 귀찮아서 다음주 보기 누르는 데 흐음..
블로그 전용 이모티콘을 위해 해야하나?
[링크 : https://www.tistory.com/event/write-challenge-2024]
+
햄버거 쿠폰을 향해 달...려?
+
먼가 이벤트를 위해 이것저것 준비한 노력은 보이네
해피빈 기부 시즌 (0) | 2024.12.18 |
---|---|
오블완 챌린지 완료 (2) | 2024.11.28 |
티스토리 수익예측 (1) | 2024.09.11 |
이번주는 개발자들 휴가? (0) | 2024.07.31 |
오랫만에 해피빈 기부 (0) | 2024.07.22 |
대충 환산하면 1/25 성인 1/50 유아
본원의 경우 (모델명: DXG5125) (D=촬영거리 m) ------------------------------------------------------------------- 어른 Chest PA 85KVP 0.04초 (D:1.8m) (뚱뚱이:+5KVP, 마른:-5KVP) 관전류 : 250mA 8-12세 서서 65KVP 0.04초 (D:1.8m) , 5-8세 서서 60KVP 0.04초 (D:1.8m) 2~4세 서서 55KVP 0.02초 (D:1.8m) * Nongrid 가능 , <2세 서서 53KVP 0.02초 (D:1.8m) * |
[링크 : https://www.physician.or.kr/kpaSeoul/plaza/index.php?Action=View&Gubun=pds&Idx=1329]
빔 프로젝터 오프셋 (0) | 2023.01.17 |
---|---|
wavelength, wavenumber (0) | 2022.08.09 |
DFB / DBR laser (0) | 2022.08.09 |
modulated laser (0) | 2022.08.03 |
lock-in amplifier (LIA) (0) | 2022.07.11 |
4년 키우던 새가 갑자기 죽었다
집에 오니
일에치여 무덤덤했던 감정이 쏟아져
울컥하게 된다
머가 그리 급해서 아빠에겐 인사도 안하고 가고
눈도 못감고 갔니..
먹고 자고 먹고 자고 먹고 자고 (0) | 2024.11.09 |
---|---|
수술 끝 (2) | 2024.11.08 |
갑분 혈관나이 (6) | 2024.10.26 |
아부지 하루 늦은 병원 옮김 (0) | 2024.10.25 |
개산책하다가 수다 (0) | 2024.10.23 |
putty 등을 통해서 시리얼로 접속하면 컬러풀하게 나오는데
같은 장비에 접속해도 흑백으로 나오길래 검색해봄
근데 이걸 기본값으로 저장하는 방법은 없나?
$ minicom -c on |
$ minicom --help Usage: minicom [OPTION]... [configuration] A terminal program for Linux and other unix-like systems. -b, --baudrate : set baudrate (ignore the value from config) -D, --device : set device name (ignore the value from config) -s, --setup : enter setup mode -o, --noinit : do not initialize modem & lockfiles at startup -m, --metakey : use meta or alt key for commands -M, --metakey8 : use 8bit meta key for commands -l, --ansi : literal; assume screen uses non IBM-PC character set -L, --iso : don't assume screen uses ISO8859 -w, --wrap : Linewrap on -H, --displayhex : display output in hex -z, --statline : try to use terminal's status line -7, --7bit : force 7bit mode -8, --8bit : force 8bit mode -c, --color=on/off : ANSI style color usage on or off -a, --attrib=on/off : use reverse or highlight attributes on or off -t, --term=TERM : override TERM environment variable -S, --script=SCRIPT : run SCRIPT at startup -d, --dial=ENTRY : dial ENTRY from the dialing directory -p, --ptty=TTYP : connect to pseudo terminal -C, --capturefile=FILE : start capturing to FILE --capturefile-buffer-mode=MODE : set buffering mode of capture file -F, --statlinefmt : format of status line -R, --remotecharset : character set of communication partner -v, --version : output version information and exit -h, --help : show help configuration : configuration file to use These options can also be specified in the MINICOM environment variable. This variable is currently unset. The configuration directory for the access file and the configurations is compiled to /etc/minicom. Report bugs to <minicom-devel@lists.alioth.debian.org>. |
[링크 : https://lists.debian.org/debian-user/1996/10/msg00239.html]
minicom에서 stty로 터미널 폭 조절하기 (0) | 2023.10.24 |
---|---|
minicom lf에 cr 붙이기 (0) | 2023.01.05 |
minicom 16진수로 보기 (0) | 2022.08.25 |
minicom 로그 저장하기 (0) | 2021.09.16 |
minicom timestamp (0) | 2021.09.16 |
왜 안되나 했더니.. 다른 칩에서 계속 pull down 하고 있어서 버튼을 눌러도 올라가지 않았던...
cubeide 에서 특정 핀을 GPIO_EXT로 설정하고
External Interrupt Mode with ... 로 시작하는 녀석을 고른다.
필요하다면 falling edge 혹은 rising edge에서만도 잡을 수 있는데
둘 다 해두면 어떤 이벤트에서 인터럽트가 발생하는지 모르니, 결국에는 인터럽트 핸들러에서
해당 핀의 상태를 읽어서 판별을 해야하나? 조금 복잡한 문제가 발생할 듯 하다.
[링크 : https://blog.naver.com/micomcore/223281042436?]
그리고 NVIC 탭에서 해당 인터럽트를 활성화 해준다.
아래의 _weak 함수를 재정의 해서 사용하면 끝
GPIO_Pin은 핀 번호 별로 올라오니, 다른 포트의 같은 핀은 구분이 되지 않으니 유의
void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) { printf("GPIO_Pin[%d]\n", GPIO_Pin); } |
STM32 timer 사용하기 (0) | 2024.12.13 |
---|---|
STM32 PWM 으로 LED 점진적으로 깜박이기 (0) | 2024.12.13 |
stm32f103 adc + dma (0) | 2024.11.04 |
stm32 adc 읽기(1개로 여러 개 채널) (0) | 2024.10.30 |
stm32 tim output compare(OC) mode (0) | 2024.07.12 |