ST意法半导体
直播中

苏笛笛

7年用户 180经验值
私信 关注
[问答]

STPM3x在UART模式下开启初始化的顺序是什么

关于STPM32 / 33/34 POR初始化存在一些矛盾:
'在POR之后,为了确保正确的初始化,它是执行DSP的复位

通过三个SYN脉冲通信外设(参见第67页的第8.6.1节)和
单个SCS脉冲,如下图所示。 SCS脉冲可以在或之前执行
在SYN脉冲之后,但复位前的最小启动时间(如表5中所示)
第17页)必须得到尊重。'DIDID026142 Rev 7(37/120)
'为了确保正确初始化DSP,它将执行全局复位

在启动时和设置配置位之前通过三个SYN脉冲。
DocID026142 Rev 7(68/120

但同时评估板STPM32V2可以工作在UART模式,在这种情况下根本没有SYN / SCS脉冲。
Qestions:
- 确保在纯UART模式下正确初始化的顺序是什么(仅限RXD / TXD),在这种情况下是否有任何限制?
- 是否存在可能影响正确初始化的硬件问题?

#stpm34 #stpmx#stpm32-reset#stpm3x#stpm32#stpm33

以上来自于谷歌翻译


以下为原文




There is some contradiction about STPM32/33/34 POR initialization:
'After POR, to ensure a correct initialization, it is to perform a reset of DSP and

communication peripherals through three SYN pulses (see Section 8.6.1 on page 67) and  
a single SCS pulse, as shown in the figure below. SCS pulse can be performed before or  
after SYN pulses, but minimum startup time before reset (as indicated in Table 5 on  
page 17) has to be respected.'DocID026142 Rev 7 (37/120)
'To ensure a correct initialization of DSP, it is  to perform a global reset

through three SYN pulses at startup and before setting configuration bits.'
DocID026142 Rev 7 (68/120
)

But at the same time evaluation board STPM32V2 can work in UART mode and no SYN/SCS pulsed at all in this case.

Qestions:

- What is the sequence to insure the correct initialization in pure UART mode (RXD/TXD only) and is there any limitations in this case?

- Is there any hardware issues that can affect the correct initialization?

#stpm34 #stpmx #stpm32-reset #stpm3x #stpm32 #stpm33

回帖(1)

李波

2018-10-16 14:35:40
嗨Alexander,
我发现了同样的问题。有关几份文件的信息是矛盾的。我将EN和SCS连接到3V3(未隔离),并将SYN打开。我在STPM32V2原理图中使用了一个Si8621隔离器,连接到威廉希尔官方网站 的隔离部分和CPU。当空闲和UART被选中时,STPM32不起作用,也不会像应有的那样将TXD引脚驱动为高电平。
接下来的尝试是:
- 像在STPM32V2原理图中一样在TXD上添加一个上拉电阻
- 将SYN连接到3V3
你有任何更新吗?

以上来自于谷歌翻译


以下为原文




Hi Alexander,
I found the same issue. Information on several documents is contradictory. I tied EN and SCS to 3V3 (not isolated), and left SYN open. I used a Si8621 isolator like in STPM32V2 schematic, to connect to the isolated part of the circuit and the CPU. The STPM32 doesn't work, and also doesn't drive high the TXD pin as it should be, when idle and UART selected.
Next tries are:
- add a pull-up on TXD like in the STPM32V2 schematic
- tie SYN to 3V3
Do you have any update?
举报

更多回帖

发帖
×
20
完善资料,
赚取积分