Legacy microcontrollers Forum Discussions
ペリフェラルマニュアル(タイマ編)のp.116に"Figure 3-6 アラーム割込み設定動作フロー"の説明がございます。
ここの(14)の時刻読み出し時にかかる時間の最大時間はどのくらいになりますでしょうか。
※PCLK2は16MHz、サブクロック32.768kHzの前提です。
以下の認識で良いでしょうか。(間違っていればご指摘ください)
■転送開始の前処理に、3 転送クロック、転送終了の後処理に 3 転送クロック、
■RTC のレジスタは 19 バイトのためデータ転送は 19 転送クロック 計:25転送クロック (1 転送クロックで 1 バイトのデータを転送)
■したがって、25 ÷ 16000000 = 0.0000015625[s] = 1.5625[µs]
よろしくお願いします。
Show Lessペリフェラルマニュアル(タイマ編)のp.116に"Figure 3-6 アラーム割込み設定動作フロー"の説明がございます。
(9)の「1秒割込み設定⇒割込み」は1秒経過後に(10)を行うという意図の記載でしょうか?(1秒の計り方はどのような方法でもよいのでしょうか)。それとも実際にRTCの1秒割込みを動作させる必要があるのでしょうか?
上記の質問が1秒の計り方はどのような方法でもよい場合、この1秒は何のためにある待ち時間なのでしょうか?
(アラーム関連のレジスタ設定待ち?それとも注意事項の割込み発生への対応?)
処理フローを実装上、(9)を境として実施するタイミング分けて行うことを検討しています。処理フローは連続して実施する必要があるか知りたいです。
よろしくお願いします。
Show Lessペリフェラルマニュアル(タイマ編)のp.116に"Figure 3-6 アラーム割込み設定動作フロー"の説明がございます。
ここの注意事項に、下記の記載がございます。
アラーム許可ビットのいずれかに 1 を書き込んだ場合、その直後に割込みが発生することがあるため、割込み後、リコール動作を行い、時刻を読み出し、年/月/日/時/分カウンタの値がアラーム(年/月/日/時/分)レジスタと一致しているかを確認してください。
これについて、2点質問です。
1) これはフロー上の(8)の直後に発生する認識ですが正しいでしょうか。もし誤っているのであれば、該当のタイミングを教えて下さい。
また、その割込みが発生するのは、(その他の割込みは発生しないとして)該当のタイミングから最大どのくらい遅れて発生するのか指標はありますでしょうか。
2) この割込みに関しては割り込みフラグのクリアのみを実施して割込み処理を終了すれば、アラーム一致した場合に再度割込みが入る認識です。こちらも認識正しいでしょうか。
よろしくお願いします。
Show LessHi,
We plan to use MB91F585AMH and need to write/read SW to internal flash.
I found the below download link, but there is not listed suitable tool for MB91F585AMH.
Please let me know download link of suitable tool for FR81S: MB91580M/S Series (MB91F585AMH) .
Best regards,
Show Less
I have one microcontroller : Infineon SAF-C167CR-LM. I need the software and hardware for program it. Could someone help me about this? I understand that it is obsolete. However, there are devices that use the microcontoller!
Show LessHi together,
we try to replace the obsolete controller MB/CY96F388USA (without subclock) by the MB/CY96F388UWA (with subclock). It seems the ...UWA is not EOL yet and due to certified software and hardware we can't just switch to another processor family. We know the ...UWA will also be discontinued soon, but it would bring us through a few last projects befor a redesign.
Is there any way to get a sample of this old processor? Can't find it at any distri.
Does one know if the for ...USA compiled software will run on an ...UWA or does it have to be recompiled? We don't use the I/O-pins at the USA that are used for the subclock at the UWA.
thanks
marten
Show Less
One of our old design solutions for cars, SAF-XC878CM-16FFI 5V AC parts, shows end of life on Mouser, but I can't find any information on infineon, can anyone tell me if it is still in production? Are there any replacement parts?
Show LessI'm trying to use the DAC example in PDL 2.0.2 to use with the FM4-216-Ethernet since there is no updated example, so I added the corresponding DAC.c and DAC.h files, along with the pdl_user.h that comes with the example, and when I tried to build the solution it get me this error:
..\..\..\..\Documents\Cypress\PDL\2.0.2\driver\dac\dac.h(53): error: #35: #error directive: "Don't enable DAC, as it is not available on this device"
I get this when I modify this line in pdl_user.h file:
// DAC
#define PDL_PERIPHERAL_ENABLE_DAC0 PDL_ON //--> changed from PDL_OFF to PDL_ON
I'm sure this device has DAC peripherals, so what could I be doing wrong?, the problem might be that I'm using an old library so it doesn't support the device I'm working with?
I'm using Keil uVision5 also I tried pulling the pdl_user.h and the DAC files from the PDL 2.0.2 and 2.1.0 none of this works
Show LessDear community members,
Do you know any crypto library or any posssible solution which can fit in XC2298 microcontroller?