Skip to main content
Hwei.2
Associate
June 20, 2022
Solved

STM32L158VT6 related reference manual, where can I download it

  • June 20, 2022
  • 3 replies
  • 4057 views

How is PB0/PC5 mapped as serial port pins?

This topic has been closed for replies.
Best answer by Tesla DeLorean

Ok so STM32L158VDT6, a ten year old device, where PB0/PC5 are not associated with a U(S)ART on this or any L1 device.

So again perhaps some transposition, or software serial implementation, but a poor choice of pins even for that. Could perhaps use TIM3 to generate patterns.

A quick scan of some clone devices didn't yield any better fit.

If the use is intentional, perhaps a fishing exercise..

3 replies

Andrew Neil
Super User
June 20, 2022

Are you sure about that part number?

Doesn't seem to be a catalogue part:

0693W00000NsIeJQAV.png 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Tesla DeLorean
Guru
June 20, 2022

More likely someone dyslexically transcribing the part#

Would suggest trying to determine what the schematic's author meant to write, and find THAT part.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
June 20, 2022

Ok so STM32L158VDT6, a ten year old device, where PB0/PC5 are not associated with a U(S)ART on this or any L1 device.

So again perhaps some transposition, or software serial implementation, but a poor choice of pins even for that. Could perhaps use TIM3 to generate patterns.

A quick scan of some clone devices didn't yield any better fit.

If the use is intentional, perhaps a fishing exercise..

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Bubbles
ST Employee
June 20, 2022

Hi @Hwei.2​ ,

the product you are asking about was never in distribution for end customer. May I ask where you got your samples(s)?

BR,

J

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Hwei.2
Hwei.2Author
Associate
June 20, 2022

i'm in china.This is a schematic0693W00000NsIhIQAV.png

Bubbles
ST Employee
June 20, 2022

here is the datasheet. It should include the pin info you need.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Hwei.2
Hwei.2Author
Associate
June 20, 2022

This is the project file.