Jan 17, 2023
01:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 17, 2023
01:16 AM
リセット中、およびリセット解除時のピン状態について、記載されている資料はありますでしょうか。
PDRレジスタは初期値が不定となっていますが、これがリセット中も解除直後も適用される、という認識で正しいでしょうか。
対象デバイス(知りたいデバイス)はCY90F481と488です。90480シリーズと485シリーズで異なる場合はそれもご指摘ください。
よろしくお願いします。
Labels
- Labels:
-
Legacy Microcontrollers
2 Replies
Jan 17, 2023
07:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 17, 2023
07:08 AM
I think the Hardware Manual for your MCU variant is the place to look for.
The reset value is usually specified at the description of the specific register. Here an example from the MB90895 Hardware Manual :
For some reason, this MCU (MB90895) does not initialize the PDR registers either.
This should have no effect at startup, because the related DDR register is cleared, and the pin is initialized as input.
You only need to initialize PDR before setting DDR to output in your application to avoid undesired effects.
Jan 24, 2023
10:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 24, 2023
10:01 PM
本件、おわかりになる方どなたかご対応いただけませんでしょうか。
よろしくお願い致します。