PSOC 5LP: CY8C58LP, delta sigma adc configured for 16 to 20 bit, max number of reading channels?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
joel_4789771
Level 2
Level 2
5 sign-ins Welcome! First solution authored

Initially I defined to use a PSOC 6 (development kit including wifi+BLE) but I discovered that the ADC SAR has 12 bits of resolution. As I suppose this resolution is fixed, I was trying to discover other PSOC with a higher resolution and I found PSOC 5LP 58LP, which allows 8 to 20 bit delta-sigma ADC. Good, but I can not find clearly which is the number of analog channels to be read, and if I can have a kit having also capabilities for wifi+BLE. So these are my questions:

1/ max number of analog read channels for PSOC 5LP CY8C58LP (kit CY8CKIT-050). Any code example on how to route many analog channels to the ADC?.

2/ How could I expand CY8CKIT-050 with wifi+BLE capabilities

Thanks for the help.

0 Likes
1 Solution
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

Joel,

1/ max number of analog read channels for PSOC 5LP CY8C58LP (kit CY8CKIT-050). Any code example on how to route many analog channels to the ADC?.

The PSoC6 although a excellent part in it's own right is not as flexible for both Digital and Analog as is the PSoC5.

How many Analog inputs (AIN) do you need to read the ADC value?

Attached is a TopDesign using the PSoC5 using a 24 analog input AMux in differential mode (48 analog inputs) and a 20-bit DeltaSig ADC.

pastedImage_2.png

You can see that virtually all the open GPIO pins are being used for the 48 AINs (Shown in light Blue) .

pastedImage_3.png

Based on the PSoC5 used in the KIT-050, if you remove the LCD and the LED and disable debugging using the SWD, you can gain another 14 pins available for analog.

If you need, you can probably expand the AMuxSeq_1 to 32 AINs.  If needed, you can convert the AMuxSeq_1 and DeltaSig to Single-ended and essentially double your AINs.

The PSoC5's analog routing flexibility is very excellent.  Any GPIO pin can be used as an analog pin.  The pins not available as analog are:

  • Power-related pins (VDDD, VCCD, VDDA, VBAT, VDDIO0, VDDIO1, VDDIO2, VDDIO3 and IND)
  • GND pins (VSSD VSSA, VSSB)
  • XRES_N
  • pins listed as n/c
  • SIO pins.  On the PSoC5 this is port 12.
  • Port 15 USB DM and DP pins (P15[6] and P15[7]).

2/ How could I expand CY8CKIT-050 with wifi+BLE capabilities

The PSoC5 has no wifi or classic Bluetooth or BLE capabilities.  The KIT-050 has "Arduino compatible" interface headers.  This could allow you to add an WiFi/BLE Arduino shield.

Alternately, if you want, you can establish a comm interace connection between the KIT-050 and another Cypress WiFi/BLE board (CYPROTO-063-BLE for example).

Len

Len
"Engineering is an Art. The Art of Compromise."

View solution in original post

0 Likes
3 Replies
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

Joel,

1/ max number of analog read channels for PSOC 5LP CY8C58LP (kit CY8CKIT-050). Any code example on how to route many analog channels to the ADC?.

The PSoC6 although a excellent part in it's own right is not as flexible for both Digital and Analog as is the PSoC5.

How many Analog inputs (AIN) do you need to read the ADC value?

Attached is a TopDesign using the PSoC5 using a 24 analog input AMux in differential mode (48 analog inputs) and a 20-bit DeltaSig ADC.

pastedImage_2.png

You can see that virtually all the open GPIO pins are being used for the 48 AINs (Shown in light Blue) .

pastedImage_3.png

Based on the PSoC5 used in the KIT-050, if you remove the LCD and the LED and disable debugging using the SWD, you can gain another 14 pins available for analog.

If you need, you can probably expand the AMuxSeq_1 to 32 AINs.  If needed, you can convert the AMuxSeq_1 and DeltaSig to Single-ended and essentially double your AINs.

The PSoC5's analog routing flexibility is very excellent.  Any GPIO pin can be used as an analog pin.  The pins not available as analog are:

  • Power-related pins (VDDD, VCCD, VDDA, VBAT, VDDIO0, VDDIO1, VDDIO2, VDDIO3 and IND)
  • GND pins (VSSD VSSA, VSSB)
  • XRES_N
  • pins listed as n/c
  • SIO pins.  On the PSoC5 this is port 12.
  • Port 15 USB DM and DP pins (P15[6] and P15[7]).

