Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable TP2825 color killer #466

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/driver/TP2825.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void TP2825_Config(int ch_sel, int is_pal) // ch_sel: 0=AV in; 1=Module bay
I2C_Write(ADDR_TP2825, 0x27, 0x2D);
I2C_Write(ADDR_TP2825, 0x28, 0xC5); //---
I2C_Write(ADDR_TP2825, 0x29, 0x18); //---
I2C_Write(ADDR_TP2825, 0x2A, 0xB0); //---
I2C_Write(ADDR_TP2825, 0x2A, 0x30); //[7] color killer (1/0: disabled/enable)
I2C_Write(ADDR_TP2825, 0x2B, 0x70);
I2C_Write(ADDR_TP2825, 0x2C, 0x1A);
I2C_Write(ADDR_TP2825, 0x2D, 0x60);
Expand Down Expand Up @@ -144,7 +144,7 @@ void TP2825_Config(int ch_sel, int is_pal) // ch_sel: 0=AV in; 1=Module bay
I2C_Write(ADDR_TP2825, 0x27, 0x2D);
I2C_Write(ADDR_TP2825, 0x28, 0xC5); //---
I2C_Write(ADDR_TP2825, 0x29, 0x18); //---
I2C_Write(ADDR_TP2825, 0x2A, 0xB0); //---
I2C_Write(ADDR_TP2825, 0x2A, 0x30); //[7] color killer (1/0: disabled/enable)
I2C_Write(ADDR_TP2825, 0x2B, 0x70);
I2C_Write(ADDR_TP2825, 0x2C, 0x1A);
I2C_Write(ADDR_TP2825, 0x2D, 0x68);
Expand Down Expand Up @@ -188,8 +188,7 @@ void TP2825_Config(int ch_sel, int is_pal) // ch_sel: 0=AV in; 1=Module bay

I2C_Write(ADDR_TP2825, 0x06, TP2825_REG06);

I2C_Write(ADDR_TP2825, 0x4E, 0x77); //inverse CLKO pin polarity

I2C_Write(ADDR_TP2825, 0x4E, 0x77); // inverse CLKO pin polarity
}

void TP2825_Switch_Mode(int is_pal) {
Expand Down
Loading