ST7FLITE20F1B6 STMicroelectronics, ST7FLITE20F1B6 Datasheet - Page 75

IC MCU 8BIT 8K FLASH 20-DIP

ST7FLITE20F1B6

Manufacturer Part Number
ST7FLITE20F1B6
Description
IC MCU 8BIT 8K FLASH 20-DIP
Manufacturer
STMicroelectronics
Series
ST7r
Datasheets

Specifications of ST7FLITE20F1B6

Core Processor
ST7
Core Size
8-Bit
Speed
8MHz
Connectivity
SPI
Peripherals
LVD, POR, PWM, WDT
Number Of I /o
15
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
384 x 8
Voltage - Supply (vcc/vdd)
2.4 V ~ 5.5 V
Data Converters
A/D 7x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
20-DIP (0.300", 7.62mm)
Processor Series
ST7FLITE2x
Core
ST7
Data Bus Width
8 bit
Development Tools By Supplier
ST7FLITE-SK/RAIS, ST7MDT10-DVP3, ST7MDT10-EMU3, STX-RLINK
For Use With
497-5858 - EVAL BOARD PLAYBACK ST7FLITE497-5517 - EVAL BOARD 1PHASE ENERGY METER497-5049 - KIT STARTER RAISONANCE ST7FLITE
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST7FLITE20F1B6
Manufacturer:
ST
0
/* Program Start */
#include "ST7lib_config.h"
#include "main.h"
void main(void);
void main(void)
{
unsigned char NbOfBytes_get = 10;
unsigned char NbOfBytes_put = 10;
unsigned char Rx_Data;
unsigned char Buff_Test[buf_size];
unsigned char Buff[buf_size] ={0x00,0x55,0xAA,0xFF,0x00,0x55,0xAA,0xFF,0x00,0x55};
SPI_TxErrCode_t Temp1= 0x00 ;
SPI_RxErrCode_t Temp2= 0x00 ;
SPI_Init((((unsigned char)SPI_DEFAULT | ((unsigned char)SPI_ENABLE|
EnableInterrupts
/*=========================================================================
=========================================================================*/
#ifdef SPI_POLLING_TX
SPI_PutByte (My_Data) ;
Temp1 = SPI_IsTransmitCompleted();
while ((!(User_Timeout_Function())) && (Temp1 != SPI_TRANSMIT_OK) )
{
}
if (!(User_Timeout_Function()))
{
}
switch(SPI_PutBuffer(Buff, (unsigned char)10))
{
Transmission through ‘Polling’ mode
Temp1 = SPI_IsTransmitCompleted() ;
switch (Temp1)
{
}
/* Transmission of 10 data bytes from user buffer */
case (SPI_TX_MODF + SPI_TX_WCOL):
/* Declaration of prototypes of user defined functions used in main.c */
((unsigned char)SPI_ENABLE_IT|((unsigned char)SPI_BAUDRATE_4|
((unsigned char)SPI_CLK_PP_0)))))), SPI_MSTR_SW );
/* SPI Initialised in master software mode,Serial peripheral output
/* Single byte data transmission */
case (SPI_TX_MODF + SPI_TX_WCOL):
case (SPI_TX_MODF):
case (SPI_TX_WCOL):
default:
enabled, Interrupt enabled, CPOL=0, CPHA=1 and baudrate is 2MHz */
User_Function();
break;
User_Function();
break;
/* Interrupt mask is reset for enabling interrupt */
/*List of all ST7 devices and communication mode */
/* If none of the above condition is met */
Function Descriptions
/* Error Management */
75/235

Related parts for ST7FLITE20F1B6