2/ How could I expand CY8CKIT-050 with wifi+BLE capabilities

The PSoC5 has no wifi or classic Bluetooth or BLE capabilities.  The KIT-050 has "Arduino compatible" interface headers.  This could allow you to add an WiFi/BLE Arduino shield.

Alternately, if you want, you can establish a comm interace connection between the KIT-050 and another Cypress WiFi/BLE board (CYPROTO-063-BLE for example).

Len

Len
"Engineering is an Art. The Art of Compromise."
0 Likes

Good morning, and many thanks for your answers.

1/ this question is clearly answered

2/ if I understood right, CYPROTO-063-BLE contains a PSOC6 (with BLE capabilities) + KitProg2.

- So then, do I need to use an PSOC 6 to give connectivity to an PSOC 5 LP?. If so, could I use the PSOC 6 Wi-Fi/BT prototyping kit to give connectivity to CY8CKIT-050, usin gboth together?.

- Is there any other solution to give connectivity (preferred BLE +wifi) to PSOC 5 without using PSOC 6?. Any “isolated” Wi-Fi/BE module to connect CY8CKIT-050<https://protect2.fireeye.com/v1/url?k=7a584be0-24c64dff-7a5ccde4-86861b72af13-c05e894d136a814e&q=1&e=6b0ebb3c-d7c8-4ada-882e-a55af360aee8&u=https%3A%2F%2Fcommunity.cypress.com%2Fexternal-link.jspa%3Furl%3Dhttps%253A%252F%252Fwww.cypress.com%252F%253Frid%253D51577> ¿

Many thanks in advance

José Félix

De: LePo_1062026 <community-manager@cypress.com>

Enviado el: miércoles, 7 de octubre de 2020 16:29

Para: Elias Algaba, Jose Felix <elias.albaga@itpaero.com>

Asunto: Re: - PSOC 5LP: CY8C58LP, delta sigma adc configured for 16 to 20 bit, max number of reading channels?

<https://protect2.fireeye.com/v1/url?k=193800f2-47a606ed-193c86f6-86861b72af13-62e455afcac0a549&q=1&e=6b0ebb3c-d7c8-4ada-882e-a55af360aee8&u=http%3A%2F%2Fwww.cypress.com%2F>

Cypress Developer Community <https://protect2.fireeye.com/v1/url?k=5d077d54-03997b4b-5d03fb50-86861b72af13-14367026791a47a1&q=1&e=6b0ebb3c-d7c8-4ada-882e-a55af360aee8&u=https%3A%2F%2Fcommunity.cypress.com%2F%3Fet%3Dwatches.email.thread>

PSOC 5LP: CY8C58LP, delta sigma adc configured for 16 to 20 bit, max number of reading channels?

reply from LePo_1062026<https://protect2.fireeye.com/v1/url?k=ae9c0429-f0020236-ae98822d-86861b72af13-5c18294e86a06493&q=1&e=6b0ebb3c-d7c8-4ada-882e-a55af360aee8&u=https%3A%2F%2Fcommunity.cypress.com%2Fpeople%2FLePo_1062026%3Fet%3Dwatches.email.thread> in PSoC 5LP MCU - View the full discussion<https://protect2.fireeye.com/v1/url?k=fa46fec2-a4d8f8dd-fa4278c6-86861b72af13-b8809e4148f70ea2&q=1&e=6b0ebb3c-d7c8-4ada-882e-a55af360aee8&u=https%3A%2F%2Fcommunity.cypress.com%2Fmessage%2F252674%3Fet%3Dwatches.email.thread%23252674>

0 Likes

José,

As I indicated in my previous post, you can use other Wi-Fi BLE products such as those available for the Arduino or other architectures.  I've seen Silicon Labs products that just need a simple serial comm connection to invoke WiFi or BLE access.

Either way, since both the WiFi and the BLE features are complex HW and SW, there is going to be an embedded CPU to handle the HW and the stacks.

If you are looking to stay in the Cypress kit eco-system, the CYPROTO-063-BLE has BLE-only.   The CYPROTO-062-4343W has WiFi and classic Bluetooth and BLE.

Len

Len
"Engineering is an Art. The Art of Compromise."
0 Likes