S6B0724 Sleep Mode и Standby Mode

Дисплеи, датчики и прочие функциональные узлы, управляемые МК.
Ответить
Потрогал лапой паяльник
Аватара пользователя
Сообщения: 394
Зарегистрирован: Сб апр 28, 2012 16:04:14

Сообщение sx386 »

Есть дисплей на контроллере S6B0724
Есть режимы: Sleep Mode и Standby Mode (стр. 49 даташита).

В этих режимах будет отображаться информация, находящаяся на дисплее !? Или он погаснет ?
Как войти в эти режимы ?
Критикуешь - предлагай. Предлагаешь - делай. Делаешь - отвечай.
Реклама
Друг Кота
Аватара пользователя
Сообщения: 20102
Зарегистрирован: Чт сен 18, 2008 12:27:21
Откуда: Столица Мира Санкт-Петербург

Сообщение Gudd-Head »

Там же написано
- Sleep Mode
This stops all operations in the LCD display system, and as long as there are no access from the MPU, the
consumption current is reduced to a value near the static current. The internal modes during sleep mode are
as follows:
a. The oscillator circuit and the LCD power supply circuit are halted.
b. All liquid crystal drive circuits are halted, and the segment in common drive outputs output a VSS level.
- Standby Mode
The duty LCD display system operations are halted and only the static drive system for the indicator
continues to operate, providing the minimum required consumption current for the static drive.
The internal modes are in the following states during standby mode.
a. The LCD power supply circuits are halted. The oscillator circuit continues to operate.
b. The duty drive system liquid crystal drive circuits are halted and the segment and common driver outputs
a VSS level. The static drive system does not operate.
When a reset command is performed while in standby mode, the system enters sleep mode.
[ Всё дело не столько в вашей глупости, сколько в моей гениальности ] [ Правильно заданный вопрос содержит в себе половину ответа ]
Реклама
Потрогал лапой паяльник
Аватара пользователя
Сообщения: 394
Зарегистрирован: Сб апр 28, 2012 16:04:14

Сообщение sx386 »

Моих знаний английского хватило только на то, чтобы понять что есть режимы Sleep Mode и Standby Mode.
Ещё из таблиц понял что потребление:
- Work Mode : < 60 мкА (у меня 46 мкА)
- Sleep Mode : < 2 мкА
- Standby Mode : < 10 мкА

Дисплей работает. Информацию выводит. Вот так я его инициализирую:

Код: Выделить всё

  
  lcd_send2 (lcd_bit2 (1,0,1,0,1,1,1,0), 0);  // display off
  lcd_send2 (lcd_bit2 (0,1,0,0,0,0,0,0), 0);  // Specify DDRAM line for COM0 
  lcd_send2 (lcd_bit2 (1,0,1,0,0,0,0,0), 0);  // Select SEG output direction | normal direction | SEG 0 ... SEG 131
	
  noop (1000);
 
  lcd_send2 (lcd_bit2 (0,0,0,1,0,0,0,0), 0);  // Set column address MSB | = 0
  lcd_send2 (lcd_bit2 (0,0,0,0,0,0,0,0), 0);  // Set column address LSB | = 0
  lcd_send2 (lcd_bit2 (1,0,1,0,0,0,1,0), 0);  // Reverse display OFF 
  lcd_send2 (lcd_bit2 (1,0,1,0,0,0,1,0), 0);  // Select LCD bias | ???
  lcd_send2 (lcd_bit2 (1,1,0,0,1,0,0,0), 0);  // Select COM output direction | reverse direction | COM 63 ... COM 0
 
  noop (1000);

 lcd_send2 (lcd_bit2 (0,0,1,0,1,1,0,0), 0);  // Control power circuit operation | ???
 noop (1000);
 lcd_send2 (lcd_bit2 (0,0,1,0,1,1,1,0), 0);  // Control power circuit operation | ???
 noop (1000); 
 lcd_send2 (lcd_bit2 (0,0,1,0,1,1,1,1), 0);  // Control power circuit operation | ???

  noop (1000);

  lcd_send2 (lcd_bit2 (0,0,1,0,0,0,1,0), 0); // Select internal resistance ratio of the regulator resistor
  lcd_send2 (lcd_bit2 (1,0,0,0,0,0,0,1), 0);  // Set reference voltage mode
  lcd_send2 (lcd_bit2 (0,0,1,0,1,0,0,0), 0);  // Set reference voltage register
  
  noop (1000);

  lcd_send2 (lcd_bit2 (1,0,1,0,1,1,1,1), 0); // display on
А вот с этим не могу разобраться:
В этих режимах будет отображаться информация, находящаяся на дисплее !? Или он погаснет ?

И особенно вот это: Как войти в эти режимы ?
Критикуешь - предлагай. Предлагаешь - делай. Делаешь - отвечай.
Потрогал лапой паяльник
Аватара пользователя
Сообщения: 394
Зарегистрирован: Сб апр 28, 2012 16:04:14

Сообщение sx386 »

Gudd-Head писал(а):Там же написано
- Sleep Mode
This stops all operations in the LCD display system, and as long as there are no access from the MPU, the
consumption current is reduced to a value near the static current. The internal modes during sleep mode are
as follows:
a. The oscillator circuit and the LCD power supply circuit are halted.
b. All liquid crystal drive circuits are halted, and the segment in common drive outputs output a VSS level.
- Standby Mode
The duty LCD display system operations are halted and only the static drive system for the indicator
continues to operate, providing the minimum required consumption current for the static drive.
The internal modes are in the following states during standby mode.
a. The LCD power supply circuits are halted. The oscillator circuit continues to operate.
b. The duty drive system liquid crystal drive circuits are halted and the segment and common driver outputs
a VSS level. The static drive system does not operate.
When a reset command is performed while in standby mode, the system enters sleep mode.
А на русском можешь обьяснить ?
Не могу понять....
Критикуешь - предлагай. Предлагаешь - делай. Делаешь - отвечай.
Реклама
Эиком - электронные компоненты и радиодетали
Ответить

Вернуться в «Периферия»