Skip to content
Snippets Groups Projects
Commit be682374 authored by Paulus Kruger's avatar Paulus Kruger
Browse files

RCU2H gradual startup

parent 8781dfee
No related branches found
No related tags found
No related merge requests found
Pipeline #49601 passed
......@@ -738,7 +738,17 @@ methods:
instructions:
- RECVTR_I2C_error: 0
- RCU_PCB_version: Update
#Start with all off
- IO2.GPIO1: 0x00 #default is 1, so should be cleared before making output
- IO2.CONF1: 0x80 #Pgood on 0x80
- IO1.GPIO2: 0x00 #
- IO1.CONF2: 0 #
#Power on
- RCU_PWR_DIGITAL_on : 1 #switch on with delay
- RCU_PWR_ANALOG_on : 1 #switch on with delay
#Set registers to default values
# - IO1.POL1: 0
# - IO1.POL2: 0
# - IO2.POL1: 0
......@@ -759,7 +769,7 @@ methods:
- IO3.CONF1: 0
- IO3.CONF2: 0
- IO1.CONF1: 0
- IO1.CONF2: 0
# - IO1.CONF2: 0
- IO4.CONF1: 0xC0 #pin 0x40, 0x80 not used
- IO4.CONF2: 0xF8
- IO4.GPIO1: 0x2A #DAB switch states: 0x2A or 0x51
......@@ -777,8 +787,13 @@ methods:
- ADC3_on: 0
# - IO3.GPIO1: 0xD5 #DTH_EN=high -> ADCs disables
# - IO3.GPIO2: 0xC7 #
- WAIT: 100 #ms to wait
- RCU_ADC_shutdown : [1,1,1]
- WAIT: 100 #ms to wait
- RCU_ADC_shutdown : [1,1,0]
# - WAIT: 10 #ms to wait
- RCU_ADC_shutdown : [1,0,0]
# - WAIT: 10 #ms to wait
- RCU_ADC_shutdown : [0,0,0]
# - IO3.GPIO1: 0x15 #DTH_EN=low -> ADC enabled
# - IO3.GPIO2: 0x47
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment