Skip to main content
thorsten-kopp
Associate II
June 10, 2009
Question

st7538 communication problem

  • June 10, 2009
  • 3 replies
  • 915 views
Posted on June 10, 2009 at 13:21

st7538 communication problem

This topic has been closed for replies.

3 replies

thorsten-kopp
Associate II
December 12, 2004
Posted on December 12, 2004 at 10:02

Hi,

I have got a problem with the communication between the ST7538P and the PIC16F877.

Everytime the first bit of the message which was received by the SPI Device is lost.

Example: message: 10101010 (spi_write(0b10101010);)

receiv. message: 01010100

My configurations are:

ST7538P: carrier protection with conditioning

PIC: SPI_Slave, SS disabled, CKP = 1, CKE = 0, SMP = 0

How knows the problem?

krapf
Associate
December 22, 2004
Posted on December 22, 2004 at 14:47

Hi,

I am using PIC also, but I never used SPI, I have full control over the communication, it was made only in software.

This is possible because the speed (baud rate) of the St7538 chip is slow enought.

I know this does not help, but at least you know that there is someone somewhere in Brasil that makes the chip works. :D

Rafael Krapf

BRASIL

kamejoko80
Visitor II
June 10, 2009
Posted on June 10, 2009 at 13:21

Hi Mr krapf,

I want to interface ST7538 with PIC 18F4550 microcontroller,

but I don't know where to start.

Could you please send me your source code?

My email is:

kamejoko80@yahoo.com