'회사일'에 해당되는 글 150건

  1. 2024.12.03 USB PD 용어 정리중
  2. 2024.12.03 USB PD SOP*?
  3. 2024.12.02 BQ25703A input voltage 갱신하기
  4. 2024.11.29 bq25703A NVDC
  5. 2024.11.28 배터리 충전
  6. 2024.11.27 USB-C PTN5110 케이블 방향에 따른 데이터 차이
  7. 2024.11.25 USB PD - DRP?
  8. 2024.11.22 TCPC, TCPM
  9. 2024.11.22 bq25703A i2c 읽기, 쓰기
  10. 2024.11.13 ads8598
회사일/USB PD2024. 12. 3. 14:34

PDP Rating(Power Delivery Power Rating)
[링크 : https://usb.org/sites/default/files/D2T2-1%20-%20USB%20Power%20Delivery.pdf]


PDO(Power Data Object)
APDO(Augmented Power Data Object) = PPS(Programmable Power supply)
[링크 : https://smartchoice.kr/usb-고속충전의-종류와-usb-pd-충전에-대해-자세히-알아보자/]

 

AMS (Atomic message sequence)

[링크 : https://www.st.com/resource/en/user_manual/um2552-managing-usb-power-delivery-systems-with-stm32-microcontrollers-stmicroelectronics.pdf]

 

PDO는 또 머냐...

[링크 : https://velog.io/@zhemdrawer/USB-PD-이해]

 

PDOs - Power-Data Objects

RDO - Request-Data Object

[링크 : https://www.ti.com/lit/an/slva842/slva842.pdf]

 

+

2024.12.08

PPS(Programmable Power Supply) 

[링크 : https://www.belkin.com/kr/support-article/?articleNum=318878]

 

USB PD 1.0 - profile

USB PD 2.0 - PDO

USB PD 3.0 - APDO / PPS

[링크 : https://namu.wiki/w/USB%20PD]

 

 

+

2024.12.13

[링크 : https://velog.io/@zhemdrawer/USB-PD-이해]

'회사일 > USB PD' 카테고리의 다른 글

i.mx8 evk uboot usb pd 메시지  (0) 2024.12.05
linux kernel USB PD 관련 검색  (0) 2024.12.04
USB PD SOP*?  (0) 2024.12.03
USB-C PTN5110 케이블 방향에 따른 데이터 차이  (0) 2024.11.27
USB PD - DRP?  (0) 2024.11.25
Posted by 구차니
회사일/USB PD2024. 12. 3. 12:45

걍 패킷을 보낸다 라는걸 죄다 SOP라고 퉁치는것 같은데

SOP

SOP'

SOP''

SOP* 이런게 나와서 헷갈리는 중..

 

SOP*
• Start of packet (SOP/SOP’/SOP’’)

[링크 : https://usb.org/sites/default/files/D2T2-1%20-%20USB%20Power%20Delivery.pdf]

 

SOP* - The Start of Frame field in a USB Power Delivery packet indicates the intended recipient of the packet.

[링크 : https://ww1.microchip.com/downloads/en/AppNotes/00001974A.pdf]

 

50h 에 TRANSMIT 이라는 레지스터가 있는데 Read / Write 이고 [2:0] 3비트는 아래의 값을 지닌댄다.

도대체 cable reset은 왜 저기서 튀어나오는걸까?

[링크 : https://www.nxp.com/docs/en/data-sheet/PTN5110.pdf]

 

각 패킷별 전송이나 응답할 녀석이 달라지는건가?

[링크 : https://www.graniteriverlabs.com/en-us/technical-blog/usb-pd-power-delivery-spec-versions]

 

 

5
Sending a USB PD message
The general steps of transmitting a SOP* message are listed below. Please consult
sections 4.7.1, 4.7.2, and 4.7.3 of the TCPC specification[3] for more detailed
implementation and examples.
• Step 0: TCPM writes the content of the message to be transmitted into the
TRANSMIT_BUFFER
• Step 1: TCPM writes to TRANSMIT requesting SOP* transmission
• Step 2: The outcome reported by the TCPC may be one of three indications after
asserting the Alert# pin:
– If the TCPC PHY layer successfully transmits the message, the TCPC sets the
Transmission Successful bit in the ALERT register.
– If the TCPC PHY layer did not get any response after retries, the TCPC sets the
Transmission Failed bit in the ALERT register.
– If the transmission was discarded due to an incoming message, the TCPC sets the
Transmission Discarded bit in the ALERT register.
• Step 3: Before requesting another transmission, the TCPM shall clear the alert by
writing a 1 to the asserted bit in the ALERT register.
When transitioning through the steps of transmitting SOP* message, TCPC may assert
ALERT.ReceiveStatus or ALERT.ReceivedHardReset bit at any time to notify that a
message was received.

[링크 : https://www.nxp.com/docs/en/application-note/AN12137.pdf]

 

위에서 4.7.1~4.7.3을 보라는데 제목만 봐서는.. 흐음..

4.7 USB PD Communication Operational Model
4.7.1 Transmitting an SOP* USB PD Message with Less than or Equal to 128 Data Bytes
4.7.2 Transmitting an SOP* USB PD Message with Greater than 128 Data Bytes
4.7.3 Transmitting a Hard Reset Message

[링크 : https://www.usb.org/sites/default/files/documents/usb-port_controller_specification_rev2.0_v1.0_0.pdf]

 

RDO (Request Data Object)

[링크 : https://www.ti.com/lit/an/slva842/slva842.pdf]

 

 

 

'회사일 > USB PD' 카테고리의 다른 글

linux kernel USB PD 관련 검색  (0) 2024.12.04
USB PD 용어 정리중  (0) 2024.12.03
USB-C PTN5110 케이블 방향에 따른 데이터 차이  (0) 2024.11.27
USB PD - DRP?  (0) 2024.11.25
TCPC, TCPM  (0) 2024.11.22
Posted by 구차니
회사일/BQ25703A2024. 12. 2. 18:00

RESET_REG랑 RESET_VINDPM을 둘다 set 하고 하니 VINDPM의 값이 변경되지 않는 현상이 발생함.

그냥 RESET_VINDPM 만 설정해주면 된다.

해당 값은 0x0B/0x0A 의 InputVoltage Register 값에 있는데

 

VBUS-1.28V 로 초기화 되는 값이라는데

반대로 보면.. 1.28V를 더해줘야 하냐.. 그게 아니라면 DC offset이 3.2V 니까(0x00) 일때 3.2V를 더해주는게 맞냐 좀 헷갈린다.

'회사일 > BQ25703A' 카테고리의 다른 글

bq40z50 충전 중단 조건  (0) 2025.12.04
bq25703A ICO 설정 차이  (0) 2025.10.28
bq25703A NVDC  (0) 2024.11.29
배터리 충전  (0) 2024.11.28
bq25703A i2c 읽기, 쓰기  (0) 2024.11.22
Posted by 구차니
회사일/BQ25703A2024. 11. 29. 12:34

Narrow의 의미를 모르겠어서 검색하는데 봐도 모르겠다

 

Narrow-VDC (NVDC) Power Path Management
– Instant-On With No Battery or Deeply Discharged Battery
– Battery Supplements System When Adapter is Fully-Loaded

8.4.1.1 System Voltage Regulation with Narrow VDC Architecture
The bq25703A employs Narrow VDC architecture (NVDC) with BATFET separating system from battery. The
minimum system voltage is set by MinSystemVoltage(). Even with a deeply depleted battery, the system is
regulated above the minimum system voltage.
When the battery is below minimum system voltage setting, the BATFET operates in linear mode (LDO mode).
As the battery voltage rises above the minimum system voltage, BATFET is fully on when charging or in
supplement mode and the voltage difference between the system and battery is the VDS of BATFET. System
voltage is regulated 160 mV above battery voltage when BATFET is off (no charging or no supplement current).

[링크 : https://www.ti.com/lit/ds/symlink/bq25703a.pdf]

 

대충 충전 모드/방전 모드 간의 전환이 빠르고, 소비전력이 적다라는건가?

Narrow VDC (NVDC) Battery Charger

This figure shows the Narrow VDC (NVDC) topology. Here, the system bus (Vsys) is not connected directly to the adapter. It is connected to the output of the buck converter. Hence, NVDC operates only as a buck converter, both when NVDC charges the battery and when the battery supplements the adapter and provides power to the system. NVDC implementation reduces the switch-over period between the charging mode and the hybrid power mode. NVDC implementation allows the system to minimize the period of overloading the input power source when CPU is in Turbo Boost mode.

The advantage of using the NVDC system is that the overall system efficiency is better compared to the Hybrid Power Boost (HPB) charger. The system can be designed for a smaller voltage rating since the system has a lower Vin. The disadvantage is that the charger components’ size and power dissipation increases.

[링크 : https://en-support.renesas.com/knowledgeBase/6680047]

'회사일 > BQ25703A' 카테고리의 다른 글

bq25703A ICO 설정 차이  (0) 2025.10.28
BQ25703A input voltage 갱신하기  (0) 2024.12.02
배터리 충전  (0) 2024.11.28
bq25703A i2c 읽기, 쓰기  (0) 2024.11.22
bq25703a 충전  (0) 2024.11.07
Posted by 구차니
회사일/BQ25703A2024. 11. 28. 11:00

CC mode(정전류 Constant Current) / CV(정전압 Constant Voltage) mode

[링크 : https://m.post.naver.com/viewer/postView.naver?volumeNo=32510484&memberNo=53051877]

 

배터리 스펙에 충전완료 전류라는게 있다.

충전시에 충전이 끝나는게 아니라 꾸준히 밀면(?) 들어가는데

그렇기에 gauge 쪽에서 해당 전류까지 떨어지는걸 측정하면 멈추던가

charging ic 쪽에서 넣는 전류가 떨어지는걸 측정하면 멈추던가 해야하나..

 

[링크 : https://www.mouser.com/datasheet/2/855/ASR00050_18650_2500mAh-3078640.pdf]

'회사일 > BQ25703A' 카테고리의 다른 글

bq25703A ICO 설정 차이  (0) 2025.10.28
BQ25703A input voltage 갱신하기  (0) 2024.12.02
bq25703A NVDC  (0) 2024.11.29
bq25703A i2c 읽기, 쓰기  (0) 2024.11.22
bq25703a 충전  (0) 2024.11.07
Posted by 구차니
회사일/USB PD2024. 11. 27. 12:47

데이터 시트 보고 대충 만든 녀석이라

하나하나의 의미는 모르겠는데..

REG_TCPC_CONTROL 에서 Plug Orientation 비트가 설정되고

REG_ROLE_CONTROL 에서 CC1과 CC2의 Rd / Open이 바뀌는 걸 확인할 수 있다

'회사일 > USB PD' 카테고리의 다른 글

linux kernel USB PD 관련 검색  (0) 2024.12.04
USB PD 용어 정리중  (0) 2024.12.03
USB PD SOP*?  (0) 2024.12.03
USB PD - DRP?  (0) 2024.11.25
TCPC, TCPM  (0) 2024.11.22
Posted by 구차니
회사일/USB PD2024. 11. 25. 11:53

USB는 Upstream 과 Downstream 으로 되는데

USB-C 되면서 양방향으로 작동하는게 추가된 듯 한데 그게 바로 DRP(Dual Role) 인 듯

그러니까.. DRP를 지원하면 충전할 수도 있고, 남을 위해 전기도 내어줄수 있...다?

DFP(Downstream Facing Port)는 호스트 또는 허브에 설치되고 장치에 연결되는 USB Type-C 포트입니다.
UFP(Upstream Facing Port)는 호스트 또는 허브에 연결된 USB Type-C 포트, 장치 또는 허브의 DFP입니다.
DRP(Dual Role Port, 이중 목적 전원 역할은 USB Type-C 포트에서 소스 또는 싱크 역할로 사용할 수 있는 정의입니다.

[링크 : https://www.seminet.co.kr/ti/micro_content.html?category=article&no=2105]

'회사일 > USB PD' 카테고리의 다른 글

linux kernel USB PD 관련 검색  (0) 2024.12.04
USB PD 용어 정리중  (0) 2024.12.03
USB PD SOP*?  (0) 2024.12.03
USB-C PTN5110 케이블 방향에 따른 데이터 차이  (0) 2024.11.27
TCPC, TCPM  (0) 2024.11.22
Posted by 구차니
회사일/USB PD2024. 11. 22. 17:20

데이터시트 보다가 이상한(?) 단어가 나오길래 검색

PTN5110 is a single-port TCPC compliant USB Power Delivery (PD) PHY IC that implements Type-C Configuration Channel (CC) interface and USB PD Physical layer functions to a Type-C Port Manager (TCPM) that handles PD Policy management

[링크 : https://www.nxp.com/docs/en/data-sheet/PTN5110.pdf]

 

USB Type-C Port Controller(TCPC)

[링크 : https://docs.zephyrproject.org/latest/hardware/peripherals/tcpc.html]

 

'회사일 > USB PD' 카테고리의 다른 글

linux kernel USB PD 관련 검색  (0) 2024.12.04
USB PD 용어 정리중  (0) 2024.12.03
USB PD SOP*?  (0) 2024.12.03
USB-C PTN5110 케이블 방향에 따른 데이터 차이  (0) 2024.11.27
USB PD - DRP?  (0) 2024.11.25
Posted by 구차니
회사일/BQ25703A2024. 11. 22. 14:57

데이터를 읽어 오는데 0x00 에서 2개를 읽으니, 0x00 / 0x01 두개 순서로 읽어오고 있었는데

읽어 보니.. POR 값이 E20E가 아니라 0EE2 가 나와서 먼가 이상한걸 깨닫고 해결..

I2C address = 01/00h 라고 되어 있는게 힌트였는데.. 그걸 알아 먹지 못하고

0x00 에서 2개 읽으면 아래와 같이 나올줄 알고 lsb와 msb의 순서를 반대로 했다가 2일을 까먹어 버렸..

 

아니.. 읽는 순서가 00 01 이면 데이터시트에서도

00, 01 로 적어줘야지 01/00h 라고 쓰고 바이트 순서 뒤집어 놓으면 알아 먹겠냐고 -_-!!

 

'회사일 > BQ25703A' 카테고리의 다른 글

bq25703A ICO 설정 차이  (0) 2025.10.28
BQ25703A input voltage 갱신하기  (0) 2024.12.02
bq25703A NVDC  (0) 2024.11.29
배터리 충전  (0) 2024.11.28
bq25703a 충전  (0) 2024.11.07
Posted by 구차니
회사일/전자부품2024. 11. 13. 21:27

ADS8598S
ACTIVE
18-Bit 200kSPS 8-Channel Simultaneous-Sampling ADC With Bipolar Inputs on a Single Supply

[링크 : https://www.ti.com/product/ADS8598S]

 

그나저나 설계상의 실수로 AVDD가 GND랑 연결되어서 아날로그 파트에 전원이 공급되지 않으면

읽을때 0으로 읽히던가 18bit 최대 값으로 읽혀야 할텐데

먼가 일정한 패턴으로 적당하게 읽히는 신기한 버그(?)를 가진 녀석

 

+

위에는 raw 데이터(18bit * 8ch)

아래는 18bit -> 24bit로 변환된 데이터

0 82
1 0F
2 20
3 85
4 48
5 1E
6 9E
7 07
8 C5
9 7E
10 E7
11 60
12 43
13 07
14 DF
15 BE
16 07
17 97
----conv
0 2083C
1 20854
2 207A7
3 207C5
4 1FB9D
5 20430
6 1F7EF
7 20797

'회사일 > 전자부품' 카테고리의 다른 글

ptn5110 usb-pd rdo 응답  (0) 2025.01.15
ad5292 wiper 값  (0) 2025.01.06
ad4111  (0) 2024.11.07
ad5292 write protect  (0) 2024.11.07
ad5291 shutdown mode  (0) 2024.09.26
Posted by 구차니