Whats the best way to check for power off cycle in lpc13xx

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Whats the best way to check for power off cycle in lpc13xx

956件の閲覧回数
jldesigns
Contributor I

I have a project using lpc1343 and fm25l04 (an spi based FRAM memory). To keep the data safe during power off cycle its best to keep the CS signal high. Is there any routine in uC to invoke interrupt, when voltage goes below a certain threshold (e.g. 2.8V) ?

ラベル(4)
0 件の賞賛
返信
1 返信

815件の閲覧回数
mikesimmonds
Contributor III

Check the user manual for BOD (brown out detection).

E.g. section 3.5.35 in UM10375.

Obviously, you code the specific details yourself.

It may vary slightly for specific 1300 family members, but that is the manual for the LPC1343.

However, it is better (IMNSHO) to have a pull up on the CS line in the hardware design in the first place.

Hope that helps, Mike.

0 件の賞賛
返信