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.
You can see that virtually all the open GPIO pins are being used for the 48 AINs (Shown in light Blue) .
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)
- pins listed as n/c
- SIO pins. On the PSoC5 this is port 12.
- Port 15 USB DM and DP pins (P15 and P15).
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).
TopDesign.cysch.zip 18.4 K
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
De: LePo_1062026 <firstname.lastname@example.org>
Enviado el: miércoles, 7 de octubre de 2020 16:29
Para: Elias Algaba, Jose Felix <email@example.com>
Asunto: Re: - PSOC 5LP: CY8C58LP, delta sigma adc configured for 16 to 20 bit, max number of reading channels?
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>
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.