| Moteur de recherche de fiches techniques de composants électroniques |
|
STV9937 Fiches technique(PDF) 42 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STV9937 Fiches technique(HTML) 42 Page - STMicroelectronics |
|
42 / 49 page ![]() Application Hints STV9937 42/49 10 Application Hints 10.1 Software Hints 10.1.1 Programming Recommendations 1. Write a new allocation just before the RAM reset. 2. Write a new allocation at any time but take care of the window display. 3. When resetting the RAM and writing in it just after, write in the RAM respecting the same order as the reset: from the first to the last reset window, from the first window address (row 0, col 0) to the last, incrementing columns, then rows, then windows. 4. Define the window horizontal size prior to writing character and color codes in RAM. HSWI is used to compute the RAM address. 10.1.2 Examples of Programming It is recommended to program the STV9937 in the following sequence: ● Via RGB Video mode ➺ set ENPB =1 ➺ send data via RGB Video: Y then X coordinates. ● Via I2C mode ➺ set ENPB =1, PBVM=1, PBON =0 ➺ send data via I2C: X and Y coordinates. ➺ set PBON =1 ● Changing the mode ➺ set PBON = 0 ➺ change PBVM bit ➺ write new coordinates, then the PBON can be set to 1. Hard reset at power-up (following a power-up) 1. Write Window 0 registers to set the OSD parameters: write ➺ VCO[1:0], horizontal resolution and vertical height of characters, ➺ the position of reference, ➺ the allocations if they are incorrect (by default: 320 characters for window 1, 128 characters for each of the others windows) ➺ the windows position and size, ➺ the color-boxes that will be used. 2. Write the character codes for each window to display. 3. Write the color-box data for each window to display. 4. Write the enable of windows: ENWi = 1 then ENOSD=1. Change of position & size of 1 window (ex. window 3) without disable of window 1. Write new position and sizes. 2. Write new characters in the RAM. |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |