Hi Joel, Can you clarify whether the sampling rate is 1ksps (1ms between conversions) or 1Msps (1us between conversions). This isn't too clear to me. If 1Msps, what is the requirement to sample at that speed? => 1Msps (1µs, I mixed up the units earlier) comes from the specification The requirement is a scanning frequency of 1K Hz. Our hardware consists of a matrix with over 100 keys (e.g., 8x16). In the design, each scanning action requires reading the value of each key once to determine whether it is pressed or not. There is a 1ms interval between each group of scanning actions, and each scanning action requires more than 100 conversions (depending on the number of keys, with conversions performed sequentially across 8 pins) I'm also confused on why the inputs need to change from being set as digital outputs to analog inputs, and in what sequence this needs to occur. Is it Set Pin to GPO -> Set Pin to analog input -> capture conversion data? => Here’s a simple illustration: the green represents the pin for taking values, and the red represents the path to GND. When there are multiple keys, it’s necessary to determine the key pressed based on voltage division. Therefore, the pins that are not in use need to be set to ground. According to the documentation, this can be achieved by configuring the GPO and setting the output to 0. 3. Since this is a wireless product, there are power consumption constraints. Based on the current review of the spec, does the GPI not have any interrupt functionality? Thanks! Jeff
↧