Hi
I am currently sending data between my PC and an ARM M4 Microcontroller via UART. I've defined my own protocol where each message looks like this:
[START_CHAR LEN TYPE SEQ DATA CRC
]
The START_CHAR and LEN fields help me determine when the data ends, after which I look up the TYPE (constant offset of 3) to figure out what data came in order to unpack it into a message class.
Now I'm looking into flatbuffers and it seems perfect except that I cannot encode the TYPE into the message without including it inside the actual message. Here is what I am trying to do:
namespace FlatMessage;
uint8 const TYPE = 50; // does not compile
table String {
value:string;
}
root_type String;
I could create an Enum but that is messy. Thank you!
Show Less
Hello,
My customer is asking some questions about FM Family Hardware Design(AN203277)
1) According to document on page22, TCK pin is pulldown by external 10kΩ but TCK pin is pullup default by Pull-up Setting Register (PCRx).
In case of JTAG connection, does it need external 10kΩ pulldown resistor on TCK pin?
2) According to document on page24/25, 2kΩ external resistor are used for pull-up/down on MD0/MD1 pin.
And according to datasheet(S6E2H Series) on page58, it is described as following.
"Design the printed circuit board such that the pull-up/down resistance stays low, as well as the distance between the mode pins and VCC pins or VSS pins is as short as possible and the connection impedance is low,"
What is the recommended resistance value for pull-up/down on MD0/MD1 pin? (2kΩ?)
Regards,
Tao_2199
Show LessHello,
MB96F356RSB microcontroller - with what and in what environment to program it?
I own several searches and would like to use them.
Maciej
Show Less
Hi
I have just update a PC from windows XP to Windows 10
I used Memtool version 1.7.9 via Labview 2015 and COMx to flash a C164 device.
This old version of Memtool is not working on Windows10 so I got a newer version 4.09.
But with this version I can't find the COMx when I serch for in labview!
Is it not possible to use COMx on Memtool anymore or ?
Thanks in advance
Bjarne Joergensen
你好,
我用的是cybt343026-01的蓝牙模块做的ibeacon的应用。客户要求该应用是基于Bluetooth 5.0实现。
我想问一下,如何确定我的这个应用是基于5.0还是4.2实现的
Hello,
According to FM3(CY9BF116RPMC-G) datasheet on page 72, all input capacitance other than VCC are typ5pF,max15pF.
When clock pin(X0,X0A,X1,X1A) are used, will input capacitance specification(especially the max value) of these pin be more lower?
Regards,
Tao_2199
Show LessHi, I'm using CY8C27443-24SXI as a replacement for the old CY8C26443-24PI microcontroller. I have used a adapter for the dip to soc pins and using the same software as the previous microcontroller but the replacement does not seem to work. I have checked electrical connections(no shorts) and the MCU is receiving 5V but there is no output, it's showing a 0V (usually it should be 4V). Is there anything I could try to make the replacement work with the same software or any debugging ideas? Thanks.
Show LessPDLを用いたアプリケーションノート(AN99218)でMFS機能を用いて
FIFOを使用したUART通信に関して質問があります。
(質問)
・受信割り込みを発生させるデータ数(FBYTE)の設定値を
デバッグ中に正しく設定できたかを確認する方法はありますか。
EWARMでのデバッグ中、FBYTEの設定時(初期化処理時)に
当該変数をウォッチしてみたのですが、FBYTEを書き換える処理を実施後も0x00のまま値が変化しません。
おそらくウォッチした時点でのFIFOに溜まったデータ数を表示していると推測していますが、このような
認識で合っているでしょうか。(アプリケーションノート6ページの図6)
その場合、FBYTEをウォッチする方法では正確にFBYTEを確認できないとなりますが、
たとえば以下は確認する方法として問題ないでしょうか。
『実際にいつかのバイト数を振ったデータを受信させて、
受信割り込みが意図したバイト数のときのみ発生するかを確認する(※)』
※受信FIFOアイドル検出禁止(FRIIE:0)にした上での評価を検討中。
(確認対象外の割り込み要因をなくすため)
またその他で良い方法があれば、アドバイスいただけると幸いです。
どうぞよろしくお願いいたします。
Show LessHi
Does anyone know where I can find the FM+ Configuration Tools software to download. I need it for configuring the USB device in the S6E1C31C0AGN20000.
The page at http://www.cypress.com/documentation/software-and-drivers/cypress-usb-wizard mentions the Configuration tool but there is no download link.
Alternatively, does anyone have example code for CDC and HID code for it.
Help will be appreciated.
Regards Chris
Show LessUser | Count |
---|---|
9 | |
6 | |
2 |