Développez le tableau 4 Click
Développez le tableau 4 Click
Key Features
- Basé sur le TPCIC6A595, une puce qui combine un registre à décalage 8 bits en entrée série et sortie parallèle avec un registre de stockage de type D 8 bits de Texas Instruments
- Chaque sortie peut absorber 350 mA
- mikroBUS : interface SPI
Le Tableau Expand 4 Click™ est conçu comme un extenseur de port pour la connexion de périphériques haute puissance.
Il est basé sur le TPCIC6A595, une puce qui combine un registre à décalage 8 bits en entrée série et sortie parallèle avec un registre de stockage de type D 8 bits.
The Expand 4 Click Board™ is based on the TPCIC6A595, a chip that combines an 8-bit serial-in, parallel-out shift register with an 8-bit D-type storage register.
Data Output
Its intended for use as a port expander for connecting high-power peripherals. On the output side it has open-drain transistors with output ratings of 50V and 350mA (these are accessed through 8 pins above the mikroBUS socket (D0-D7) with corresponding GND pins on the other side.
Data Input
For data input, Expand 4 Click Board™ uses SPI. Additional pins include CLR IN (clear all input shift registers when held low), EN IN (sets all drain outputs to OFF when held high), and CS (provides the impulse for shifting the data from the shift to the storage register.).
Software Support
Application Task
This is an example that demonstrates the use of Expand 4 Click board. In this example, the LED pin mask is transferred via SPI bus, LEDs connected to D0-D7 pins are lit accordingly by turning ON LEDs from D0 to D7 for 3 sec. Results are being sent to the Usart Terminal where you can track their changes. All data logs on USB uart for approximately every 3 sec. when the change pin who is connected.
void application_task ( void )
{
uint8_t pin_position;
for ( pin_position = 0; pin_position < 8; pin_position++ )
{
expand4_disable_output( &expand4 );
Delay_ms( 100 );
expand4_turn_on_by_position( &expand4, pin_position );
Delay_ms( 100 );
log_printf( &logger, " D%d", pin_position );
expand4_enable_output( &expand4 );
Delay_ms( 3000 );
}
log_printf( &logger, "\n----------------------------------\n");
}
Software Support
Application Task
This is an example that demonstrates the use of Expand 4 Click board. In this example, the LED pin mask is transferred via SPI bus, LEDs connected to D0-D7 pins are lit accordingly by turning ON LEDs from D0 to D7 for 3 sec. Results are being sent to the Usart Terminal where you can track their changes. All data logs on USB uart for approximately every 3 sec. when the change pin who is connected.
void application_task ( void )
{
uint8_t pin_position;
for ( pin_position = 0; pin_position < 8; pin_position++ )
{
expand4_disable_output( &expand4 );
Delay_ms( 100 );
expand4_turn_on_by_position( &expand4, pin_position );
Delay_ms( 100 );
log_printf( &logger, " D%d", pin_position );
expand4_enable_output( &expand4 );
Delay_ms( 3000 );
}
log_printf( &logger, "\n----------------------------------\n");
}
Développez le tableau 4 Click
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.