Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Config SPI for shift registers

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Various
View previous topic :: View next topic  
Author Message
nmcelrath

Bascom Member



Joined: 01 May 2014
Posts: 1
Location: Ham Lake, MN

usa.gif
PostPosted: Thu Dec 28, 2023 4:12 pm    Post subject: Config SPI for shift registers Reply with quote

I am programming an ATMEGA32A. I am using shift registers to display on four seven segment LED displays.
The problem;

We used an NXP part NPIC6C595PW-Q100 for years and everything worked. This part went obsolete and we substituted the Texas Instruments part number TPIC6C595PWR. Now there is no display. I have tried all the changes to the Config SPI to no avail. Any suggestions or sample code would be greatly appreciated. Embarassed

_________________
N. McElrath
Back to top
View user's profile Visit poster's website
MWS

Bascom Member



Joined: 22 Aug 2009
Posts: 2262

blank.gif
PostPosted: Fri Dec 29, 2023 2:04 pm    Post subject: Re: Config SPI for shift registers Reply with quote

nmcelrath wrote:
I have tried all the changes to the Config SPI to no avail.

The internal schematics of the TI-part makes it look like a pin-compatible drop-in replacement for the Nexperia.
From this POV, one would expect no need for any change in config.

Timing may be something to think on, if one part happily swallows a razor's edge timing, the other won't.
To check this, a short and complete example code which successfully drives the Nexperia would be the way to go.
Back to top
View user's profile
programmista123

Bascom Member



Joined: 31 Jan 2018
Posts: 141

poland.gif
PostPosted: Fri Dec 29, 2023 7:46 pm    Post subject: Reply with quote

Hi,

1. Part from Nexperia has better ESD rating, Charged-Device Model and it is 1000 V according to AEC-Q100-011 rev.B. Part from TI has 200 V, unknown rev.
2. Are parts purchased directly from Ti or an authorized distributor?

Regards,
Przemek
Back to top
View user's profile
JC

Bascom Member



Joined: 15 Dec 2007
Posts: 586
Location: Cleveland, OH

usa.gif
PostPosted: Sun Dec 31, 2023 9:12 pm    Post subject: Reply with quote

I'll share a thought or two, although I will acknowledge that you have probably already consider them:

Are you using the same PCBs that you used with the original chip, or did that change, also, when you changed the power shift register chip?
i.e. Is there a new PCB with an error in the layout?

Did any of the other chips / parts change with this new revision, or are they from the same parts bins, (i.e. did someone swap a common anode / cathode display for a common cathode / anode display, etc.?).

If you are using the SOIC or TSSOP packages, are you sure that they are oriented on the PCB correctly?

What's your experience with bread boarding / prototyping?
(Can you put a new driver chip on a bread board with a single LED on each 8 outputs and write a simple "ripple flash" the LEDs test program?)

If that works, can you use a stripped-down version of your present code to test the chip & LEDs, but use the same config, inits, and output routines?

JC
Back to top
View user's profile Visit poster's website
Alexander-Dan

Bascom Member



Joined: 13 Mar 2014
Posts: 111
Location: S.Posad

russia.gif
PostPosted: Tue Jan 30, 2024 10:17 am    Post subject: Reply with quote

Hello
I have used all versions of these chips for a long time.

You were asked the right questions. I would like to see part of the circuit diagram of your device, where the pins of the microcircuits and their functions are indicated.
It will be useful for analysis to see a picture of your printed circuit board from your CAD design indicating the type of chip package.

Also, please tell me at what frequency does SPI operate in your program?
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Various All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum