HCS12XEP100/SPI. Is pull up on MISO necessary?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

HCS12XEP100/SPI. Is pull up on MISO necessary?

1,912 次查看
AndersJ
Contributor IV

It seems that the cpu has a internal pull up on the MISO.

 

Is this true?

If true:

* Is it  safe to assume external pullup is not needed?

* Is this documented anywhere?

 

Anders J

标签 (1)
0 项奖励
回复
2 回复数

1,144 次查看
kef
Specialist I

Which port is your MISO coming from? MISOs can found on ports P, M, S and H. Ports P and S have pullups enabled out of reset. M and H not. See corresponding pull device enable register description (PERP, PERM, PERS, PERH).

Table 1-10 summarises if and how each pin is pulled out of reset.

0 项奖励
回复

1,144 次查看
AndersJ
Contributor IV

I did not realize that the pull ups enabled from reset stayed that way after setting up the port for SPI.

I incorrectly assumed that the setup available before configuring för SPI would be changed to "SPI-mode".

 

My first SPI uses port S, and seems to have a pullup, which you have now confirmed.

My second SPI is on port H, and has no pullup.

 

Is it a reasonably safe assumption that that pullups, drive capabilty and other configured port parameters

will remain unchanged regardless of which internal I/O module the port later is configured for?

 

Anders J

 

 

 

 

 

0 项奖励
回复