about: XCORE-200, IO, the rising edge and the falling edge

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
User avatar
bear118
Active Member
Posts: 37
Joined: Wed Jan 09, 2019 10:57 am

about: XCORE-200, IO, the rising edge and the falling edge

Post by bear118 »

XCORE-200, How to set the IO port to sample data at the same time as the rising edge and the falling edge of the clock?
thx


User avatar
akp
XCore Expert
Posts: 578
Joined: Thu Nov 26, 2015 11:47 pm

Post by akp »

It sounds like you want to sample a pin on both falling and rising edge of the clock. I don't think that's possible with XCORE-200. If you could supply more information about your application someone clever might come up with a solution.
User avatar
bear118
Active Member
Posts: 37
Joined: Wed Jan 09, 2019 10:57 am

Post by bear118 »

akp wrote:It sounds like you want to sample a pin on both falling and rising edge of the clock. I don't think that's possible with XCORE-200. If you could supply more information about your application someone clever might come up with a solution.
For example:

PDM microphone, a 1bit port connected with 2dmic, They are left and right vocal tracts, respectively.

In order to obtain two microphone signals, both rising and falling edges need to be sampled simultaneously.

In addition, If XCORE-200 can't, which type of chip is OK?
thx
Post Reply