HiRel/CanSat/Slave Sensors
(→Configuration) |
|||
(3 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{TOC right}} | {{TOC right}} | ||
Line 64: | Line 63: | ||
* 16 data bits | * 16 data bits | ||
− | The chip supports a | + | The chip supports a burt mode where the basic frame can be enlarged by multiples of 16 bits. |
== Configuration == | == Configuration == | ||
− | + | There is one configuration register for each of the 19 I/O port. | |
+ | The configuration registers are found at addresses 20<sub>h</sub> to 33<sub>h</sub>. | ||
+ | They are complemented by a DAC value each, at addresses 60<sub>h</sub> to 73<sub>h</sub>. | ||
+ | These DAC values can be used to set the logic levels. | ||
− | Digital | + | The 4 configuration register MSBs define the functionality of the port. Here some possible values: |
− | + | * 0 : high impedance | |
+ | * 1 : Digital input with programmable threshold | ||
+ | * 3 : digital output with DAC-controlled level | ||
+ | * 7: analog input to single-ended ADC | ||
+ | The configuration register LSBs provide parameters. | ||
− | Digital input ports, registers 2F, 31 and 33, are configured with value <code>1000<sub>h</sub></code>. | + | === ADCs === |
− | + | ||
+ | ADC ports, registers 20<sub>h</sub>, 21<sub>h</sub>, 23<sub>h</sub>, 25<sub>h</sub> and 27<sub>h</sub>, | ||
+ | are configured with value <code>7100<sub>h</sub></code>. | ||
+ | |||
+ | === Digital outputs === | ||
+ | |||
+ | Digital output ports, registers 29<sub>h</sub>, 2B<sub>h</sub> and 2D<sub>h</sub>, | ||
+ | are configured with value <code>3000<sub>h</sub></code>. | ||
+ | |||
+ | The output level is set by a DAC: for 3.3 V, registers 69<sub>h</sub>, 6B<sub>h</sub> and 6D<sub>h</sub> | ||
+ | are configured with value <code>0547<sub>h</sub></code>. | ||
+ | |||
+ | === Digital inputs === | ||
+ | |||
+ | Digital input ports, registers 2F<sub>h</sub>, 31<sub>h</sub> and 33<sub>h</sub>, | ||
+ | are configured with value <code>1000<sub>h</sub></code>. | ||
+ | |||
+ | The trigger level is set by a DAC: for 1.5 V, registers 6F<sub>h</sub>, 71<sub>h</sub> and 73<sub>h</sub> | ||
+ | are configured with value <code>0999<sub>h</sub></code>. | ||
[[Category:Master]] [[Category:HiRel]] [[Category:CanSat]] | [[Category:Master]] [[Category:HiRel]] [[Category:CanSat]] |
Latest revision as of 18:01, 3 March 2022
|
Type | CanSat Slave Sensor | Schematic | Description |
---|---|---|---|
V1.0 | 200px|CanSat Slave Sensor V1.0 | CanSat Slave Sensor v1.0 Schematic PDF |
Sensors
The sensors board comprises:
- a HIH-5030-001S humidity sensor
- a TC1046VNBTR temperature sensor
- a MPXH6115A6U pressure sensor
Mixed-Signal I/O
The analog inputs are digitized with the help of a 20-Port Programmable Mixed-Signal I/O MAX11300. The board pinout is compatible with the one of the MAX11300 evaluation board.
Connections
The MAX11300 I/O ports connections are provided in the following table:
Port | Signal | dir |
---|---|---|
0 | 3.3 V | in |
1 | 5 V | in |
3 | humidity | in |
5 | temperatire | in |
7 | pressure | in |
9 | LED 0 | out |
11 | LED 1 | out |
13 | LED 2 | out |
15 | button 0 | in |
17 | button 1 | in |
19 | button 2 | in |
The buttons close a circuit to the ground. The other 9 ports are routed to connector J2.
The digital power supply is 3.3 V. the analog supply is 5 V.
Communication
The basic SPI frame uses 24 bits:
- 7 address bits
- 1 read/write bit
- 16 data bits
The chip supports a burt mode where the basic frame can be enlarged by multiples of 16 bits.
Configuration
There is one configuration register for each of the 19 I/O port. The configuration registers are found at addresses 20h to 33h. They are complemented by a DAC value each, at addresses 60h to 73h. These DAC values can be used to set the logic levels.
The 4 configuration register MSBs define the functionality of the port. Here some possible values:
- 0 : high impedance
- 1 : Digital input with programmable threshold
- 3 : digital output with DAC-controlled level
- 7: analog input to single-ended ADC
The configuration register LSBs provide parameters.
ADCs
ADC ports, registers 20h, 21h, 23h, 25h and 27h,
are configured with value 7100h
.
Digital outputs
Digital output ports, registers 29h, 2Bh and 2Dh,
are configured with value 3000h
.
The output level is set by a DAC: for 3.3 V, registers 69h, 6Bh and 6Dh
are configured with value 0547h
.
Digital inputs
Digital input ports, registers 2Fh, 31h and 33h,
are configured with value 1000h
.
The trigger level is set by a DAC: for 1.5 V, registers 6Fh, 71h and 73h
are configured with value 0999h
.