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

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
User avatar
bear118
Active Member
Posts: 35
Joined: Wed Jan 09, 2019 10:57 am

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

Postby bear118 » Tue Apr 02, 2019 7:08 am

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 Addict
Posts: 243
Joined: Thu Nov 26, 2015 11:47 pm

Postby akp » Tue Apr 02, 2019 9:34 am

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: 35
Joined: Wed Jan 09, 2019 10:57 am

Postby bear118 » Tue Apr 02, 2019 10:33 am

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

Who is online

Users browsing this forum: No registered users and 3 guests