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

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

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

972 次查看
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 回复

831 次查看
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 项奖励
回复